public class CustomerSearchDataBeanBase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The class name.
|
static java.lang.String |
COPYRIGHT
IBM Copyright
|
Constructor and Description |
---|
CustomerSearchDataBeanBase() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
findCSRAdmins(WhereClauseCondition aWhereClauseCondition,
java.lang.String astrOrderByTableName,
java.lang.String astrOrderByFieldName,
java.lang.String astrStartIndex,
java.lang.String astrMaxResults)
General purpose method for finding Customer Service Representative users with an Administrator role.
|
java.util.Vector |
findCSRAdmins(WhereClauseCondition aWhereClauseCondition,
java.lang.String astrOrderByTableName,
java.lang.String astrOrderByFieldName,
java.lang.String astrStartIndex,
java.lang.String astrMaxResults,
WhereClauseCondition accessFilterWhereClause)
General purpose method for finding Customer Service Representative users with an Administrator role.
|
java.util.Vector |
findOrganizationsICanAdminister(java.lang.String astrTaskName,
java.lang.String astrOrgName,
java.lang.String astrOrgNameSearchType,
java.lang.String astrParentOrgName,
java.lang.String astrParentOrgNameSearchType,
java.lang.String astrStartIndex,
java.lang.String astrMaxResults)
Gets a list of organizations on which the current user is allowed to perform specified administrative tasks.
|
java.util.Vector |
findOrganizationsWhereRoleIsPlayed(java.lang.String astrOrgName,
java.lang.String astrOrgNameSearchType,
java.lang.String astrStartIndex,
java.lang.String astrMaxResults)
Gets a list of organizations where the user plays any role, except Registered Customer role.
|
java.util.Vector |
findOrganizationsWhereRoleIsPlayedExcludingAD(java.lang.String astrOrgName,
java.lang.String astrOrgNameSearchType,
java.lang.String astrStartIndex,
java.lang.String astrMaxResults)
Gets a list of organizations where the user plays any role, except Registered Customer role.
|
java.util.Vector |
findRegisteredCustomers(WhereClauseCondition aWhereClauseCondition,
java.lang.String astrOrderByTableName,
java.lang.String astrOrderByFieldName,
java.lang.String astrStartIndex,
java.lang.String astrMaxResults)
General purpose method for finding Registered Customers.
|
java.util.Vector |
findRegisteredCustomers(WhereClauseCondition aWhereClauseCondition,
java.lang.String astrOrderByTableName,
java.lang.String astrOrderByFieldName,
java.lang.String astrStartIndex,
java.lang.String astrMaxResults,
java.util.List storeIds)
General purpose method for finding Registered Customers.
|
java.util.Vector |
findRegisteredCustomers(WhereClauseCondition aWhereClauseCondition,
java.lang.String astrOrderByTableName,
java.lang.String astrOrderByFieldName,
java.lang.String astrStartIndex,
java.lang.String astrMaxResults,
WhereClauseCondition accessFilterWhereClause)
General purpose method for finding Registered Customers.
|
java.util.Vector |
findRegisteredCustomerStores(WhereClauseCondition aWhereClauseCondition,
java.lang.Long aUserId,
java.lang.String astrOrderByTableName,
java.lang.String astrOrderByFieldName,
java.lang.String astrStartIndex,
java.lang.String astrMaxResults)
General purpose method for finding Store IDs for a registered customer.
|
java.util.Vector |
findUsersInOrganizationsICanAdminister(java.lang.String astrLogonId,
java.lang.String astrLogonIdSearchType,
java.lang.String astrFirstName,
java.lang.String astrFirstNameSearchType,
java.lang.String astrLastName,
java.lang.String astrLastNameSearchType,
java.lang.String astrParentOrgName,
java.lang.String astrParentOrgNameSearchType,
java.lang.String astrRoleId,
java.lang.String astrOrderByTableName,
java.lang.String astrOrderByFieldName,
java.lang.String astrStartIndex,
java.lang.String astrMaxResults)
Finds business users and administrators by at least one of the following search criteria:
user’s logonId,, first name, last name, role played, parent organization name.
|
java.util.Vector |
findUsersInOrganizationsICanAdminister(java.lang.String astrLogonId,
java.lang.String astrLogonIdSearchType,
java.lang.String astrFirstName,
java.lang.String astrFirstNameSearchType,
java.lang.String astrLastName,
java.lang.String astrLastNameSearchType,
java.lang.String astrParentOrgName,
java.lang.String astrParentOrgNameSearchType,
java.lang.String astrRoleId,
java.lang.String astrAccountStatus,
java.lang.String astrParentOrgId,
java.lang.String astrOrderByTableName,
java.lang.String astrOrderByFieldName,
java.lang.String astrStartIndex,
java.lang.String astrMaxResults)
Finds business users and administrators by at least one of the following search criteria:
user’s logonId,, first name, last name, parent organization name, role played, account status, parent organization Id.
|
java.util.Vector |
findUsersInOrganizationsICanAdminister(java.lang.String astrLogonId,
java.lang.String astrLogonIdSearchType,
java.lang.String astrFirstName,
java.lang.String astrFirstNameSearchType,
java.lang.String astrLastName,
java.lang.String astrLastNameSearchType,
java.lang.String astrParentOrgName,
java.lang.String astrParentOrgNameSearchType,
java.lang.String astrRoleId,
java.lang.String astrAccountStatus,
java.lang.String astrParentOrgId,
WhereClauseCondition customWhereClause,
java.lang.String astrOrderByTableName,
java.lang.String astrOrderByFieldName,
java.lang.String astrStartIndex,
java.lang.String astrMaxResults)
Finds business users and administrators by at least one of the following search criteria:
user’s logonId,, first name, last name, parent organization name, role played, account status, parent organization Id.
|
java.util.Vector |
findWorkspaceUsers(java.lang.String astrLogonId,
java.lang.String astrLogonIdSearchType,
java.lang.String astrFirstName,
java.lang.String astrFirstNameSearchType,
java.lang.String astrLastName,
java.lang.String astrLastNameSearchType,
java.util.Vector avctTargetRoleIds,
java.util.Vector avctRequesterRoleIds,
java.lang.String astrOrderByTableName,
java.lang.String astrOrderByFieldName,
java.lang.String astrStartIndex,
java.lang.String astrMaxResults)
Finds business users and administrators by at least one of the following search criteria:
user’s logonId,, first name, last name, and with a specific role played.
|
CommandContext |
getCommandContext()
Gets the command context.
|
java.lang.Integer |
getResultSize()
Gets the count of all elements retured by this search.
|
boolean |
getRetrieveCountOnly()
Returns the retrieveCountOnly flag.
|
void |
setCommandContext(CommandContext aCommandContext)
Sets the command context.
|
void |
setRetrieveCountOnly(boolean abRetrieveCountOnly)
Set whether or not to retrieve the count only.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public void setCommandContext(CommandContext aCommandContext)
aCommandContext
- The command context.public CommandContext getCommandContext()
public java.lang.Integer getResultSize()
public java.util.Vector findUsersInOrganizationsICanAdminister(java.lang.String astrLogonId, java.lang.String astrLogonIdSearchType, java.lang.String astrFirstName, java.lang.String astrFirstNameSearchType, java.lang.String astrLastName, java.lang.String astrLastNameSearchType, java.lang.String astrParentOrgName, java.lang.String astrParentOrgNameSearchType, java.lang.String astrRoleId, java.lang.String astrOrderByTableName, java.lang.String astrOrderByFieldName, java.lang.String astrStartIndex, java.lang.String astrMaxResults)
astrLogonId
- The user's logonId.astrLogonIdSearchType
- The search type (valid values are defined as
constants on the WhereClauseSearchConditions class).astrFirstName
- The user's first name.astrFirstNameSearchType
- The search type (valid values are defined as
constants on the WhereClauseSearchConditions class).astrLastName
- The user's last name.astrLastNameSearchType
- The search type (valid values are defined as
constants on the WhereClauseSearchConditions class).astrParentOrgName
- The user's parent organization name.astrParentOrgNameSearchType
- The parent organization name search type.astrRoleId
- The role Id to search by.astrOrderByTableName
- The table to order the results by.astrOrderByFieldName
- The field to order the results by.astrStartIndex
- The starting index.astrMaxResults
- The maximum number of results to return.public java.util.Vector findUsersInOrganizationsICanAdminister(java.lang.String astrLogonId, java.lang.String astrLogonIdSearchType, java.lang.String astrFirstName, java.lang.String astrFirstNameSearchType, java.lang.String astrLastName, java.lang.String astrLastNameSearchType, java.lang.String astrParentOrgName, java.lang.String astrParentOrgNameSearchType, java.lang.String astrRoleId, java.lang.String astrAccountStatus, java.lang.String astrParentOrgId, java.lang.String astrOrderByTableName, java.lang.String astrOrderByFieldName, java.lang.String astrStartIndex, java.lang.String astrMaxResults)
astrLogonId
- The user's logonId.astrLogonIdSearchType
- The search type (valid values are defined as
constants on the WhereClauseSearchConditions class).astrFirstName
- The user's first name.astrFirstNameSearchType
- The search type (valid values are defined as
constants on the WhereClauseSearchConditions class).astrLastName
- The user's last name.astrLastNameSearchType
- The search type (valid values are defined as
constants on the WhereClauseSearchConditions class).astrParentOrgName
- The user's parent organization name.astrParentOrgNameSearchType
- The parent organization name search type.astrRoleId
- The role Id to search by.astrAccountStatus
- The user's account status to search by.astrParentOrgId
- The Id of user's parent organization to search by.astrOrderByTableName
- The table to order the results by.astrOrderByFieldName
- The field to order the results by.astrStartIndex
- The starting index.astrMaxResults
- The maximum number of results to return.public java.util.Vector findUsersInOrganizationsICanAdminister(java.lang.String astrLogonId, java.lang.String astrLogonIdSearchType, java.lang.String astrFirstName, java.lang.String astrFirstNameSearchType, java.lang.String astrLastName, java.lang.String astrLastNameSearchType, java.lang.String astrParentOrgName, java.lang.String astrParentOrgNameSearchType, java.lang.String astrRoleId, java.lang.String astrAccountStatus, java.lang.String astrParentOrgId, WhereClauseCondition customWhereClause, java.lang.String astrOrderByTableName, java.lang.String astrOrderByFieldName, java.lang.String astrStartIndex, java.lang.String astrMaxResults)
astrLogonId
- The user's logonId.astrLogonIdSearchType
- The search type (valid values are defined as
constants on the WhereClauseSearchConditions class).astrFirstName
- The user's first name.astrFirstNameSearchType
- The search type (valid values are defined as
constants on the WhereClauseSearchConditions class).astrLastName
- The user's last name.astrLastNameSearchType
- The search type (valid values are defined as
constants on the WhereClauseSearchConditions class).astrParentOrgName
- The user's parent organization name.astrParentOrgNameSearchType
- The parent organization name search type.astrRoleId
- The role Id to search by.astrAccountStatus
- The user's account status to search by.astrParentOrgId
- The Id of user's parent organization to search by.customWhereClause
- Custom WhereClause condition which will be used in the final query.astrOrderByTableName
- The table to order the results by.astrOrderByFieldName
- The field to order the results by.astrStartIndex
- The starting index.astrMaxResults
- The maximum number of results to return.public java.util.Vector findRegisteredCustomers(WhereClauseCondition aWhereClauseCondition, java.lang.String astrOrderByTableName, java.lang.String astrOrderByFieldName, java.lang.String astrStartIndex, java.lang.String astrMaxResults)
aWhereClauseCondition
- The where clause conditions.astrOrderByTableName
- The table to order the results by.astrOrderByFieldName
- The field to order the results by.astrStartIndex
- The starting index.astrMaxResults
- The maximum number of results to return.public java.util.Vector findRegisteredCustomers(WhereClauseCondition aWhereClauseCondition, java.lang.String astrOrderByTableName, java.lang.String astrOrderByFieldName, java.lang.String astrStartIndex, java.lang.String astrMaxResults, java.util.List storeIds)
aWhereClauseCondition
- The where clause conditions.astrOrderByTableName
- The table to order the results by.astrOrderByFieldName
- The field to order the results by.astrStartIndex
- The starting index.astrMaxResults
- The maximum number of results to return.storeIds
- A list of store Idspublic java.util.Vector findRegisteredCustomers(WhereClauseCondition aWhereClauseCondition, java.lang.String astrOrderByTableName, java.lang.String astrOrderByFieldName, java.lang.String astrStartIndex, java.lang.String astrMaxResults, WhereClauseCondition accessFilterWhereClause)
aWhereClauseCondition
- The where clause conditions.astrOrderByTableName
- The table to order the results by.astrOrderByFieldName
- The field to order the results by.astrStartIndex
- The starting index.astrMaxResults
- The maximum number of results to return.accessFilterWhereClause
- Access filter where clausepublic java.util.Vector findRegisteredCustomerStores(WhereClauseCondition aWhereClauseCondition, java.lang.Long aUserId, java.lang.String astrOrderByTableName, java.lang.String astrOrderByFieldName, java.lang.String astrStartIndex, java.lang.String astrMaxResults)
aWhereClauseCondition
- The where clause conditions.aUserId
- Customer user IDastrOrderByTableName
- The table to order the results by.astrOrderByFieldName
- The field to order the results by.astrStartIndex
- The starting index.astrMaxResults
- The maximum number of results to return.public java.util.Vector findOrganizationsWhereRoleIsPlayedExcludingAD(java.lang.String astrOrgName, java.lang.String astrOrgNameSearchType, java.lang.String astrStartIndex, java.lang.String astrMaxResults)
astrOrgName
- astrOrgNameSearchType
- astrStartIndex
- astrMaxResults
- public java.util.Vector findOrganizationsWhereRoleIsPlayed(java.lang.String astrOrgName, java.lang.String astrOrgNameSearchType, java.lang.String astrStartIndex, java.lang.String astrMaxResults)
astrOrgName
- astrOrgNameSearchType
- astrStartIndex
- astrMaxResults
- public java.util.Vector findOrganizationsICanAdminister(java.lang.String astrTaskName, java.lang.String astrOrgName, java.lang.String astrOrgNameSearchType, java.lang.String astrParentOrgName, java.lang.String astrParentOrgNameSearchType, java.lang.String astrStartIndex, java.lang.String astrMaxResults)
astrTaskName
- One of the following task names "Manage" (default used by Organization Administration Console),
"ManageExcludingAD", "ManageO" (default used by Store Publish), "ManageOU", "AssignRoleToUser".
The tasks are as follows:
Manage The list of organizational entities (OrgEntityType = "O" or "OU" or "AD") that the current user is allowed to manage and perform administrative tasks such as updating the profile. These are the organizations where the user has one of the following administrative roles: Site Administrator, Seller Administrator, Buyer Administrator or Channel Manager. It also includes organizations that are part of the RegisteredCustomers member group that is owned by an organization where the user plays one of the following roles: Seller Administrator, Customer Service Representative or Customer Service Supervisor. ManageExcludingAD The list of organizations and organization units (OrgEntityType="O" or "OU")that the current user can manage (same as Manage task). ManageO The list of organizations (OrgEntityType="O") that the current user can manage. ManageOU The list of organization units (OrgEntityType="OU") that the current user can manage. AssignRoleToUser The organizations for which the current user is allowed to assign roles to other users. This includes organizations where the current user has one of the following roles: Site Administrator, Seller Administrator, Buyer Administrator, Channel Manager, Customer Service Representative or Customer Service Supervisor. It also includes organizations that are part of the RegisteredCustomers member group that is owned by an organization in which the current user plays one of the following roles: Seller Administrator, Customer Service Representative or Customer Service Supervisor. The list includes Authorization Domain organizations.
astrOrgName
- astrOrgNameSearchType
- astrParentOrgName
- astrParentOrgNameSearchType
- astrStartIndex
- astrMaxResults
- public java.util.Vector findCSRAdmins(WhereClauseCondition aWhereClauseCondition, java.lang.String astrOrderByTableName, java.lang.String astrOrderByFieldName, java.lang.String astrStartIndex, java.lang.String astrMaxResults)
aWhereClauseCondition
- The where clause conditions.astrOrderByTableName
- The table to order the results by.astrOrderByFieldName
- The field to order the results by.astrStartIndex
- The starting index.astrMaxResults
- The maximum number of results to return.public java.util.Vector findCSRAdmins(WhereClauseCondition aWhereClauseCondition, java.lang.String astrOrderByTableName, java.lang.String astrOrderByFieldName, java.lang.String astrStartIndex, java.lang.String astrMaxResults, WhereClauseCondition accessFilterWhereClause)
aWhereClauseCondition
- The where clause conditions.astrOrderByTableName
- The table to order the results by.astrOrderByFieldName
- The field to order the results by.astrStartIndex
- The starting index.astrMaxResults
- The maximum number of results to return.accessFilterWhereClause
- Access filter where clausepublic java.util.Vector findWorkspaceUsers(java.lang.String astrLogonId, java.lang.String astrLogonIdSearchType, java.lang.String astrFirstName, java.lang.String astrFirstNameSearchType, java.lang.String astrLastName, java.lang.String astrLastNameSearchType, java.util.Vector avctTargetRoleIds, java.util.Vector avctRequesterRoleIds, java.lang.String astrOrderByTableName, java.lang.String astrOrderByFieldName, java.lang.String astrStartIndex, java.lang.String astrMaxResults)
astrLogonId
- The user's logonId.astrLogonIdSearchType
- The search type (valid values are defined as
constants on the WhereClauseSearchConditions class).astrFirstName
- The user's first name.astrFirstNameSearchType
- The search type (valid values are defined as
constants on the WhereClauseSearchConditions class).astrLastName
- The user's last name.astrLastNameSearchType
- The search type (valid values are defined as
constants on the WhereClauseSearchConditions class).avctTargetRoleIds
- Vector of role Id's to search by.avctRequesterRoleIds
- Vector of role Id's of requester.astrOrderByTableName
- The table to order the results by.astrOrderByFieldName
- The field to order the results by.astrStartIndex
- The starting index.astrMaxResults
- The maximum number of results to return.public void setRetrieveCountOnly(boolean abRetrieveCountOnly)
abRetrieveCountOnly
- true if the query should return the count only; false if it
should return the full java.sql.ResultSet .public boolean getRetrieveCountOnly()