com.ibm.commerce.user.beans

Class MemberGroupListDataBean

    • Field Detail

    • Constructor Detail

      • MemberGroupListDataBean

        public MemberGroupListDataBean()
        Null argument constructor.
    • Method Detail

      • setSearchCriteria

        public void setSearchCriteria(java.lang.Long adminId,
                                      java.lang.String memberGroupName,
                                      java.lang.Integer usageType,
                                      java.lang.String searchType)
        To specify the search criteria option before invoking the method populates(). Please see the following details for proper usage.
        Parameters:
        adminId - the administrator's users ID.
        memberGroupName - the part of the member group name used to search.
        usageType - the member group type.
        searchType - specify the search criteria option, the valid options:
        • 0 - No criteria, it will search all eligible users that allow the current logon user to administrate,
        • 1 - Match case, beginning with,
        • 2 - Match case, containing,
        • 3 - Ignore case, beginning with,
        • 4 - Ignore case, containing,
        • 5 - Exact match.
      • populate

        public void populate()
                      throws java.lang.Exception
        Populates the data bean.
        Specified by:
        populate in interface SmartDataBean
        Overrides:
        populate in class SmartDataBeanImpl
        Throws:
        java.lang.Exception - Thrown when MemberGroupAccessBean cannot search the data according to search criteria.
      • getMemberGroupLength

        public int getMemberGroupLength()
        Gets length of the search results.
        Returns:
        the length of the search results.
      • getMemberGroupIds

        public java.util.Vector getMemberGroupIds()
        Gets a vector of the member group IDs
        Returns:
        the vector of member group Ids.
      • getMemberGroupNames

        public java.util.Vector getMemberGroupNames()
        Gets a vector of the member group names.
        Returns:
        the vector of member group names.