com.ibm.commerce.contract.commands

Class DeployContractProcess

  • java.lang.Object
    • com.ibm.websphere.command.CacheableCommandImpl
      • com.ibm.commerce.command.MeasuredCacheableCommandImpl
        • com.ibm.commerce.command.AbstractECTargetableCommand
          • com.ibm.commerce.command.ControllerCommandImpl
            • com.ibm.commerce.contract.commands.DeployContractProcess
  • All Implemented Interfaces:
    com.ibm.commerce.command.AccCommand, com.ibm.commerce.command.ControllerCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.security.Protectable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, java.lang.Runnable


    public class DeployContractProcess
    extends com.ibm.commerce.command.ControllerCommandImpl
    implements java.lang.Runnable
    This contract controller command is used to deploy a contract.

    Input parameters:

    Name Description
    JobInstanceId The instance Id for this job. Mandatory.
    JobReferenceId The reference Id for this job. Mandatory.
    (controller|tools controller command only)

    Output parameters:

    Name Description
    JobInstanceId The instance Id for this job.
    JobReferenceId The reference Id for this job.

    Behaviour:

      Deploy a contract (WebSphere Commerce Enterprise only).

    Task commands called:

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String CLASSNAME
      The class name
      static java.lang.String COPYRIGHT
      The internal copyright field.
      • Fields inherited from interface com.ibm.commerce.command.ECCommand

        defaultCommandClassName
    • Constructor Summary

      Constructors 
      Constructor and Description
      DeployContractProcess()
      The default class constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Long getJobInstanceId()
      Gets the instance Id for this job.
      java.lang.Long getJobReferenceId()
      Gets reference Id for this job.
      void run()
      Execute the job
      void setJobInstanceId(java.lang.Long val)
      Sets the instance Id for this job.
      void setJobReferenceId(java.lang.Long val)
      Sets reference Id for this job.
      • 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 java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand

        accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
      • 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, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
    • Field Detail

      • CLASSNAME

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

        public static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DeployContractProcess

        public DeployContractProcess()
        The default class constructor.
    • Method Detail

      • getJobInstanceId

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

        public java.lang.Long getJobReferenceId()
        Gets reference Id for this job.
        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 instance Id for this job.
        Parameters:
        val - Job instance Id
      • setJobReferenceId

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