com.ibm.commerce.contract.catalogfilter.commands

Interface CheckCatalogFilterAssignmentCmd

  • All Known Implementing Classes:
    CheckCatalogFilterAssignmentCmdImpl


    public interface CheckCatalogFilterAssignmentCmd
    This command is used to check if the given catalog filter has been used some object such as contract.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The IBM Copyright notice field.
      static java.lang.String NAME
      The full name of this command.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.util.HashMap getRelatedObjects()
      This method returns a map of objects that the catalog filter has been used for.
      void setCatalogFilterId(java.lang.String catalogFilterId)
      This method sets the catalog filter identifier that the command will check.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The IBM Copyright notice field.
        See Also:
        Constant Field Values
      • NAME

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

      • getRelatedObjects

        java.util.HashMap getRelatedObjects()
        This method returns a map of objects that the catalog filter has been used for. The key is the type of the objects, possible value is "hostingContract", "defaultContract", "buyerContract". The value is a ArrayList that contains the identifier of these kinds of objects. assigned to any contract.
        Returns:
        The contract identifiers(Long) that the catalog filter has been assigned to.
      • setCatalogFilterId

        void setCatalogFilterId(java.lang.String catalogFilterId)
        This method sets the catalog filter identifier that the command will check.
        Parameters:
        catalogFilterId -