Class UserAccountsPage
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.controller.AbstractPageHandler
-
- edu.cornell.mannlib.vitro.webapp.controller.accounts.UserAccountsPage
-
- Direct Known Subclasses:
UserAccountsAddPage,UserAccountsAddPageStrategy,UserAccountsDeleter,UserAccountsEditPage,UserAccountsEditPageStrategy,UserAccountsFirstTimeExternalPage,UserAccountsFirstTimeExternalPageStrategy,UserAccountsListPage,UserAccountsMyAccountPage,UserAccountsMyAccountPageStrategy,UserAccountsPasswordBasePage
public abstract class UserAccountsPage extends AbstractPageHandler
Common routines for the page controllers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserAccountsPage.ProfileInfo-
Nested classes/interfaces inherited from class edu.cornell.mannlib.vitro.webapp.controller.AbstractPageHandler
AbstractPageHandler.InvalidParametersException, AbstractPageHandler.Message
-
-
Field Summary
Fields Modifier and Type Field Description protected static intDAYS_TO_USE_PASSWORD_LINKAfter the account is created, or the password is reset, the user has this many days to repond to the email.-
Fields inherited from class edu.cornell.mannlib.vitro.webapp.controller.AbstractPageHandler
ctx, dpsDao, i18n, indDao, opsDao, unionModel, userAccountsDao, userAccountsModel, vclassDao, vreq
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserAccountsPage(VitroRequest vreq)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<PermissionSet>buildListOfSelectableRoles()Create a list of all known non-public PermissionSets.protected UserAccountsPage.ProfileInfobuildProfileInfo(String uri)protected SortedMap<String,String>buildProfileTypesList()Create a list of possible profile types.protected Map<String,String>buildUrlsMap()Make these URLs available to all of the pages.protected booleancheckPasswordLength(String pw)protected static StringeditAccountUrl(String uri)protected DatefigureExpirationDate()protected StringgetSiteName()protected booleanisEmailEnabled()-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.controller.AbstractPageHandler
applyMessage, getIntegerParameter, getStringParameter, getStringParameters, isFlagOnRequest, isParameterAsExpected
-
-
-
-
Field Detail
-
DAYS_TO_USE_PASSWORD_LINK
protected static final int DAYS_TO_USE_PASSWORD_LINK
After the account is created, or the password is reset, the user has this many days to repond to the email.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UserAccountsPage
protected UserAccountsPage(VitroRequest vreq)
-
-
Method Detail
-
isEmailEnabled
protected boolean isEmailEnabled()
-
buildListOfSelectableRoles
protected List<PermissionSet> buildListOfSelectableRoles()
Create a list of all known non-public PermissionSets.
-
buildProfileTypesList
protected SortedMap<String,String> buildProfileTypesList()
Create a list of possible profile types. TODO Right now, these are foaf:Person and it's sub-classes. What will it be for Vitro?
-
buildUrlsMap
protected Map<String,String> buildUrlsMap()
Make these URLs available to all of the pages.
-
figureExpirationDate
protected Date figureExpirationDate()
-
checkPasswordLength
protected boolean checkPasswordLength(String pw)
-
getSiteName
protected String getSiteName()
-
buildProfileInfo
protected UserAccountsPage.ProfileInfo buildProfileInfo(String uri)
-
-