DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.action.form
Class DCSBrowseForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.dlese.dpc.schemedit.action.form.DCSBrowseForm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CollectionServicesForm

public class DCSBrowseForm
extends org.apache.struts.action.ActionForm
implements Serializable

Supports the collection browser of the DCS. This class works in conjunction with DCSBrowseAction.

Author:
Jonathan Ostwald
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
DCSBrowseForm()
          Constructor for the DCSBrowseForm object
 
Method Summary
 String getContextURL()
          Gets the contextURL attribute of the DCSBrowseForm object
 int getNumDocs()
           
 List getSets()
          Gets the sets configured in the RepositoryManager.
 String getSortSpec()
          Gets the sortSpec attribute of the RepositoryAdminForm object
 Map getUserRoles()
           
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          DESCRIPTION
 void setContextURL(String contextURL)
          Sets the contextURL attribute of the DCSBrowseForm object
static void setDebug(boolean db)
          Sets the debug attribute of the object
 void setNumDocs(int num)
           
 void setRequest(HttpServletRequest request)
          Sets the request attribute of the DCSBrowseForm object.
 void setSets(List setInfoSets)
          Sets the sets attribute of the RepositoryAdminForm object.
 void setSortSpec(String sortSpec)
          Sets the sortSpec attribute of the RepositoryAdminForm object
 void setUserRoles(Map roleMap)
           
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DCSBrowseForm

public DCSBrowseForm()
Constructor for the DCSBrowseForm object

Method Detail

getNumDocs

public int getNumDocs()

setNumDocs

public void setNumDocs(int num)

getContextURL

public String getContextURL()
Gets the contextURL attribute of the DCSBrowseForm object

Returns:
The contextURL value

setContextURL

public void setContextURL(String contextURL)
Sets the contextURL attribute of the DCSBrowseForm object

Parameters:
contextURL - The new contextURL value

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

getUserRoles

public Map getUserRoles()

setUserRoles

public void setUserRoles(Map roleMap)

getSortSpec

public String getSortSpec()
Gets the sortSpec attribute of the RepositoryAdminForm object

Returns:
The sortSpec value

setSortSpec

public void setSortSpec(String sortSpec)
Sets the sortSpec attribute of the RepositoryAdminForm object

Parameters:
sortSpec - The new sortSpec value

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  HttpServletRequest request)
DESCRIPTION

Overrides:
reset in class org.apache.struts.action.ActionForm
Parameters:
mapping - DESCRIPTION
request - DESCRIPTION

setRequest

public void setRequest(HttpServletRequest request)
Sets the request attribute of the DCSBrowseForm object.

Parameters:
request - The new request value

setDebug

public static void setDebug(boolean db)
Sets the debug attribute of the object

Parameters:
db - The new debug value

DLESE Tools
v1.6.0