This is the interface of RegisterRequisitionerCmd. It retrieves the requisitioning user if they are already registered, and registers them as a new requisitioning user if they are not registered. The RegisterRequisitioner command is called by the PunchOutSetup and BatchOrderRequest commands after successfully authenticating the PunchOutSetupRequest and PurchaseOrderRequest messages.
Field Summary | |
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. |
Method Summary | |
java.lang.Long | getUsersId() set the userId |
boolean | isRegisteredSuccessfully() Once the command is completed, this method will be called to check whether the registration of the requisitioner is successfull. |
void | setBuyerId(long buyerId) Sets the buyerId (Id of the buyer org) |
void | setDeptName(java.lang.String deptName) Sets the department name (if any) to which the requisitioner belong to. |
void | setPostbackUrl(java.lang.String postbackUrl) Sets the URI that will be used as Postback. |
void | setProtocolId(java.lang.Integer protocol) Sets the protocolId |
void | setReqId(java.lang.String reqId) Sets the requisitioner id |
void | setSessionId(java.lang.String sessionId) Sets the buyer cookie |
void | setSessionInfo(SessionInfo sessionInfo) Sets the sessionInfo |
void | setSupplierId(long supplierId) Sets the supplierId |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
public java.lang.Long getUsersId()
public boolean isRegisteredSuccessfully()
public void setBuyerId(long buyerId)
public void setDeptName(java.lang.String deptName)
public void setPostbackUrl(java.lang.String postbackUrl)
public void setProtocolId(java.lang.Integer protocol)
public void setReqId(java.lang.String reqId)
public void setSessionId(java.lang.String sessionId)
public void setSessionInfo(SessionInfo sessionInfo)
public void setSupplierId(long supplierId)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.