com.ibm.commerce.contract.commands

Interface CheckCatalogGroupEntitlementCmd

  • 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:
    CheckCatalogGroupEntitlementCmdImpl


    public interface CheckCatalogGroupEntitlementCmd
    extends com.ibm.commerce.command.TaskCommand
    This command is to do the entitlement check for the catalog groups.
    • 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.lang.Long[] getCatalogGroupIds()
      Get Catalog Group IDs.
      java.lang.Long getCatalogId()
      Get catalog ID.
      java.lang.Long[] getEntitledCatalogGroupIds()
      Get entitled catalog groups IDs against the trading agreement set for this command.
      java.lang.Long getMemberId()
      Get member ID.
      com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] getTradingAgreementABs()
      Get trading agreements
      void setCatalogGroupIds(java.lang.Long[] catalogGroupIds)
      Set Catalog Group IDs.
      void setCatalogId(java.lang.Long catalogId)
      Sets the catalog ID.
      void setCurrentCatalog(com.ibm.commerce.catalog.objects.CatalogAccessBean catalogAB)
      This method sets the current catalog access bean.
      void setMemberId(java.lang.Long memberId)
      This method sets the member ID.
      void setTradingAgreementABs(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] agreementABs)
      This method sets the trading agreements.
      • 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

      • getCatalogGroupIds

        java.lang.Long[] getCatalogGroupIds()
        Get Catalog Group IDs.
        Returns:
        Catalog Group IDs.
      • getCatalogId

        java.lang.Long getCatalogId()
        Get catalog ID.
        Returns:
        The catalog ID.
      • getEntitledCatalogGroupIds

        java.lang.Long[] getEntitledCatalogGroupIds()
        Get entitled catalog groups IDs against the trading agreement set for this command.
        Returns:
        A array of entitled catalog group ID.
      • getMemberId

        java.lang.Long getMemberId()
        Get member ID.
        Returns:
        A member ID.
      • getTradingAgreementABs

        com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] getTradingAgreementABs()
        Get trading agreements
        Returns:
        Trading agreement AccessBeans
      • setCatalogGroupIds

        void setCatalogGroupIds(java.lang.Long[] catalogGroupIds)
        Set Catalog Group IDs.
        Parameters:
        catalogGroupIds - The catalog group IDs.
      • setCatalogId

        void setCatalogId(java.lang.Long catalogId)
        Sets the catalog ID.
        Parameters:
        catalogId - catalog ID.
      • setCurrentCatalog

        void setCurrentCatalog(com.ibm.commerce.catalog.objects.CatalogAccessBean catalogAB)
        This method sets the current catalog access bean.
        Parameters:
        catalogAB -
      • setMemberId

        void setMemberId(java.lang.Long memberId)
        This method sets the member ID.
        Parameters:
        memberId -
      • setTradingAgreementABs

        void setTradingAgreementABs(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] agreementABs)
        This method sets the trading agreements.
        Parameters:
        agreementABs -