public class BusinessFlowEventData
extends java.lang.Object
BusinessFlowEventListener,
BusinessFlowEvent| Constructor and Description |
|---|
BusinessFlowEventData(com.ibm.commerce.command.CommandContext aCommandContext,
com.ibm.commerce.datatype.TypedProperty newRequestProperties)
Construct a BusinessFlowEventData object which contain all information needed for UBF.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkRequestProperties()
Check and set up all required input parameters for a business flow instance.
|
com.ibm.commerce.command.CommandContext |
getCommandContext()
Get the CommandContext object.
|
java.lang.String |
getComments()
Get the approval comment.
|
java.lang.Long |
getEntityId()
Get the Id of the business flow entity.
|
BusinessFlowEntityBean |
getEntityObject()
Get the business flow entity object.
|
java.lang.String |
getErrorResponseView()
Insert the method's description here.
|
java.lang.String |
getEventIdentifier()
Get the event identifier.
|
java.lang.Long |
getFlowId()
Get the id of the business flow.
|
java.lang.String |
getFlowStages()
Get the flow stage string.
|
java.lang.Long |
getFlowTypeId()
Get the id of the business flow type.
|
java.lang.String |
getFlowTypeIdentifier()
Get the identifier of the business flow type.
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Get the requestProperties which has a type of TypedProperty.
|
java.lang.String |
getResourceClassName()
Insert the method's description here.
|
java.lang.Long |
getResourceId()
Insert the method's description here.
|
com.ibm.commerce.datatype.TypedProperty |
getResponseProperties()
Get the responseProperties which has a type of TypedProperty.
|
void |
setCommandContext(com.ibm.commerce.command.CommandContext newCommandContext)
Set the CommandContext object.
|
void |
setComments(java.lang.String newComments)
Set the approval comment.
|
void |
setEntityId(java.lang.Long newEntityId)
Set the Id of the business flow entity.
|
void |
setEntityObject(BusinessFlowEntityBean newEntityObject)
Set the business flow entity object.
|
void |
setErrorResponseView(java.lang.String newErrorResponseView)
Insert the method's description here.
|
void |
setEventIdentifier(java.lang.String newEventIdentifier)
Set the event identifier.
|
void |
setFlowId(java.lang.Long newFlowId)
Set the id of the business flow.
|
void |
setFlowStages(java.lang.String newFlowStages)
Set the flow stage string.
|
void |
setFlowTypeId(java.lang.Long newFlowTypeId)
Set the id of the business flow type.
|
void |
setFlowTypeIdentifier(java.lang.String newFlowTypeIdentifier)
Set the identifier of the business flow type.
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty newRequestProperties)
Set the requestProperties which has a type of TypedProperty.
|
void |
setResourceClassName(java.lang.String newResourceClassName)
Insert the method's description here.
|
void |
setResourceId(java.lang.Long newResourceId)
Insert the method's description here.
|
void |
setResponseProperties(com.ibm.commerce.datatype.TypedProperty newResponseProperties)
Set the responseProperties which has a type of TypedProperty.
|
public BusinessFlowEventData(com.ibm.commerce.command.CommandContext aCommandContext,
com.ibm.commerce.datatype.TypedProperty newRequestProperties)
throws com.ibm.commerce.exception.ECException
aCommandContext - The CommandContext object.newRequestProperties - The RequestProperties object.com.ibm.commerce.exception.ECExceptionpublic void checkRequestProperties()
throws com.ibm.commerce.exception.ECException
com.ibm.commerce.exception.ECException - If the required parameters are missing or have invalid values.public com.ibm.commerce.command.CommandContext getCommandContext()
public java.lang.String getComments()
public java.lang.Long getEntityId()
public BusinessFlowEntityBean getEntityObject()
public java.lang.String getErrorResponseView()
length - The Number of bytes to lock.ServerStartException - If the AS/400 server canot be started.public java.lang.String getEventIdentifier()
public java.lang.Long getFlowId()
public java.lang.String getFlowStages()
public java.lang.Long getFlowTypeId()
public java.lang.String getFlowTypeIdentifier()
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
public java.lang.String getResourceClassName()
length - The Number of bytes to lock.ServerStartException - If the AS/400 server canot be started.public java.lang.Long getResourceId()
length - The Number of bytes to lock.ServerStartException - If the AS/400 server canot be started.public com.ibm.commerce.datatype.TypedProperty getResponseProperties()
public void setCommandContext(com.ibm.commerce.command.CommandContext newCommandContext)
newCommandContext - The CommandContext object.public void setComments(java.lang.String newComments)
newComments - The approval comment.public void setEntityId(java.lang.Long newEntityId)
newEntityId - The Id of the business flow entity.public void setEntityObject(BusinessFlowEntityBean newEntityObject)
newEntityObject - The business flow entity object.public void setErrorResponseView(java.lang.String newErrorResponseView)
length - The Number of bytes to lock.newErrorResponseView - java.lang.StringServerStartException - If the AS/400 server canot be started.public void setEventIdentifier(java.lang.String newEventIdentifier)
newEventIdentifier - The event identifier.public void setFlowId(java.lang.Long newFlowId)
newFlowId - The id of the business flow.public void setFlowStages(java.lang.String newFlowStages)
newFlowStages - The flow stage string.public void setFlowTypeId(java.lang.Long newFlowTypeId)
newFlowTypeId - The id of the business flow type.public void setFlowTypeIdentifier(java.lang.String newFlowTypeIdentifier)
newFlowTypeIdentifier - The identifier of the business flow type.public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty newRequestProperties)
throws com.ibm.commerce.exception.ECException
newRequestProperties - The requestProperties which has a type of TypedProperty.com.ibm.commerce.exception.ECExceptionpublic void setResourceClassName(java.lang.String newResourceClassName)
length - The Number of bytes to lock.newResourceClassName - java.lang.StringServerStartException - If the AS/400 server canot be started.public void setResourceId(java.lang.Long newResourceId)
length - The Number of bytes to lock.newResourceId - java.lang.LongServerStartException - If the AS/400 server canot be started.public void setResponseProperties(com.ibm.commerce.datatype.TypedProperty newResponseProperties)
newResponseProperties - The responseProperties which has a type of TypedProperty.