com.ibm.commerce.contract.commands

Interface DeployExtendedTCCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, DeployTCCmd, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.TaskCommand
    All Known Implementing Classes:
    DeployExtendedTCCmdImpl


    public interface DeployExtendedTCCmd
    extends DeployTCCmd
    The purpose of this command is to deploy an Extended Terms and Conditions.

    Input parameters:

    NameTypeRequirementDescription
    terms and ConditionsTerm Condition Access BeanmandatoryThe Terms and Conditions.

    Behavior:

    • Gets the Terms and Conditions ID from the input parameter.
    • New an ExtendedAccessBean using the TC_ID.
    • Get the extsubtype of the TC.
    • Get the deployCommand using tcSubtype of the TC and invoke it.

    Exception:

    • It throws an ECException when there are EJB exception threw.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The internal copyright field.
      static java.lang.String defaultCommandClassName
      The fully qualified name of the default implementation class.
      static java.lang.String NAME
      The fully qualified name of this class.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.Long getTermConditionId()
      get the TermCondition Id
      void setTermConditionId(java.lang.Long termConditionId)
      Set the TermCondition Id
      • Methods inherited from class java.lang.Object

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

        execute
      • Methods inherited from interface com.ibm.commerce.command.ECCommand

        checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String defaultCommandClassName
        The fully qualified name of the default implementation class.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The fully qualified name of this class.
        See Also:
        Constant Field Values
    • Method Detail

      • getTermConditionId

        java.lang.Long getTermConditionId()
        get the TermCondition Id
        Returns:
        return the TERMCOND_ID which will be deployed.
      • setTermConditionId

        void setTermConditionId(java.lang.Long termConditionId)
        Set the TermCondition Id
        Parameters:
        termConditionId - is the TERMCOND_ID for the TermCondition which will be deployed.