public interface RegisterRequisitionerCmd extends TaskCommand
RegisterRequisitioner
command is called by the
PunchOutSetup
and BatchOrderRequest
commands after
successfully authenticating the PunchOutSetupRequest
and PurchaseOrderRequest
messages.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright field
|
static java.lang.String |
defaultCommandClassName
The default implementation class name.
|
static java.lang.String |
NAME
The interface name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getUsersId()
This method sets the userId.
|
boolean |
isRegisteredSuccessfully()
This method is called to check whether the registration of the requisitioner is
successful.
|
void |
setBuyerId(long buyerId)
This method sets the buyerId (ID of the buyer organization).
|
void |
setDeptName(java.lang.String deptName)
This method sets the department name (if any) to which the requisitioner belongs to.
|
void |
setPostbackUrl(java.lang.String postbackUrl)
This method sets the URL for Postback.
|
void |
setProtocolId(java.lang.Integer protocol)
This method sets the protocolId.
|
void |
setReqId(java.lang.String reqId)
This method sets the requisitioner ID.
|
void |
setSessionId(java.lang.String sessionId)
This method sets the buyer cookie.
|
void |
setSessionInfo(SessionInfo sessionInfo)
This method sets the sessionInfo
|
void |
setSupplierId(long supplierId)
This method sets the supplierId.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
java.lang.Long getUsersId()
long
- userId
void setUsersId(long usersId);
/**
This method gets the userId.boolean isRegisteredSuccessfully()
void setBuyerId(long buyerId)
buyerId
- The buyer organization ID.void setDeptName(java.lang.String deptName)
deptName
- The department name.void setPostbackUrl(java.lang.String postbackUrl)
postbackUrl
- The postback URLvoid setProtocolId(java.lang.Integer protocol)
protocol
- The protocol ID.void setReqId(java.lang.String reqId)
reqId
- The requisitioner IDvoid setSessionId(java.lang.String sessionId)
sessionId
- The buyer cookievoid setSessionInfo(SessionInfo sessionInfo)
sessionInfo
- The com.ibm.commerce.me.datatype.SessionInfo.com.ibm.commerce.me.datatype
void setSupplierId(long supplierId)
supplierId
- The supplier ID.