public final class CollectionAccessForm
extends org.apache.struts.action.ActionForm
Modifier and Type | Class and Description |
---|---|
class |
CollectionAccessForm.RoleBean |
Modifier and Type | Field and Description |
---|---|
java.util.List |
managableUsers |
Constructor and Description |
---|
CollectionAccessForm() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollection() |
java.util.Map |
getCollectionAccessMap() |
java.util.List |
getCollectionOptions() |
java.util.List |
getCollectionRoles() |
java.util.List |
getCollections() |
java.lang.String[] |
getCrs() |
java.util.List |
getManagableUsers() |
boolean |
getNewRole() |
java.lang.String |
getRole() |
java.util.List |
getRoleOptions() |
java.util.Map |
getRoles() |
SetInfo |
getSet() |
java.util.List |
getSets()
Gets the sets configured in the RepositoryManager.
|
java.lang.String |
getSortSetsBy()
Gets the sortSetsBy attribute of the RepositoryAdminForm object
|
java.lang.String |
getUsername() |
java.util.Map |
getUserRoles(java.lang.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.
|
java.util.List |
getUsers() |
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request) |
void |
setCollection(java.lang.String collection) |
void |
setCollectionAccessMap(java.util.Map map) |
void |
setCollectionOptions(java.util.List options) |
void |
setCollectionRoles(java.util.List list) |
void |
setCollections(java.util.List options) |
void |
setCrs(java.lang.String[] crs) |
void |
setManagableUsers(java.util.List userList) |
void |
setNewRole(boolean newRole) |
void |
setRole(java.lang.String role) |
void |
setRoleOptions(java.util.List options) |
void |
setRoles(java.util.Map roles) |
void |
setSet(SetInfo set) |
void |
setSets(java.util.List setInfoSets)
Sets the sets attribute of the RepositoryAdminForm object.
|
void |
setSortSetsBy(java.lang.String sortSetsBy)
Sets the sortSetsBy attribute of the RepositoryAdminForm object
|
void |
setUsername(java.lang.String username) |
void |
setUsers(java.util.List users) |
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request) |
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
reset
in class org.apache.struts.action.ActionForm
public SetInfo getSet()
public void setSet(SetInfo set)
public java.util.List getSets()
public void setSets(java.util.List setInfoSets)
DcsSetInfo
.setInfoSets
- The new sets valuepublic java.util.List getManagableUsers()
public void setManagableUsers(java.util.List userList)
public java.lang.String getSortSetsBy()
public void setSortSetsBy(java.lang.String sortSetsBy)
sortSetsBy
- The new sortSetsBy valuepublic java.util.Map getUserRoles(java.lang.String username)
public java.util.List getCollectionRoles()
public void setCollectionRoles(java.util.List list)
public java.util.Map getCollectionAccessMap()
public void setCollectionAccessMap(java.util.Map map)
public java.util.List getUsers()
public void setUsers(java.util.List users)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public boolean getNewRole()
public void setNewRole(boolean newRole)
public java.lang.String getCollection()
public void setCollection(java.lang.String collection)
public java.util.List getCollectionOptions()
public void setCollectionOptions(java.util.List options)
public java.util.List getCollections()
public void setCollections(java.util.List options)
public java.lang.String getRole()
public void setRole(java.lang.String role)
public java.util.Map getRoles()
public void setRoles(java.util.Map roles)
public java.util.List getRoleOptions()
public void setRoleOptions(java.util.List options)
public java.lang.String[] getCrs()
public void setCrs(java.lang.String[] crs)
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
validate
in class org.apache.struts.action.ActionForm