|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.Action org.dlese.dpc.schemedit.action.DCSAction org.dlese.dpc.schemedit.action.CreateRecordAction org.dlese.dpc.schemedit.action.CreateADNRecordAction
public class CreateADNRecordAction
A Struts Action controlling interaction during creation of ADN records in the DCS.
Ensures that new records have unique ID's across their collection. Works in
conjunction with CreateADNRecordForm
.
Field Summary |
---|
Fields inherited from class org.dlese.dpc.schemedit.action.DCSAction |
---|
accessManager, collectionRegistry, dcsDataManager, frameworkRegistry, ndrServiceEnabled, repositoryManager, repositoryService, requiredRole, sessionRegistry, userManager |
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
CreateADNRecordAction()
|
Method Summary | |
---|---|
protected org.apache.struts.action.ActionForward |
getConfirmForward(org.apache.struts.action.ActionMapping mapping,
CreateADNRecordForm carForm,
HttpServletRequest request,
HttpServletResponse response)
Gets the confirmForward attribute of the CreateADNRecordAction object |
protected org.apache.struts.action.ActionForward |
getCreateForward(org.apache.struts.action.ActionMapping mapping)
Gets the createForward attribute of the CreateADNRecordAction object |
protected String |
getXmlFormat()
Gets the xmlFormat attribute of the CreateADNRecordAction object |
protected Document |
makeRecordDoc(CreateADNRecordForm carForm,
MetaDataFramework framework,
org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request,
HttpServletResponse response)
Create an empty collection metadata document and populate from ActionForm (carForm). |
static void |
setDebug(boolean isDebugOutput)
Sets the debug attribute of the CreateADNRecordAction class |
protected org.apache.struts.action.ActionErrors |
validateForm(HttpServletRequest request,
CreateADNRecordForm carForm,
MetaDataFramework adnFramework)
Validate the input from user. |
Methods inherited from class org.dlese.dpc.schemedit.action.CreateRecordAction |
---|
execute, handleSubmit |
Methods inherited from class org.dlese.dpc.schemedit.action.DCSAction |
---|
getMetaDataFramework, getRequiredContextAttributeValue, getSessionBean, getSessionUser, getSessionUser, getSessionUserName, initializeFromContext |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CreateADNRecordAction()
Method Detail |
---|
protected String getXmlFormat()
getXmlFormat
in class CreateRecordAction
protected org.apache.struts.action.ActionForward getCreateForward(org.apache.struts.action.ActionMapping mapping)
getCreateForward
in class CreateRecordAction
mapping
- NOT YET DOCUMENTED
protected org.apache.struts.action.ActionForward getConfirmForward(org.apache.struts.action.ActionMapping mapping, CreateADNRecordForm carForm, HttpServletRequest request, HttpServletResponse response)
getConfirmForward
in class CreateRecordAction
mapping
- NOT YET DOCUMENTEDcarForm
- NOT YET DOCUMENTEDrequest
- NOT YET DOCUMENTEDresponse
- NOT YET DOCUMENTED
protected Document makeRecordDoc(CreateADNRecordForm carForm, MetaDataFramework framework, org.apache.struts.action.ActionMapping mapping, HttpServletRequest request, HttpServletResponse response) throws Exception
makeRecordDoc
in class CreateRecordAction
carForm
- the ActionFormadnFramework
- NOT YET DOCUMENTED
Exception
- Description of the Exceptionprotected org.apache.struts.action.ActionErrors validateForm(HttpServletRequest request, CreateADNRecordForm carForm, MetaDataFramework adnFramework)
validateForm
in class CreateRecordAction
request
- Description of the ParametercarForm
- Description of the ParameteradnFramework
- NOT YET DOCUMENTED
public static void setDebug(boolean isDebugOutput)
isDebugOutput
- The new debug value
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |