com.filenet.wcm.apps.server.util.integration
Class ResponseCall

java.lang.Object
  extended bycom.filenet.wcm.apps.server.util.integration.ResponseCall

public class ResponseCall
extends java.lang.Object


Field Summary
static int RETURN_CODE_FAILURE
           
static int RETURN_CODE_FILE_NOT_FOUND
           
static int RETURN_CODE_INSUFFICIENT_ACCESS
           
static int RETURN_CODE_INVALID_ARGUMENT
           
static int RETURN_CODE_INVALID_COMMAND
           
static int RETURN_CODE_MISSING_PARAMETER
           
static int RETURN_CODE_NO_RESERVATION_ERROR
           
static int RETURN_CODE_NOT_LOGGED_IN
           
static int RETURN_CODE_PARAMETER_FORMAT_ERROR
           
static int RETURN_CODE_REQUIRED_VALUE_NOT_FOUND
           
static int RETURN_CODE_SUCCESS
           
static int RETURN_CODE_USER_CANCEL
           
static int RETURN_CODE_USER_CANNOT_CHECKIN
           
static int RETURN_CODE_VERSION_TOO_NEW
           
static int RETURN_CODE_VERSION_TOO_OLD
           
static int RETURN_CODE_WCM_EXCEPTION
           
static int RETURN_CODE_XML_PARSE_ERROR
           
 
Constructor Summary
ResponseCall()
           
ResponseCall(CommandCall command)
           
 
Method Summary
 ClientRequestInfo getClientRequestInfo()
           
 java.lang.String getDetails()
           
 int getId()
           
 java.lang.String getMessage()
           
 java.lang.String getName()
           
 java.util.Map getParameters()
           
 int getReturnCode()
           
 java.lang.String getVersion()
           
 void processException(com.filenet.wcm.toolkit.server.util.FrameworkException e)
           
 void setClientRequestInfo(ClientRequestInfo clientRequestInfo)
           
 void setDetails(java.lang.String details)
           
 void setId(int id)
           
 void setMessage(java.lang.String message)
           
 void setName(java.lang.String name)
           
 void setParameters(java.util.Map parameters)
           
 void setReturnCode(int returnCode)
           
 void setVersion(java.lang.String version)
           
 java.lang.String toString()
           
static java.lang.String writeTag(java.lang.String tagName, java.lang.String value)
           
 void writeXML(java.io.Writer w)
          Writes XML representation of this object to a Writer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RETURN_CODE_SUCCESS

public static final int RETURN_CODE_SUCCESS
See Also:
Constant Field Values

RETURN_CODE_NOT_LOGGED_IN

public static final int RETURN_CODE_NOT_LOGGED_IN
See Also:
Constant Field Values

RETURN_CODE_USER_CANCEL

public static final int RETURN_CODE_USER_CANCEL
See Also:
Constant Field Values

RETURN_CODE_FAILURE

public static final int RETURN_CODE_FAILURE
See Also:
Constant Field Values

RETURN_CODE_INVALID_ARGUMENT

public static final int RETURN_CODE_INVALID_ARGUMENT
See Also:
Constant Field Values

RETURN_CODE_INVALID_COMMAND

public static final int RETURN_CODE_INVALID_COMMAND
See Also:
Constant Field Values

RETURN_CODE_MISSING_PARAMETER

public static final int RETURN_CODE_MISSING_PARAMETER
See Also:
Constant Field Values

RETURN_CODE_REQUIRED_VALUE_NOT_FOUND

public static final int RETURN_CODE_REQUIRED_VALUE_NOT_FOUND
See Also:
Constant Field Values

RETURN_CODE_XML_PARSE_ERROR

public static final int RETURN_CODE_XML_PARSE_ERROR
See Also:
Constant Field Values

RETURN_CODE_PARAMETER_FORMAT_ERROR

public static final int RETURN_CODE_PARAMETER_FORMAT_ERROR
See Also:
Constant Field Values

RETURN_CODE_VERSION_TOO_NEW

public static final int RETURN_CODE_VERSION_TOO_NEW
See Also:
Constant Field Values

RETURN_CODE_VERSION_TOO_OLD

public static final int RETURN_CODE_VERSION_TOO_OLD
See Also:
Constant Field Values

RETURN_CODE_FILE_NOT_FOUND

public static final int RETURN_CODE_FILE_NOT_FOUND
See Also:
Constant Field Values

RETURN_CODE_WCM_EXCEPTION

public static final int RETURN_CODE_WCM_EXCEPTION
See Also:
Constant Field Values

RETURN_CODE_NO_RESERVATION_ERROR

public static final int RETURN_CODE_NO_RESERVATION_ERROR
See Also:
Constant Field Values

RETURN_CODE_USER_CANNOT_CHECKIN

public static final int RETURN_CODE_USER_CANNOT_CHECKIN
See Also:
Constant Field Values

RETURN_CODE_INSUFFICIENT_ACCESS

public static final int RETURN_CODE_INSUFFICIENT_ACCESS
See Also:
Constant Field Values
Constructor Detail

ResponseCall

public ResponseCall(CommandCall command)

ResponseCall

public ResponseCall()
Method Detail

writeXML

public final void writeXML(java.io.Writer w)
                    throws java.io.IOException
Writes XML representation of this object to a Writer

Parameters:
w - Writer object
Throws:
java.io.IOException

getClientRequestInfo

public ClientRequestInfo getClientRequestInfo()

setClientRequestInfo

public void setClientRequestInfo(ClientRequestInfo clientRequestInfo)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getId

public int getId()

setId

public void setId(int id)

getVersion

public java.lang.String getVersion()

setVersion

public void setVersion(java.lang.String version)

getReturnCode

public int getReturnCode()

setReturnCode

public void setReturnCode(int returnCode)

getMessage

public java.lang.String getMessage()

setMessage

public void setMessage(java.lang.String message)

getDetails

public java.lang.String getDetails()

setDetails

public void setDetails(java.lang.String details)

getParameters

public java.util.Map getParameters()

setParameters

public void setParameters(java.util.Map parameters)

writeTag

public static java.lang.String writeTag(java.lang.String tagName,
                                        java.lang.String value)

toString

public java.lang.String toString()

processException

public void processException(com.filenet.wcm.toolkit.server.util.FrameworkException e)


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.