public class TicklerListDataBean extends TicklerListDataBeanBase implements TicklerListInputDataBean, TicklerListSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
TicklerListDataBean() |
Modifier and Type | Method and Description |
---|---|
protected void | findAllResponsibleTicklers()
Deprecated.
since version 6.0. This method is replaced by the method findResponsibleTicklers.
|
protected void | findResponsibleTicklers()
This method gets the list of responsible ticklers.
|
java.lang.String[] | getActionObjectTypes()
This method gets the action object types on search type option.
|
protected java.util.List | getAllRoles(TicklerAccessBean ticklerBean, java.lang.String repId)
This method gets the roles of the Customer Service Representative on the tickler store.
|
java.lang.String | getCustomerId()
This method gets the primary ID of the customer.
|
java.lang.String | getDataBeanKeyResponsibleMemberId()
This method gets the ID of the responsible Customer Service Supervisor or Customer Service Representative team.
|
int | getLength()
This method gets the length of the List.
|
java.sql.Timestamp | getNextTickleDateED()
This method gets the reminder on end time of the tickler.
|
java.sql.Timestamp | getNextTickleDateSD()
This method gets the reminder on start time of the tickler.
|
java.lang.String | getOrderBy()
This method gets the sorting parameter of the tickler list.
|
protected java.lang.String[] | getRepresentativeRoleIds()
This method gets the list of Customer Service representative role IDs.
|
java.lang.String[] | getResponsibleMemberIds()
This method gets the IDs of the responsible Customer Service Supervisor or Customer Service Representative team.
|
int | getRowCount()
This method gets the number of total records.
|
com.ibm.commerce.base.util.SortingAttribute | getSortingAttribute()
This method gets the sorting attribute.
|
java.lang.String[] | getStatusList()
This method gets the status list of the ticklers.
|
java.lang.String[] | getStoreIds()
This method gets the IDs of the tickler store.
|
protected java.lang.String[] | getSupervisorRoleIds()
This method gets the list of Customer Service supervisor role IDs.
|
java.lang.String | getTicklerId()
This method gets the tickler ID.
|
TicklerDataBean[] | getTicklerList()
This method gets the list of ticklers.
|
java.lang.String | getUserId()
This method gets the ID of the Customer Service Representative.
|
boolean | isRepresentative(java.util.List roles)
This method determines if the user has Customer Service Representative role or not.
|
boolean | isResponsibleForTickler(TicklerAccessBean ticklerBean, java.lang.String repId, java.util.List roles)
This method determines if the user is responsible for the tickler or not.
|
boolean | isSupervisor(java.util.List roles)
This method will determines if the user has Customer Service Supervisor role or not.
|
void | populate()
This method fetches the list of responsible ticklers.
|
void | setActionObjectTypes(java.lang.String[] newActionObjectTypes)
This method set the action object types of the tickler.
|
void | setCustomerId(java.lang.String customerId)
This method sets the primary ID of the customer.
|
void | setDataBeanKeyResponsibleMemberId(java.lang.String newResponsibleMemberId)
This method sets the ID of the responsible Customer Service Supervisor or Customer Service Representative team.
|
void | setInitialPosition(int initialPosition)
This method sets the initial position of the cursor.
|
void | setNextTickleDateED(java.sql.Timestamp newNextTickleDateED)
This method sets the reminder on end time of the tickler.
|
void | setNextTickleDateSD(java.sql.Timestamp newNextTickleDateSD)
This method sets the reminder on start time of the tickler.
|
void | setOrderBy(java.lang.String newOrderBy)
This method sets the sorting parameter of the tickler list.
|
void | setRequestProperties(TypedProperty param)
Copies the input parameters supplied as a TypedProperty and sets the Customer Service Supervisor or Customer Service Representative team ID.
|
void | setResponsibleMemberIds(java.lang.String[] newResponsibleMemberIds)
This method sets the IDs of the responsible Customer Service Supervisor or Customer Service Representative team.
|
void | setSize(int size)
This method sets the number of records to retrieve.
|
void | setSortingAttribute(com.ibm.commerce.base.util.SortingAttribute newSortAtt)
This method sets the sorting attribute.
|
void | setStatusList(java.lang.String[] newStatusList)
This method sets the status list of the ticklers.
|
void | setStoreIds(java.lang.String[] newStoreIds)
This method sets the IDs of the tickler store.
|
void | setTicklerId(java.lang.String ticklerId)
This method sets the tickler ID.
|
void | setTicklerList(TicklerDataBean[] newListDataBean)
This method sets the list of ticklers.
|
void | setUserId(java.lang.String newUserId)
This method sets the ID of the Customer Service Representative.
|
public static final java.lang.String COPYRIGHT
protected java.lang.String[] getRepresentativeRoleIds()
protected java.lang.String[] getSupervisorRoleIds()
public int getLength()
public com.ibm.commerce.base.util.SortingAttribute getSortingAttribute()
public void setSortingAttribute(com.ibm.commerce.base.util.SortingAttribute newSortAtt)
public TicklerDataBean[] getTicklerList()
public void setTicklerList(TicklerDataBean[] newListDataBean)
public java.lang.String getDataBeanKeyResponsibleMemberId()
public void setDataBeanKeyResponsibleMemberId(java.lang.String newResponsibleMemberId)
public java.lang.String getUserId()
public void setUserId(java.lang.String newUserId)
public java.lang.String[] getStatusList()
public void setStatusList(java.lang.String[] newStatusList)
public java.lang.String[] getStoreIds()
public void setStoreIds(java.lang.String[] newStoreIds)
public java.lang.String[] getActionObjectTypes()
ORDER=Order QUOTE=Quote RMA=Return USER=Customer
public void setActionObjectTypes(java.lang.String[] newActionObjectTypes)
ORDER=Order QUOTE=Quote RMA=Return USER=Customer
public java.lang.String[] getResponsibleMemberIds()
public void setResponsibleMemberIds(java.lang.String[] newResponsibleMemberIds)
public java.sql.Timestamp getNextTickleDateSD()
public void setNextTickleDateSD(java.sql.Timestamp newNextTickleDateSD)
public java.sql.Timestamp getNextTickleDateED()
public void setNextTickleDateED(java.sql.Timestamp newNextTickleDateED)
public java.lang.String getCustomerId()
public void setCustomerId(java.lang.String customerId)
public java.lang.String getTicklerId()
public void setTicklerId(java.lang.String ticklerId)
public java.lang.String getOrderBy()
public void setOrderBy(java.lang.String newOrderBy)
public void setInitialPosition(int initialPosition)
public void setSize(int size)
public int getRowCount()
public void setRequestProperties(TypedProperty param) throws java.lang.Exception
public void populate() throws java.lang.Exception
If the method setDataBeanKeyResponsibleMemberId is called before to set the ID of the responsible Customer Service Supervisor or Customer Service Representative team, this method will construct the list of TicklerDataBean based on the pre-set responsible Customer Service Representative ID or team. Otherwise, this method will get the IDs of ticklers that the representative can access and meet the given search criteria. These tickler IDs will be used to construct the list of TicklerDataBean which can be retrieved by calling the method getTicklerList.
protected void findResponsibleTicklers()
This method calls the method findResponsibleTicklerList to get the IDs of ticklers that the representative can access and meet the given search criteria. These tickler IDs will be used to construct the list of TicklerDataBean which can be retrieved by calling the method getTicklerList.
protected void findAllResponsibleTicklers()
This method calls the method findTicklerList to get the IDs of ticklers that are not locked by other representatives and meet the given search criteria. These tickler IDs will be used to construct the list of TicklerDataBean which can be retrieved by calling the method getTicklerList.
protected java.util.List getAllRoles(TicklerAccessBean ticklerBean, java.lang.String repId) throws java.lang.Exception, java.rmi.RemoteException
public boolean isSupervisor(java.util.List roles) throws java.lang.Exception, java.rmi.RemoteException
public boolean isRepresentative(java.util.List roles) throws java.lang.Exception, java.rmi.RemoteException
public boolean isResponsibleForTickler(TicklerAccessBean ticklerBean, java.lang.String repId, java.util.List roles) throws java.lang.Exception, java.rmi.RemoteException