org.dlese.dpc.schemedit.security.action.form
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:
- Serialized Form
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
managableUsers
public List managableUsers
CollectionAccessForm
public CollectionAccessForm()
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
- Overrides:
reset
in class org.apache.struts.action.ActionForm
getSet
public SetInfo getSet()
setSet
public void setSet(SetInfo set)
getSets
public List getSets()
- Gets the sets configured in the RepositoryManager. Overloaded method from
RepositoryForm.
- Returns:
- The sets value
setSets
public void setSets(List setInfoSets)
- Sets the sets attribute of the RepositoryAdminForm object. The set items
are instances of
DcsSetInfo
.
- Parameters:
setInfoSets
- The new sets value
getManagableUsers
public List getManagableUsers()
setManagableUsers
public void setManagableUsers(List userList)
getSortSetsBy
public String getSortSetsBy()
- Gets the sortSetsBy attribute of the RepositoryAdminForm object
- Returns:
- The sortSetsBy value
setSortSetsBy
public void setSortSetsBy(String sortSetsBy)
- Sets the sortSetsBy attribute of the RepositoryAdminForm object
- Parameters:
sortSetsBy
- The new sortSetsBy value
getUserRoles
public Map getUserRoles(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.
getCollectionRoles
public List getCollectionRoles()
setCollectionRoles
public void setCollectionRoles(List list)
getCollectionAccessMap
public Map getCollectionAccessMap()
setCollectionAccessMap
public void setCollectionAccessMap(Map map)
getUsers
public List getUsers()
setUsers
public void setUsers(List users)
getUsername
public String getUsername()
setUsername
public void setUsername(String username)
getNewRole
public boolean getNewRole()
setNewRole
public void setNewRole(boolean newRole)
getCollection
public String getCollection()
setCollection
public void setCollection(String collection)
getCollectionOptions
public List getCollectionOptions()
setCollectionOptions
public void setCollectionOptions(List options)
getCollections
public List getCollections()
setCollections
public void setCollections(List options)
getRole
public String getRole()
setRole
public void setRole(String role)
getRoles
public Map getRoles()
setRoles
public void setRoles(Map roles)
getRoleOptions
public List getRoleOptions()
setRoleOptions
public void setRoleOptions(List options)
getCrs
public String[] getCrs()
setCrs
public void setCrs(String[] crs)
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
- Overrides:
validate
in class org.apache.struts.action.ActionForm