public class TicklerListDataBean extends TicklerListDataBeanBase implements TicklerListInputDataBean, TicklerListSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
emptyString
Constructor and Description |
---|
TicklerListDataBean() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getActionObjectTypes()
This method gets the action object types on search type option.
|
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.
|
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.
|
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.
|
getDelegate
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCommandContext, setCommandContext
getRequestProperties
public static final java.lang.String COPYRIGHT
public int getLength()
public com.ibm.commerce.base.util.SortingAttribute getSortingAttribute()
public void setSortingAttribute(com.ibm.commerce.base.util.SortingAttribute newSortAtt)
newSortAtt
- new sorting attributepublic TicklerDataBean[] getTicklerList()
getTicklerList
in interface TicklerListSmartDataBean
public void setTicklerList(TicklerDataBean[] newListDataBean)
setTicklerList
in interface TicklerListInputDataBean
newListDataBean
- list of ticklerspublic java.lang.String getDataBeanKeyResponsibleMemberId()
getDataBeanKeyResponsibleMemberId
in interface TicklerListSmartDataBean
public void setDataBeanKeyResponsibleMemberId(java.lang.String newResponsibleMemberId)
setDataBeanKeyResponsibleMemberId
in interface TicklerListInputDataBean
newResponsibleMemberId
- ID of the Customer Service Supervisor or Customer Service Representative teampublic java.lang.String getUserId()
getUserId
in interface TicklerListSmartDataBean
public void setUserId(java.lang.String newUserId)
setUserId
in interface TicklerListInputDataBean
newUserId
- ID of the Customer Service Representativepublic java.lang.String[] getStatusList()
getStatusList
in interface TicklerListSmartDataBean
public void setStatusList(java.lang.String[] newStatusList)
setStatusList
in interface TicklerListInputDataBean
newStatusList
- status list of the ticklers.public java.lang.String[] getStoreIds()
getStoreIds
in interface TicklerListSmartDataBean
public void setStoreIds(java.lang.String[] newStoreIds)
setStoreIds
in interface TicklerListInputDataBean
newStoreIds
- IDs of the tickler store.public java.lang.String[] getActionObjectTypes()
ORDER=Order QUOTE=Quote RMA=Return USER=Customer
getActionObjectTypes
in interface TicklerListSmartDataBean
public void setActionObjectTypes(java.lang.String[] newActionObjectTypes)
ORDER=Order QUOTE=Quote RMA=Return USER=Customer
setActionObjectTypes
in interface TicklerListInputDataBean
newActionObjectTypes
- action object typespublic java.lang.String[] getResponsibleMemberIds()
getResponsibleMemberIds
in interface TicklerListSmartDataBean
public void setResponsibleMemberIds(java.lang.String[] newResponsibleMemberIds)
setResponsibleMemberIds
in interface TicklerListInputDataBean
newResponsibleMemberIds
- IDs of the Customer Service Supervisor or Customer Service Representative teampublic java.sql.Timestamp getNextTickleDateSD()
getNextTickleDateSD
in interface TicklerListSmartDataBean
public void setNextTickleDateSD(java.sql.Timestamp newNextTickleDateSD)
setNextTickleDateSD
in interface TicklerListInputDataBean
newNextTickleDateSD
- The remind on start time.public java.sql.Timestamp getNextTickleDateED()
getNextTickleDateED
in interface TicklerListSmartDataBean
public void setNextTickleDateED(java.sql.Timestamp newNextTickleDateED)
setNextTickleDateED
in interface TicklerListInputDataBean
newNextTickleDateED
- The remind on end time.public java.lang.String getCustomerId()
public void setCustomerId(java.lang.String customerId)
customerId
- customer IDpublic java.lang.String getTicklerId()
public void setTicklerId(java.lang.String ticklerId)
ticklerId
- tickler IDpublic java.lang.String getOrderBy()
public void setOrderBy(java.lang.String newOrderBy)
newOrderBy
- The list sorting parameter.public void setInitialPosition(int initialPosition)
initialPosition
- initial position of the cursorpublic void setSize(int size)
size
- sizepublic int getRowCount()
public void setRequestProperties(TypedProperty param) throws java.lang.Exception
TypedProperty
and sets the Customer Service Supervisor or Customer Service Representative team ID.
The Customer Service Supervisor or Customer Service Representative team ID is set to the value of the assignToMemberId
request parameter
if the Customer Service Supervisor or Customer Service Representative team ID has not already been set and the assignToMemberId
request parameter is present.setRequestProperties
in interface InputDataBean
setRequestProperties
in class InputDataBeanImpl
param
- request parametersjava.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
.
populate
in interface SmartDataBean
populate
in class SmartDataBeanImpl
java.lang.Exception
- thrown on any access bean errorsetDataBeanKeyResponsibleMemberId(java.lang.String)
,
getTicklerList()
public boolean isSupervisor(java.util.List roles) throws java.lang.Exception
roles
- The roles of the Representative on the tickler storejava.lang.Exception
public boolean isRepresentative(java.util.List roles) throws java.lang.Exception
roles
- The customer representative roles of the service representative on the tickler storejava.lang.Exception
public boolean isResponsibleForTickler(TicklerAccessBean ticklerBean, java.lang.String repId, java.util.List roles) throws java.lang.Exception
ticklerBean
- The ticklerrepId
- ID of the userroles
- The roles of the service representative on the tickler storejava.lang.Exception