com.ibm.commerce.contract.commands
Class DeployContractProcess

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.ControllerCommandImpl
                    |
                    +--com.ibm.commerce.contract.commands.DeployContractProcess
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, java.lang.Runnable

public class DeployContractProcess
extends ControllerCommandImpl
implements java.lang.Runnable

Deploy a contract (WebSphere Commerce Business Edition only).

See Also:
Serialized Form

Field Summary
static java.lang.String CLASSNAME
          The class name
static java.lang.String COPYRIGHT
          The internal copyright field.
protected  boolean isDeployStoreProperties
          If deploy store properties.
protected  java.lang.Long jobInstanceId
          The job reference ID
protected  java.lang.Long jobReferenceId
          The job instance ID
 
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
DeployContractProcess()
          The default class constructor.
 
Method Summary
 java.lang.Long getJobInstanceId()
          Gets the job instance Id
 java.lang.Long getJobReferenceId()
          Gets the job reference Id
 void run()
          Execute the job
 void setJobInstanceId(java.lang.Long val)
          Sets the job instance Id
 void setJobReferenceId(java.lang.Long val)
          Sets the job reference Id
 
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputProperties
 
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
execute
 
Methods inherited from interface com.ibm.commerce.command. AccCommand
accessControlCheck, getAccCheck, setAccCheck
 
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
The internal copyright field.
See Also:
Constant Field Values

CLASSNAME

public static final java.lang.String CLASSNAME
The class name
See Also:
Constant Field Values

jobReferenceId

protected java.lang.Long jobReferenceId
The job instance ID

jobInstanceId

protected java.lang.Long jobInstanceId
The job reference ID

isDeployStoreProperties

protected boolean isDeployStoreProperties
If deploy store properties. Default value is false.
Constructor Detail

DeployContractProcess

public DeployContractProcess()
The default class constructor.
Method Detail

getJobInstanceId

public java.lang.Long getJobInstanceId()
Gets the job instance Id
Returns:
Job instance Id

getJobReferenceId

public java.lang.Long getJobReferenceId()
Gets the job reference Id
Returns:
job reference Id

run

public void run()
Execute the job
Specified by:
run in interface java.lang.Runnable

setJobInstanceId

public void setJobInstanceId(java.lang.Long val)
Sets the job instance Id
Parameters:
val - Job instance Id

setJobReferenceId

public void setJobReferenceId(java.lang.Long val)
Sets the job reference Id
Parameters:
val - Job reference Id