com.ibm.commerce.catalogmanagement.commands

Interface CatalogGroupDeleteCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    CatalogGroupDeleteCmdImpl


    public interface CatalogGroupDeleteCmd
    extends ControllerCommand
    The CatalogGroupDeleteCmd is a URL and controller command that:
    • If the force option is set to 0, then the catalog group will be marked for deletion.
    • If the force option is set to 1, then the catalog group will be deleted.
    Parameters:
    • CatGroupId, or MemberId and Identifier
    • CatGroupId, or MemberId and Identifier
    Access Beans:
    • CatalogGroupAccessBean, CatalogGroupDescrptionAccessBean
    • CatalogGroupAccessBean, CatalogGroupDescriptionAccessBean
    Task Commands: DeleteCatalogGroupCmd.
    Other Controller Commands: None.
    Mandatory Parameters: catgroupId, or identifier.
    Additional Parameters: None.
    Optional Parameters: force, URL.
    Default Value: force = 0.
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String CLASSNAME
        Defines the CLASSNAME.
        See Also:
        Constant Field Values
    • Method Detail

      • getCatgroupId

        java.lang.Long getCatgroupId()
        Gets the catalog group ID.
        Returns:
        the catalog group ID
      • getIdentifier

        java.lang.String getIdentifier()
        Gets the identifier of the catalog group.
        Returns:
        the catalog group identifier
      • setCatgroupId

        void setCatgroupId(java.lang.Long anCatgroupId)
        Sets the catalog group ID.
        Parameters:
        anCatgroupId - the catalog group ID
      • setForce

        void setForce(java.lang.Integer anForce)
        Sets the force option for the deleting the catalog group:
        • 0 = Mark for delete.
        • 1 = Remove for database.
        Parameters:
        anForce - the force option for deletion of the catalog group
      • setIdentifier

        void setIdentifier(java.lang.String astrIdentifier)
        Sets the identifier for the catalog group.
        Parameters:
        astrIdentifier - the catalog group identifier
      • setLastupdate

        void setLastupdate(java.sql.Timestamp atmLastupdate)
        Sets the date and time the Catalog Group was updated. If not set, the time this command was called will be used.
        Parameters:
        atmLastupdate - the time the catalog group was last updated.
      • setMarkfordelete

        void setMarkfordelete(java.lang.Integer anMarkfordelete)
        Sets the mark for delete flag of the catalog group:
        • 0, null = catalog group not mark for delete
        • 1 = catalog group mark for delete
        This is not used unless specified. Use the force option to set whether the catalog group will be deleted or marked for delete.
        Parameters:
        anMarkfordelete - the mark for delete option for deleting the catalog group
      • setMemberId

        void setMemberId(java.lang.Long anMemberId)
        Sets the owner ID of the catalog group.
        Parameters:
        anMemberId - the owner of the catalog group
      • setURL

        void setURL(java.lang.String astrURL)
        Sets the redirect URL.
        Parameters:
        astrURL - the redirect URL