DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.security.action.form
Class CollectionAccessForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by 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

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

Field Detail

managableUsers

public List managableUsers
Constructor Detail

CollectionAccessForm

public CollectionAccessForm()
Method Detail

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

DLESE Tools
v1.6.0