com.ibm.commerce.requisitionlist.commands
Interface RequisitionListCopyCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable
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:
NameTypeRequirementDescription
orderIdLongmandatoryThe id of the source order or requisition list to be copied.
nameStringoptionalThe name of the created requisition list
statusCharoptionalThe status of the created requisition list. The valid values are 'Y' and 'Z'. The default value is 'Y'

Output parameters:
NameTypeDescription
requisitionListIdLongthe newly created requisition list id

Behavior:

View:


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
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
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, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
Method Detail

getRequisitionListId

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

setName

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

setOrderId

public void setOrderId(java.lang.Long id)
Specifies the source order or requisition list 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 shareable requisition list.