Class CollectionAccessForm
java.lang.Object
org.apache.struts.action.ActionForm
org.dlese.dpc.schemedit.security.action.form.CollectionAccessForm
- All Implemented Interfaces:
Serializable
public final class CollectionAccessForm
extends org.apache.struts.action.ActionForm
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getCrs()booleangetRole()getRoles()getSet()getSets()Gets the sets configured in the RepositoryManager.Gets the sortSetsBy attribute of the RepositoryAdminForm objectgetUserRoles(String username) Create a representation of the user's roleMap, only using collection NAMES for the key, and a RoleBean (collection, role) for the map's values.getUsers()voidreset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request) voidsetCollection(String collection) voidvoidsetCollectionOptions(List options) voidsetCollectionRoles(List list) voidsetCollections(List options) voidvoidsetManagableUsers(List userList) voidsetNewRole(boolean newRole) voidvoidsetRoleOptions(List options) voidvoidvoidSets the sets attribute of the RepositoryAdminForm object.voidsetSortSetsBy(String sortSetsBy) Sets the sortSetsBy attribute of the RepositoryAdminForm objectvoidsetUsername(String username) voidorg.apache.struts.action.ActionErrorsvalidate(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request) Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
-
Field Details
-
managableUsers
-
-
Constructor Details
-
CollectionAccessForm
public CollectionAccessForm()
-
-
Method Details
-
reset
- Overrides:
resetin classorg.apache.struts.action.ActionForm
-
getSet
-
setSet
-
getSets
Gets the sets configured in the RepositoryManager. Overloaded method from RepositoryForm.- Returns:
- The sets value
-
setSets
Sets the sets attribute of the RepositoryAdminForm object. The set items are instances ofDcsSetInfo.- Parameters:
setInfoSets- The new sets value
-
getManagableUsers
-
setManagableUsers
-
getSortSetsBy
Gets the sortSetsBy attribute of the RepositoryAdminForm object- Returns:
- The sortSetsBy value
-
setSortSetsBy
Sets the sortSetsBy attribute of the RepositoryAdminForm object- Parameters:
sortSetsBy- The new sortSetsBy value
-
getUserRoles
Create a representation of the user's roleMap, only using collection NAMES for the key, and a RoleBean (collection, role) for the map's values. -
getCollectionRoles
-
setCollectionRoles
-
getCollectionAccessMap
-
setCollectionAccessMap
-
getUsers
-
setUsers
-
getUsername
-
setUsername
-
getNewRole
public boolean getNewRole() -
setNewRole
public void setNewRole(boolean newRole) -
getCollection
-
setCollection
-
getCollectionOptions
-
setCollectionOptions
-
getCollections
-
setCollections
-
getRole
-
setRole
-
getRoles
-
setRoles
-
getRoleOptions
-
setRoleOptions
-
getCrs
-
setCrs
-
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request) - Overrides:
validatein classorg.apache.struts.action.ActionForm
-