java.lang.Object | +--com.ibm.commerce.tools.util.CommonSearchHelperBean | +--com.ibm.commerce.tools.contract.beans.AccountListDataBean
Find Accounts in a store
Field Summary | |
---|---|
protected
AccountDataBean[] |
_deleteAccountList |
static java.lang.String |
ORDER_BY_CUSTOMER The order by constants used in the dynamic list representation of this bean |
static java.lang.String |
ORDER_BY_REPRESENTATIVE The order by constants used in the dynamic list representation of this bean |
Constructor Summary | |
---|---|
AccountListDataBean() Create a AccountListDataBean |
Method Summary | |
---|---|
java.lang.String |
buildQuery() Construct the database query |
void |
buildResultDataBean(java.util.Vector resultVector) Construct the list of data beans |
AccountDataBean[] |
getAccountList() Get the list of entries that were found |
AccountDataBean |
getAccountListData(int index) Get a specific entry that was found |
com.ibm.commerce.security.Protectable |
getDelegate() Return the access control delegate of this databean |
AccountDataBean[] |
getMarkForDeleteAccountList() Get the list of accounts that have been marked to be deleted |
int |
getNumberOfAccounts() Gets the numberOfAccounts |
java.lang.Long |
getOwner() Return the member reference number of the owner of the account |
void |
setAccountList(java.util.Vector newAccountList) Set the list of results found |
void |
setAccountNameLike(java.lang.String anl) Sets the search parameter for the account name |
void |
setNumberOfAccounts(int numberOfAccounts) Sets the number of accounts |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
protected AccountDataBean[] _deleteAccountList
public static final java.lang.String ORDER_BY_CUSTOMER
public static final java.lang.String ORDER_BY_REPRESENTATIVE
Constructor Detail |
---|
public AccountListDataBean()
Method Detail |
---|
public java.lang.String buildQuery() throws java.lang.Exception
java.lang.Exception
public void buildResultDataBean(java.util.Vector resultVector)
resultVector
- the result vector returned from the query
executionpublic AccountDataBean[] getAccountList()
public com.ibm.commerce.security.Protectable getDelegate() throws java.lang.Exception
java.lang.Exception
public AccountDataBean[] getMarkForDeleteAccountList()
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException
java.rmi.RemoteException
java.lang.Exception
public AccountDataBean getAccountListData(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- the index of the result arrayjava.lang.ArrayIndexOutOfBoundsException
public void setAccountList(java.util.Vector newAccountList)
newAccountList
- the result list to setpublic int getNumberOfAccounts()
public void setNumberOfAccounts(int numberOfAccounts)
numberOfAccounts
- the number of accountspublic void setAccountNameLike(java.lang.String anl)