public class DDSRepositoryUpdateServiceForm
extends org.apache.struts.action.ActionForm
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ERROR_CODE_BADARGUMENT |
static java.lang.String |
ERROR_CODE_BADVERB |
static java.lang.String |
ERROR_CODE_ILLEGAL_OPERATION |
static java.lang.String |
ERROR_CODE_INTERNALSERVERERROR |
static java.lang.String |
ERROR_CODE_NOTAUTHORIZED |
static java.lang.String |
ERROR_CODE_SERVICE_DISABLED |
static java.lang.String |
RESULT_CODE_NO_SUCH_COLLECTION |
static java.lang.String |
RESULT_CODE_NO_SUCH_RECORD |
static java.lang.String |
RESULT_CODE_SUCCESS |
Constructor and Description |
---|
DDSRepositoryUpdateServiceForm()
Constructor for the RepositoryForm object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthorizedFor()
Gets the role name for which this user is authorized
|
java.lang.String |
getCollectionKey()
Returns the value of collection.
|
protected static java.lang.String |
getDs()
Return a string for the current time and date, sutiable for display in log files and output to standout:
|
java.lang.String |
getErrorCode()
Gets the errorCode attribute of the object
|
java.lang.String |
getErrorMsg()
Returns the value of errorMsg.
|
java.lang.String |
getId()
Gets the id attribute of the DDSRepositoryUpdateServiceForm object
|
java.lang.String |
getResponseDate()
Gets the response date String.
|
java.lang.String |
getResultCode()
Returns the value of resultCode.
|
java.lang.String |
getXmlFormat()
Gets the xmlFormat attribute of the DDSRepositoryUpdateServiceForm object
|
protected void |
prtln(java.lang.String s)
Output a line of text to standard out, with datestamp, if debug is set to true.
|
protected void |
prtlnErr(java.lang.String s)
Output a line of text to error out, with datestamp.
|
void |
setAuthorizedFor(java.lang.String val)
Sets the role name for which this user is authorized
|
void |
setCollectionKey(java.lang.String collectionKey)
Sets the value of collection.
|
static void |
setDebug(boolean isDebugOuput)
Sets the debug attribute
|
void |
setErrorCode(java.lang.String errorCode)
Sets the errorCode attribute of the object
|
void |
setErrorMsg(java.lang.String errorMsg)
Sets the value of errorMsg.
|
void |
setId(java.lang.String id)
Sets the id attribute of the DDSRepositoryUpdateServiceForm object
|
void |
setResultCode(java.lang.String resultCode)
Sets the value of resultCode.
|
void |
setXmlFormat(java.lang.String xmlFormat)
Sets the xmlFormat attribute of the DDSRepositoryUpdateServiceForm object
|
public static final java.lang.String RESULT_CODE_SUCCESS
public static final java.lang.String RESULT_CODE_NO_SUCH_RECORD
public static final java.lang.String RESULT_CODE_NO_SUCH_COLLECTION
public static final java.lang.String ERROR_CODE_BADARGUMENT
public static final java.lang.String ERROR_CODE_BADVERB
public static final java.lang.String ERROR_CODE_NOTAUTHORIZED
public static final java.lang.String ERROR_CODE_INTERNALSERVERERROR
public static final java.lang.String ERROR_CODE_SERVICE_DISABLED
public static final java.lang.String ERROR_CODE_ILLEGAL_OPERATION
public DDSRepositoryUpdateServiceForm()
public java.lang.String getId()
public void setId(java.lang.String id)
id
- The new id valuepublic java.lang.String getCollectionKey()
public void setCollectionKey(java.lang.String collectionKey)
collection
- The value to assign collection.public java.lang.String getXmlFormat()
public void setXmlFormat(java.lang.String xmlFormat)
xmlFormat
- The new xmlFormat valuepublic java.lang.String getResponseDate()
public java.lang.String getErrorMsg()
public void setErrorMsg(java.lang.String errorMsg)
errorMsg
- The value to assign errorMsg.public java.lang.String getResultCode()
public void setResultCode(java.lang.String resultCode)
resultCode
- The value to assign resultCode.public java.lang.String getErrorCode()
public void setErrorCode(java.lang.String errorCode)
errorMsg
- The new errorMsg valuepublic java.lang.String getAuthorizedFor()
public void setAuthorizedFor(java.lang.String val)
val
- The new authorizedFor valueprotected static final java.lang.String getDs()
protected final void prtlnErr(java.lang.String s)
s
- The text that will be output to error out.protected final void prtln(java.lang.String s)
s
- The String that will be output.public static void setDebug(boolean isDebugOuput)
isDebugOuput
- The new debug value