com.ibm.commerce.requisitionlist.commands
Interface RequisitionListCopyCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand
All Known Implementing Classes:
RequisitionListCopyCmdImpl

public interface RequisitionListCopyCmd
extends ControllerCommand

Copy an existing order (or requisition list) and creates a new requisition list.

Input parameters:

Name Type Requirement Description
orderId Long mandatory The id of the source order or requisition list to be copied.
name String optional The name of the created requisition list
status Char optional The status of the created requisition list. The valid values are 'Y' and 'Z'. The default value is 'Y'

Output parameters:

Name Type Description
requisitionListId Long the newly created requisition list id

Behavior:

View:


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The default implementation class.
static java.lang.String NAME
          The name of the Command Interface class.
 
Method Summary
 java.lang.Long getRequisitionListId()
          Returns the newly created requisition list id.
 void setName(java.lang.String name)
          Specifies the name of the created requisition list.
 void setOrderId(java.lang.Long id)
          Specifies the source order or requisition list id.
 void setStatus(java.lang.String status)
          Specifies the status of the created requisition list.
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command. AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command. ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of the Command Interface class.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class.
See Also:
Constant Field Values
Method Detail

getRequisitionListId

public java.lang.Long getRequisitionListId()
Returns the newly created requisition list id.
Returns:
requisition list id.

setName

public void setName(java.lang.String name)
Specifies the name of the created requisition list.
Parameters:
name - requisition list name

setOrderId

public void setOrderId(java.lang.Long id)
Specifies the source order or requisition list id.
Parameters:
id - order id

setStatus

public void setStatus(java.lang.String status)
Specifies the status of the created requisition list. If it is not specified, the default value is 'Y', a private requisition list.
Parameters:
status - status