package net.sourceforge.fenixedu.applicationTier; import java.util.Collection; import net.sourceforge.fenixedu.domain.Person; import net.sourceforge.fenixedu.domain.person.RoleType; import net.sourceforge.fenixedu.injectionCode.AccessControl; import org.joda.time.DateTime; import com.linkare.commons.metainfo.Linkare; /** * This class was implemented to enable the AccessControl code to react without * the need of a void access control code. This will eventually be replaced by a * void access control code being implemented with Paulo Zenida's ZAS framework. * * @see AccessControl * * @author jpereira - Linkare TI * */ @Linkare(author = "José Pereira") public class SuperAdminUserView implements IUserView { private static final long serialVersionUID = -1413047836212342257L; public DateTime getExpirationDate() { return null; } public String getFullName() { return null; } public Person getPerson() { return null; } public String getPrivateConstantForDigestCalculation() { return null; } public Collection getRoleTypes() { return null; } public String getUtilizador() { return null; } public boolean hasRoleType(RoleType roleType) { return true; } public boolean isPublicRequester() { return false; } @Override public DateTime getLastLogoutDateTime() { return null; } @Override public DateTime getUserCreationDateTime() { return null; } @Override public String getUsername() { return null; } @Override public boolean hasRole(String arg0) { return false; } }