com.ibm.commerce.contract.commands

Interface CalculateProductSetEntitlementCmd

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


    public interface CalculateProductSetEntitlementCmd
    extends com.ibm.commerce.command.TaskCommand
    A command to determine which product sets are applicable to a set of trading agreements. It determines the applicable inclusion product sets and exclusion product sets.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The IBM copyright notice field.
      static java.lang.String defaultCommandClassName
      The default implementation class name
      static java.lang.String NAME
      The name of this interface.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.util.Vector getExclusion()
      Get the list of applicable exclusion product sets
      java.util.Vector getInclusion()
      Get the list of applicable inclusion product sets
      java.lang.Long getParticipantId()
      get memberId of the trading agreement participant
      java.util.Vector[] getTradingAgreementBrowsableInclusionProductSetIds()
      Gets the list of applicable browsable inclusion product sets for each trading agreement.
      java.util.Vector[] getTradingAgreementExclusionProductSetIds()
      Gets the list of applicable exclusion product sets for each trading agreement.
      java.lang.Long[] getTradingAgreementIds()
      get trading agreement Ids
      java.util.Vector[] getTradingAgreementInclusionAndBrowsableProductSetIds()
      Gets the list of applicable inclusion and browsable product sets for each trading agreement.
      java.util.Vector[] getTradingAgreementInclusionProductSetIds()
      Gets the list of applicable inclusion product sets for each trading agreement.
      com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] getTradingAgreements()
      get a set of trading agreement access beans
      boolean isEntireMasterCatalogSelected()
      is the entire master catalog for sale under the trading agreements
      void setParticipantId(java.lang.Long memberId)
      set memberId of the trading agreement participant
      void setTradingAgreements(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] agreements)
      set a set of trading agreement access beans
      • 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 IBM copyright notice field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

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

      • getExclusion

        java.util.Vector getExclusion()
        Get the list of applicable exclusion product sets
        Returns:
        a vector of product set ids
      • getInclusion

        java.util.Vector getInclusion()
        Get the list of applicable inclusion product sets
        Returns:
        a vector of product set ids
      • getParticipantId

        java.lang.Long getParticipantId()
        get memberId of the trading agreement participant
        Returns:
        memberId
      • getTradingAgreementBrowsableInclusionProductSetIds

        java.util.Vector[] getTradingAgreementBrowsableInclusionProductSetIds()
        Gets the list of applicable browsable inclusion product sets for each trading agreement.
        Returns:
        an array of vectors that contain product set ids
      • getTradingAgreementExclusionProductSetIds

        java.util.Vector[] getTradingAgreementExclusionProductSetIds()
        Gets the list of applicable exclusion product sets for each trading agreement.
        Returns:
        an array of vectors that contain product set ids
      • getTradingAgreementIds

        java.lang.Long[] getTradingAgreementIds()
        get trading agreement Ids
        Returns:
        agreements
      • getTradingAgreementInclusionAndBrowsableProductSetIds

        java.util.Vector[] getTradingAgreementInclusionAndBrowsableProductSetIds()
        Gets the list of applicable inclusion and browsable product sets for each trading agreement.
        Returns:
        an array of vectors that contain product set ids
      • getTradingAgreementInclusionProductSetIds

        java.util.Vector[] getTradingAgreementInclusionProductSetIds()
        Gets the list of applicable inclusion product sets for each trading agreement.
        Returns:
        an array of vectors that contain product set ids
      • getTradingAgreements

        com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] getTradingAgreements()
        get a set of trading agreement access beans
        Returns:
        agreements
      • isEntireMasterCatalogSelected

        boolean isEntireMasterCatalogSelected()
        is the entire master catalog for sale under the trading agreements
        Returns:
        true if the entire master catalog is selected, false otherwise
      • setParticipantId

        void setParticipantId(java.lang.Long memberId)
        set memberId of the trading agreement participant
        Parameters:
        memberId -
      • setTradingAgreements

        void setTradingAgreements(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] agreements)
        set a set of trading agreement access beans
        Parameters:
        agreements -