com.ibm.commerce.usermanagement.commands

Class ListBusinessOrgEntityCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, ListBusinessOrgEntityCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class ListBusinessOrgEntityCmdImpl
    extends TaskCommandImpl
    implements ListBusinessOrgEntityCmd
    Finds a list of Business organization entities.

    Currently this command lists all organization entities under Root Organization (Except Default Organization) during self-registration.

    Outputs of this task command are:

     Long[] getBusinessOrgEntityList(TypedProperty)
     - returns a Long array of all business organization entities.
     
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

        public static final java.lang.String CLASSNAME
        The name of this implementation of the command.
        See Also:
        Constant Field Values
      • SEARCHTYPE_SEARCH_ALL

        public static final int SEARCHTYPE_SEARCH_ALL
        Default - searches all search type constant.
        See Also:
        Constant Field Values
      • SEARCHTYPE_MATCH_CASE_BEGIN

        public static final int SEARCHTYPE_MATCH_CASE_BEGIN
        Match case beginning with keyword search type constant
        See Also:
        Constant Field Values
      • SEARCHTYPE_MATCH_CASE_CONTAIN

        public static final int SEARCHTYPE_MATCH_CASE_CONTAIN
        Match case containing with keyword search type constant
        See Also:
        Constant Field Values
      • SEARCHTYPE_IGNORE_CASE_BEGIN

        public static final int SEARCHTYPE_IGNORE_CASE_BEGIN
        Ignore case beginning with keyword search type constant
        See Also:
        Constant Field Values
      • SEARCHTYPE_IGNORE_CASE_CONTAIN

        public static final int SEARCHTYPE_IGNORE_CASE_CONTAIN
        Ignore case containing with keyword search type constant
        See Also:
        Constant Field Values
      • SEARCHTYPE_EXACT_MATCH

        public static final int SEARCHTYPE_EXACT_MATCH
        Exact Match with keyword search type constant
        See Also:
        Constant Field Values
    • Constructor Detail

      • ListBusinessOrgEntityCmdImpl

        public ListBusinessOrgEntityCmdImpl()
    • Method Detail

      • getBusinessOrgEntityList

        public java.lang.Long[] getBusinessOrgEntityList()
        Returns the business organization entities.
        Specified by:
        getBusinessOrgEntityList in interface ListBusinessOrgEntityCmd
        Returns:
        The business organization entities.
      • performExecute

        public void performExecute()
                            throws ECException
        Finds all the business organizations and puts the organization identifiers in a list.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException - If there was a problem finding the business organizations from the database.
      • setSearchCriteria

        public void setSearchCriteria(int criteriaType,
                                      java.lang.String keyword)
        Sets the search criteria type
        Specified by:
        setSearchCriteria in interface ListBusinessOrgEntityCmd
        Parameters:
        criteriaType - Specifies a search criteria option, the valid options are:
        0 - No criteria, it will search all accounts in system
        1 - Match case, beginning with
        2 - Match case, containing
        3 - Ignore case, beginning with
        4 - Ignore case, containing
        5 - Exact match
        keyword - specify a search keyword for organization name