com.ibm.commerce.search.beans

Class CategorySearchListDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, SearchConstants, java.io.Serializable


    public class CategorySearchListDataBean
    extends SearchBaseDataBean
    This bean is used to retrieve category identifier information from master catalog based on input search criteria. This bean extends CatalogSearchBaseDataBean. The user can enter search criteria using a JSP. A user can enter the following variables using a JSP:
    These variables are used to set the category name used for the search.
    1. name (String): The value of this variable is used in search based on category name (Catgrpdesc.name column).
    2. nameCaseSensitive (String) : A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
    3. nameTermOperator (String) : A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL'(for equal operator).
    4. nameType (String) : A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria), 'ANY'(for Any search criteria) and 'EXACT'(for Exact phrase criteria).

    These variables are used to set the short description used for the search.
    1. shortDesc (String): The value of this variable is used in search based on category shortdescription (Catgrpdesc.shortdescription column).
    2. shortDescCaseSensitive (String) : A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
    3. shortDescOperator (String) : A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL'(for equal operator).
    4. shortDescType (String) : A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria), 'ANY'(for Any search criteria) and 'EXACT'(for Exact phrase criteria).

    These variables are used to set the long description used for the search.
    1. longDesc (String): The value of this variable is used in search based on category longdescription (Catgrpdesc.longdescription column).
    2. longDescCaseSensitive (String) : A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
    3. longDescOperator (String) : A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL'(for equal operator).
    4. longDescType (String) : A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria), 'ANY'(for Any search criteria) and 'EXACT'(for Exact phrase criteria).

    These variables are used to set the keyword used for the search.
    1. keyword (String): The value of this variable is used in search based on catgroup keyword (Catgrpdesc.keyword column).
    2. keywordCaseSensitive (String) : A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
    3. keywordOperator (String) : A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL'(for equal operator).
    4. keywordType (String) : A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria), 'ANY'(for Any search criteria) and 'EXACT'(for Exact phrase criteria).

    These variables are used to set the store ID used for the search.
    1. storeId (String) : A user can specify the store to search on. It can be single store or multiple store. In case of multiple store each store has to be delimited by ','.
    2. storeIdOperator: A user can choose one of the following operators as search operators: =, <, >, !=, <=, >=. The value in this variable is used to store a user's choice. The value must be any one of the following: EQUAL, NOTEQUAL, GREATER, LESS, GREATER_EQUAL, LESS_EQUAL, IN.

    These variables are used to set the last update value used for the search.
    1. lastUpdate (String): The value of this variable is used in search based on Lastupdate (category.Lastupdate column).
    2. lastUpdateOperator (String) : A user can choose one of the following operators as search operators: =, <, >, !=, <=, >=. The value in this variable is used to store a user's choice. The value must be any one of the following: 'EQUAL,' 'NOTEQUAL,' 'GREATER,' 'LESS,' 'GREATER_EQUAL,' 'LESS_EQUAL.'

    These variables are used to set the mark for delete value used for the search.
    1. markForDelete (String): The value is used to search on markForDelete (category.markfordelete column).
    2. markForDeleteOperator (String) : A user can choose one of the following operators as search operators: =, <, >, !=, <=, >=. The value in this variable is used to store a user's choice. The value must be any one of the following: 'EQUAL,' 'NOTEQUAL,' 'GREATER,' 'LESS,' 'GREATER_EQUAL,' 'LESS_EQUAL.'

    These variables are used to set the published used for the search.
    1. published (String): The value is used to search on published (Catgrpdesc.published column).
    2. publishedOperator (String) : A user can choose one of the following operators as search operators: =, <, >, !=, <=, >=. The value in this variable is used to store a user's choice. The value must be any one of the following: 'EQUAL,' 'NOTEQUAL,' 'GREATER,' 'LESS,' 'GREATER_EQUAL,' 'LESS_EQUAL.'

    These variables are used to set the identifier used for the search.
    1. identifier (String): The value of this variable is used in search based on catgroup identifier (Catgroup.identifier column).
    2. identifierCaseSensitive/ (String) : A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
    3. identifierOperator (String) : A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL'(for equal operator).
    4. identifierType (String) : A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria), 'ANY'(for Any search criteria) and 'EXACT'(for Exact phrase criteria).

    A sample usage follows for a search based on a category name:

    categorySearchDB.setName("Pants"); categorySearchDB.setNameCaseSensitive("true"); categorySearchDB.setNameTermOperator("EQUAL"); categorySearchDB.setNameType("STRING");

    See Also:
    Serialized Form
    • Constructor Detail

      • CategorySearchListDataBean

        public CategorySearchListDataBean()
        AdvancedCatEntrySearchListDataBean constructor comment.
    • Method Detail

      • getDistinct

        public java.lang.String getDistinct()
        Defines SQL distinct qualifier. It is useful when using order by where distinct qualifier is not permitted.
        Returns:
        java.lang.String. The DISTINCT value used for the search.
      • getIdentifier

        public java.lang.String getIdentifier()
        The value of this variable is used in search based on catgroup identifier (Catgroup.identifier column).
        Returns:
        java.lang.String. The identifier value used for the search.
      • getIdentifierCaseSensitive

        public java.lang.String getIdentifierCaseSensitive()
        A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
        Returns:
        java.lang.String. The identifier case sensitive value used for the search.
      • getIdentifierOperator

        public java.lang.String getIdentifierOperator()
        A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL'(for equal operator).
        Returns:
        java.lang.String. The identifier operator value used for the search.
      • getIdentifierType

        public java.lang.String getIdentifierType()
        A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria), 'ANY'(for Any search criteria) and 'EXACT'(for Exact phrase criteria).
        Returns:
        java.lang.String. The identifier type value used for the search.
      • getKeyword

        public java.lang.String getKeyword()
        The value of this variable is used in search based on catgroup keyword (Catgrpdesc.keyword column).
        Returns:
        java.lang.String. The keyword value used for the search.
      • getKeywordCaseSensitive

        public java.lang.String getKeywordCaseSensitive()
        A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
        Returns:
        java.lang.String. The keyword case sensitive value used for the search.
      • getKeywordOperator

        public java.lang.String getKeywordOperator()
        A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL'(for equal operator).
        Returns:
        java.lang.String. The keyword operator value used for the search.
      • getKeywordType

        public java.lang.String getKeywordType()
        A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria), 'ANY'(for Any search criteria) and 'EXACT'(for Exact phrase criteria).
        Returns:
        java.lang.String. The keyword type value used for the search.
      • getLangId

        public java.lang.String getLangId()
        The langId for to search. If not provided the default from command context will be used.
        Returns:
        java.lang.String. The language ID value used for the search.
      • getLastUpdate

        public java.lang.String getLastUpdate()
        The value of this variable is used in search based on Lastupdate (category.Lastupdate column).
        Returns:
        java.lang.String. The last update value used for the search.
      • getLastUpdateOperator

        public java.lang.String getLastUpdateOperator()
        /** A user can choose one of the following operators as search operators: =, <, >, !=, <=, >=. The value in this variable is used to store a user's choice. The value must be any one of the following: 'EQUAL,' 'NOTEQUAL,' 'GREATER,' 'LESS,' 'GREATER_EQUAL,' 'LESS_EQUAL.'
        Returns:
        java.lang.String. The last update operator value used for the search.
      • getLongDesc

        public java.lang.String getLongDesc()
        The value of this variable is used in search based on category longdescription (Catgrpdesc.longdescription column).
        Returns:
        java.lang.String. The long description value used for the search.
      • getLongDescCaseSensitive

        public java.lang.String getLongDescCaseSensitive()
        A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
        Returns:
        java.lang.String. The long description case sensitive value used for the search.
      • getLongDescOperator

        public java.lang.String getLongDescOperator()
        A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL' (for equal operator).
        Returns:
        java.lang.String. The long description operator value used for the search.
      • getLongDescType

        public java.lang.String getLongDescType()
        A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria), 'ANY'(for Any search criteria) and 'EXACT'(for Exact phrase criteria).
        Returns:
        java.lang.String. The long description type value used for the search.
      • getMarkForDelete

        public java.lang.String getMarkForDelete()
        The value is used to search on markForDelete (category.markfordelete column).
        Returns:
        java.lang.String. The mark for delete flag value used for the search.
      • getMarkForDeleteOperator

        public java.lang.String getMarkForDeleteOperator()
        A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL' (for equal operator).
        Returns:
        java.lang.String. The mark for delete flag operator value used for the search.
      • getName

        public java.lang.String getName()
        A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL'(for equal operator).
        Returns:
        java.lang.String. The name value used for the search.
      • getNameCaseSensitive

        public java.lang.String getNameCaseSensitive()
        A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
        Returns:
        java.lang.String. The name case sensitive value used for the search.
      • getNameTermOperator

        public java.lang.String getNameTermOperator()
        A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL' (for equal operator).
        Returns:
        java.lang.String. The name term operator value used for the search.
      • getNameType

        public java.lang.String getNameType()
        A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria), 'ANY'(for Any search criteria) and 'EXACT'(for Exact phrase criteria).
        Returns:
        java.lang.String. The name type value used for the search.
      • getOrderBy1

        public java.lang.String getOrderBy1()
        Result set will be sorted by this attribute.
        Returns:
        java.lang.String. The order by 1 value used for the search.
      • getOrderByOperator1

        public java.lang.String getOrderByOperator1()
        Attributes can be sorted by ascending (default) or descending order.
        Returns:
        java.lang.String. The order by 1 operator value used for the search.
      • getPublished

        public java.lang.String getPublished()
        The value is used to search on published (Catgrpdesc.published column).
        Returns:
        java.lang.String. The published value used for the search.
      • getPublishedOperator

        public java.lang.String getPublishedOperator()
        A user can choose one of the following operators as search operators: =, <, >, !=, <=, >=. The value in this variable is used to store a user's choice. The value must be any one of the following: 'EQUAL,' 'NOTEQUAL,' 'GREATER,' 'LESS,' 'GREATER_EQUAL,' 'LESS_EQUAL.'
        Returns:
        java.lang.String. The published operator value used for the search.
      • getResultCount

        public java.lang.String getResultCount()
        Returns resultCount
        Overrides:
        getResultCount in class SearchBaseDataBean
        Returns:
        The number of rows retrieved for this search criteria.
      • getResultList

        public CategoryDataBean[] getResultList()
        resultList (CatalogDataBean) : Search results as array of CatalogDataBeans from resultSet variable.
        Returns:
        com.ibm.commerce.catalog.beans.CategoryDataBean[]
      • getResultName

        public java.lang.String getResultName()
        Column names for building a result set. See valid column names in AttributeInfoDictionary.initialize().
        Returns:
        java.lang.String. The result name value used for the search.
      • getResultSet

        public java.util.Vector getResultSet()
        Search results as vector of vectors of strings containing rows with result set columns where first column must be Catalog ids.
        Returns:
        java.util.Vector. The result set value used for the search.
      • getResultSetName

        public java.util.Vector getResultSetName()
        Search results as vector of vectors of strings containing result set column names.
        Returns:
        java.lang.String. The result set name value used for the search.
      • getShortDesc

        public java.lang.String getShortDesc()
        The value of this variable is used in search based on category shortdescription (Catgrpdesc. shortdescription column).
        Returns:
        java.lang.String. The short description value used for the search.
      • getShortDescCaseSensitive

        public java.lang.String getShortDescCaseSensitive()
        A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
        Returns:
        java.lang.String. The short description case sensitive value used for the search.
      • getShortDescOperator

        public java.lang.String getShortDescOperator()
        A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL' (for equal operator).
        Returns:
        java.lang.String. The short description operator value used for the search.
      • getShortDescType

        public java.lang.String getShortDescType()
        A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria),
        Returns:
        java.lang.String. The short description type value used for the search.
      • getStoreId

        public java.lang.String getStoreId()
        A user can specify the store to search on. It can be single store or multiple store. In case of multiple store each store has to be delimited by ','.
        Returns:
        java.lang.String. The store ID value used for the search.
      • getStoreIdOperator

        public java.lang.String getStoreIdOperator()
        A user can choose one of the following operators as search operators: =, <, >, !=, <=, >=. The value in this variable is used to store a user's choice. The value must be any one of the following: EQUAL, NOTEQUAL, GREATER, LESS, GREATER_EQUAL, LESS_EQUAL, IN.
        Returns:
        java.lang.String. The store ID operator value used for the search.
      • getCatalogIdOperator

        public java.lang.String getCatalogIdOperator()
        A user can choose one of the following operators as search operators: =, <, >, !=, <=, >=. The value in this variable is used to store a user's choice. The value must be any one of the following: EQUAL, NOTEQUAL, GREATER, LESS, GREATER_EQUAL, LESS_EQUAL, IN.
        Returns:
        java.lang.String. The catalog ID operator value used for the search.
      • getCatalogId

        public java.lang.String getCatalogId()
        A user can specify the catalog to search on.
        Returns:
        java.lang.String. The catalog ID value used for the search.
      • getUserId

        public int getUserId()
        The userId from command context.
        Returns:
        int. The user ID value used for the search.
      • setDistinct

        public void setDistinct(java.lang.String newDistinct)
        Defines SQL distinct qualifier. It is useful when using order by where distinct qualifier is not permitted.
        Parameters:
        newDistinct - java.lang.String. Defines SQL distinct qualifier. It is useful when using order by where distinct qualifier is not permitted.
      • setIdentifier

        public void setIdentifier(java.lang.String newIdentifier)
        The value of this variable is used in search based on catgroup identifier (Catgroup.identifier column).
        Parameters:
        newIdentifier - java.lang.String. The identifier used in the search.
      • setIdentifierCaseSensitive

        public void setIdentifierCaseSensitive(java.lang.String newIdentifierCaseSensitive)
        A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
        Parameters:
        newIdentifierCaseSensitive - java.lang.String. The case sensitive status of the search, either 'yes' or 'no'.
      • setIdentifierOperator

        public void setIdentifierOperator(java.lang.String newIdentifierOperator)
        A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL' (for equal operator).
        Parameters:
        newIdentifierOperator - java.lang.String. The identifier operator, either 'LIKE', or 'EQUAL'.
      • setIdentifierType

        public void setIdentifierType(java.lang.String newIdentifierType)
        A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria), 'ANY'(for Any search criteria) and 'EXACT'(for Exact phrase criteria).
        Parameters:
        newIdentifierType - java.lang.String. The identifier search criteria, either 'ALL', 'ANY', or 'EXACT'.
      • setKeyword

        public void setKeyword(java.lang.String newKeyword)
        The value of this variable is used in search based on catgroup keyword (Catgrpdesc.keyword column).
        Parameters:
        newKeyword - java.lang.String. the keyword used for the search.
      • setKeywordCaseSensitive

        public void setKeywordCaseSensitive(java.lang.String newKeywordCaseSensitive)
        A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
        Parameters:
        newKeywordCaseSensitive - java.lang.String. The case sensitive status for the keyword, either 'yes' or 'no'
      • setKeywordOperator

        public void setKeywordOperator(java.lang.String newKeywordOperator)
        A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL' (for equal operator).
        Parameters:
        newKeywordOperator - java.lang.String. The operator used for the keyword, either 'LIKE' or 'EQUAL'.
      • setKeywordType

        public void setKeywordType(java.lang.String newKeywordType)
        A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria), 'ANY'(for Any search criteria) and 'EXACT'(for Exact phrase criteria).
        Parameters:
        newKeywordType - java.lang.String. The search criteria value for the keyword, either 'ALL', 'ANY', or 'EXACT'
      • setLangId

        public void setLangId(java.lang.String newLangId)
        The langId for to search. If not provided the default from command context will be used.
        Parameters:
        newLangId - java.lang.String. The language ID for the search.
      • setLastUpdate

        public void setLastUpdate(java.lang.String newLastUpdate)
        The value of this variable is used in search based on Lastupdate (category.Lastupdate column).
        Parameters:
        newLastUpdate - java.lang.String. The last update value used for the search.
      • setLastUpdateOperator

        public void setLastUpdateOperator(java.lang.String newLastUpdateOperator)
        A user can choose one of the following operators as search operators: =, <, >, !=, <=, >=. The value in this variable is used to store a user's choice. The value must be any one of the following: 'EQUAL,' 'NOTEQUAL,' 'GREATER,' 'LESS,' 'GREATER_EQUAL,' 'LESS_EQUAL.'
        Parameters:
        newLastUpdateOperator - java.lang.String. The last update operator used for the search, one of 'EQUAL,' 'NOTEQUAL,' 'GREATER,' 'LESS,' 'GREATER_EQUAL,' 'LESS_EQUAL'.
      • setLongDesc

        public void setLongDesc(java.lang.String newLongDesc)
        The value of this variable is used in search based on category longdescription (Catgrpdesc.longdescription column).
        Parameters:
        newLongDesc - java.lang.String. The long description used for the search.
      • setLongDescCaseSensitive

        public void setLongDescCaseSensitive(java.lang.String newLongDescCaseSensitive)
        A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
        Parameters:
        newLongDescCaseSensitive - java.lang.String. The long description case sensitive value, either ''yes' or 'no'.
      • setLongDescOperator

        public void setLongDescOperator(java.lang.String newLongDescOperator)
        A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL' (for equal operator).
        Parameters:
        newLongDescOperator - java.lang.String. The long description operator, either 'LIKE' or 'EQUAL'.
      • setLongDescType

        public void setLongDescType(java.lang.String newLongDescType)
        A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria), 'ANY'(for Any search criteria) and 'EXACT'(for Exact phrase criteria).
        Parameters:
        newLongDescType - java.lang.String. The long description search criteria value, either 'ALL', 'ANY', or 'EXACT'.
      • setMarkForDelete

        public void setMarkForDelete(java.lang.String newMarkForDelete)
        The value is used to search on markForDelete (category.markfordelete column).
        Parameters:
        newMarkForDelete - java.lang.String. The mark for delete flag value used in the search.
      • setMarkForDeleteOperator

        public void setMarkForDeleteOperator(java.lang.String newMarkForDeleteOperator)
        A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL' (for equal operator).
        Parameters:
        newMarkForDeleteOperator - java.lang.String. The mark for delete flag operator, either 'LIKE' or 'EQUAL'.
      • setName

        public void setName(java.lang.String newName)
        The value of this variable is used in search based on Category name (Category.name column).
        Parameters:
        newName - java.lang.String. The category name used for the search.
      • setNameCaseSensitive

        public void setNameCaseSensitive(java.lang.String newNameCaseSensitive)
        A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
        Parameters:
        newNameCaseSensitive - java.lang.String. The category name case sensitive value, either 'yes' or 'no'.
      • setNameTermOperator

        public void setNameTermOperator(java.lang.String newNameTermOperator)
        A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL' (for equal operator).
        Parameters:
        newNameTermOperator - java.lang.String. The category name term operator, either 'LIKE' or 'EQUAL'.
      • setNameType

        public void setNameType(java.lang.String newNameType)
        A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria), 'ANY'(for Any search criteria) and 'EXACT'(for Exact phrase criteria).
        Parameters:
        newNameType - java.lang.String. The category name search criteria, either 'ALL', 'ANY', or 'EXACT'.
      • setOrderBy1

        public void setOrderBy1(java.lang.String newOrderBy1)
        Result set will be sorted by this attribute.
        Parameters:
        newOrderBy1 - java.lang.String. The 1st attribute name to order by.
      • setOrderByOperator1

        public void setOrderByOperator1(java.lang.String newOrderByOperator1)
        Attributes can be sorted by ascending (default) or descending order.
        Parameters:
        newOrderByOperator1 - java.lang.String. The short type, either the default ascending or descending
      • setPublished

        public void setPublished(java.lang.String newPublished)
        The value is used to search on published (Catgrpdesc.published column).
        Parameters:
        newPublished - java.lang.String. The published value used for the search.
      • setPublishedOperator

        public void setPublishedOperator(java.lang.String newPublishedOperator)
        A user can choose one of the following operators as search operators: =, <, >, !=, <=, >=. The value in this variable is used to store a user's choice. The value must be any one of the following: 'EQUAL,' 'NOTEQUAL,' 'GREATER,' 'LESS,' 'GREATER_EQUAL,' 'LESS_EQUAL.'
        Parameters:
        newPublishedOperator - java.lang.String. The operator used for the published value, one of 'EQUAL,' 'NOTEQUAL,' 'GREATER,' 'LESS,' 'GREATER_EQUAL,' 'LESS_EQUAL'.
      • setResultCount

        public void setResultCount(java.lang.String newResultCount)
        To set resultCount.
        Overrides:
        setResultCount in class SearchBaseDataBean
        Parameters:
        newResultCount - java.lang.String. The result count.
      • setResultList

        public void setResultList(CategoryDataBean[] newResultList)
        Search results as array of CategoryDataBean from resultSet variable.
        Parameters:
        newResultList - com.ibm.commerce.catalog.beans.CategoryDataBean[]. The search results as an array of CategoryDataBeans.
      • setResultName

        public void setResultName(java.lang.String newResultName)
        Column names for building a result set. See valid column names in AttributeInfoDictionary.initialize().
        Parameters:
        newResultName - java.lang.String . The column name for building a result set.
      • setResultSet

        public void setResultSet(java.util.Vector newResultSet)
        Search results as vector of vectors of strings containing rows with result set columns where first column must be Category ids.
        Parameters:
        newResultSet - java.util.Vector. A vector of vectors of strings contains rows with result set columns.
      • setResultSetName

        public void setResultSetName(java.lang.String newResultName)
        Search results as vector of vectors of strings containing result set column names.
        Parameters:
        setResultSetName - java.lang.String. A vector of vectors of strings containing result set column names.
      • setShortDesc

        public void setShortDesc(java.lang.String newShortDesc)
        The value of this variable is used in search based on category shortdescription (Catgrpdesc. shortdescription column).
        Parameters:
        newShortDesc - java.lang.String. The short description used for the search.
      • setShortDescCaseSensitive

        public void setShortDescCaseSensitive(java.lang.String newShortDescCaseSensitive)
        A user can choose case sensitive or case insensitive search. The value in this variable is used to identify if a search is case sensitive or not. The value must be either 'yes'(case sensitive search) or 'no'(case insensitive search).
        Parameters:
        newShortDescCaseSensitive - java.lang.String. The short description case sensitive status, either 'yes' or 'no'.
      • setShortDescOperator

        public void setShortDescOperator(java.lang.String newShortDescOperator)
        A user can choose either 'like' or 'equal' as search operators. The value in this variable is used to store a user's choice. The value must be either 'LIKE'(for like operator) or 'EQUAL' (for equal operator).
        Parameters:
        newShortDescOperator - java.lang.String. The short description search operator, either 'LIKE', or 'EQUAL'.
      • setShortDescType

        public void setShortDescType(java.lang.String newShortDescType)
        A user can specify three types of search criteria All, Any, Exact Phrase. The value in this variable is used to store a user's search criteria. The value must be 'ALL'(for All search criteria),
        Parameters:
        newShortDescType - java.lang.String. The short description search criteria, either 'ALL', 'ANY', or 'EXACT'.
      • setStoreId

        public void setStoreId(java.lang.String newStoreId)
        A user can specify the store to search on. It can be single store or multiple store. In case of multiple store each store has to be delimited by ','.
        Parameters:
        newStoreId - java.lang.String. The store ID to search.
      • setStoreIdOperator

        public void setStoreIdOperator(java.lang.String newStoreIdOperator)
        A user can choose one of the following operators as search operators: =, <, >, !=, <=, >=. The value in this variable is used to store a user's choice. The value must be any one of the following: EQUAL, NOTEQUAL, GREATER, LESS, GREATER_EQUAL, LESS_EQUAL, IN.
        Parameters:
        newStoreIdOperator - java.lang.String. The operator for the store ID, one of EQUAL, NOTEQUAL, GREATER, LESS, GREATER_EQUAL, LESS_EQUAL, 'IN'.
      • setCatalogId

        public void setCatalogId(java.lang.String newCatalogId)
        A user can specify the Catalog to search on.
        Parameters:
        newCatalogId - java.lang.String. The catalog ID to search on.
      • setCatalogIdOperator

        public void setCatalogIdOperator(java.lang.String newCatalogIdOperator)
        A user can choose one of the following operators as search operators: =, <, >, !=, <=, >=. The value in this variable is used to store a user's choice. The value must be any one of the following: EQUAL, NOTEQUAL, GREATER, LESS, GREATER_EQUAL, LESS_EQUAL, IN.
        Parameters:
        newCatalogIdOperator - java.lang.String. The operator for the catalog ID, one of EQUAL, NOTEQUAL, GREATER, LESS, GREATER_EQUAL, LESS_EQUAL, 'IN'.
      • setUserId

        public void setUserId(int newUserId)
        The userId from command context.
        Parameters:
        newUserId - int. The user ID for the search.