package net.sourceforge.fenixedu.domain.accessControl; import java.util.Set; import net.sourceforge.fenixedu.applicationTier.IUserView; import net.sourceforge.fenixedu.domain.Person; import net.sourceforge.fenixedu.domain.accessControl.groups.language.Argument; /** * A group that contains no one. * * @author cfgi */ public class NoOneGroup extends LeafGroup { /** * Serialization id. */ private static final long serialVersionUID = 1L; @Override public Set getElements() { return super.buildSet(); } @Override protected Argument[] getExpressionArguments() { return new Argument[0]; } /** * @return false */ @Override public boolean allows(IUserView userView) { return false; } /** * @return false */ @Override public boolean isMember(Person person) { return false; } }