public class ShowTicklerAssignee extends TicklerAssignee
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
Class Name
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field
|
Constructor and Description |
---|
ShowTicklerAssignee() |
Modifier and Type | Method and Description |
---|---|
protected void | buildDataArea()
This method builds Data Area subsection of the response Business Object Document(BOD).
|
protected org.w3c.dom.Element | createPersonElement(TicklerAssigneeSearchResultBean abnTicklerAssigneeSearchResult, org.w3c.dom.Element aParentElement)
This method builds the Person element with the base information.
|
protected org.w3c.dom.Element | createTicklerAssigneeElement(TicklerAssigneeSearchResultBean abnTicklerAssigneeSearchResult, org.w3c.dom.Element aParentElement)
This method builds the TicklerAssignee element.
|
java.util.ArrayList | executeGetServiceReps(SearchCriteria aSearchCriteria)
This method retrieves the list of service representatives that meets the given search criteria.
|
java.util.ArrayList | executeGetServiceRepsInTeam(SearchCriteria aSearchCriteria)
This method retrieves the list of service representatives in the team that meets the given search criteria.
|
java.util.ArrayList | executeGetServiceTeams(SearchCriteria aSearchCriteria)
This method retrieves the list of service teams that meets the given search criteria.
|
java.util.ArrayList | executeGetTicklerAssignee(SearchCriteria aSearchCriteria)
This method retrieves the list of tickler assignees that meets the given search criteria.
|
java.lang.Long[] | getAllServiceRepTeams()
This method retrieves all the Service Representative Groups (CSR Team).
|
protected java.lang.String | getMaxResultSize()
This method returns the maximum size of the result set.
|
int | getResultsFiltered()
This method returns the number of results that have been filtered out.
|
protected boolean | getRetrieveRepsFlag(SearchCriteria aSearchCriteria)
This method obtains the value corresponding to the GetReps select expression in the search criteria.
|
protected boolean | getRetrieveRepsInTeamFlag(SearchCriteria aSearchCriteria)
This method obtains the value corresponding to the GetRepsInTeam select expression in the search criteria.
|
protected boolean | getRetrieveTeamsFlag(SearchCriteria aSearchCriteria)
This method obtains the value corresponding to the GetTeams select expression in the search criteria.
|
protected java.lang.String | getRootElementName()
This method returns the root element name of the response document.
|
java.lang.Long[] | getServiceReps(WhereClauseCondition aWhereClauseCondition, SearchCriteria aSearchCriteria)
This method gets service representatives that meets the given search criteria.
|
void | init(CommandContext aCmdCtxt, TypedProperty aRequestProperties, TypedProperty aResponseProperties, org.w3c.dom.Document aRequestBOD, org.w3c.dom.Document aResponseBOD)
This method initializes the necessary parameters before starting building the response Business Object Document.
|
protected WhereClauseCondition | initializeTicklerServiceRepsQuery(SearchCriteria aSearchCriteria)
This method initializes the business tickler assignee search bean with the given search criteria.
|
protected TicklerAssigneeSearchResultBean | populateSearchResult(java.lang.String assigneeId, java.lang.String assigneeType, TicklerAssigneeSearchResultBean abnSearchResult)
This method populates the search result for the given tickler assignee.
|
void | setResultsFiltered(int resultsFiltered)
This method sets the number of results that were filtered out.
|
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public void init(CommandContext aCmdCtxt, TypedProperty aRequestProperties, TypedProperty aResponseProperties, org.w3c.dom.Document aRequestBOD, org.w3c.dom.Document aResponseBOD)
This method first calls the init method from the parent class.
It will then calls the initializeSearchTypeMapping to initialize the mappings between the search type obtained from the SelectExpression element in the request Business Object Document to the actual value set to the search bean.
protected java.lang.String getRootElementName()
protected void buildDataArea() throws ECException
This method will do the following:
protected WhereClauseCondition initializeTicklerServiceRepsQuery(SearchCriteria aSearchCriteria)
public java.util.ArrayList executeGetTicklerAssignee(SearchCriteria aSearchCriteria) throws ECException
public java.util.ArrayList executeGetServiceReps(SearchCriteria aSearchCriteria) throws ECException
public java.util.ArrayList executeGetServiceTeams(SearchCriteria aSearchCriteria) throws ECException
public java.util.ArrayList executeGetServiceRepsInTeam(SearchCriteria aSearchCriteria) throws ECException
protected boolean getRetrieveRepsFlag(SearchCriteria aSearchCriteria)
protected boolean getRetrieveRepsInTeamFlag(SearchCriteria aSearchCriteria)
protected boolean getRetrieveTeamsFlag(SearchCriteria aSearchCriteria)
public java.lang.Long[] getServiceReps(WhereClauseCondition aWhereClauseCondition, SearchCriteria aSearchCriteria) throws ECException
public java.lang.Long[] getAllServiceRepTeams() throws ECException
protected TicklerAssigneeSearchResultBean populateSearchResult(java.lang.String assigneeId, java.lang.String assigneeType, TicklerAssigneeSearchResultBean abnSearchResult) throws ECException
protected java.lang.String getMaxResultSize()
public int getResultsFiltered()
public void setResultsFiltered(int resultsFiltered)
protected org.w3c.dom.Element createTicklerAssigneeElement(TicklerAssigneeSearchResultBean abnTicklerAssigneeSearchResult, org.w3c.dom.Element aParentElement) throws ECException
protected org.w3c.dom.Element createPersonElement(TicklerAssigneeSearchResultBean abnTicklerAssigneeSearchResult, org.w3c.dom.Element aParentElement) throws ECException
The following is a sample Person element that indicates how the element is constructed:
<oa:Person> <oa:PersonCode>String</oa:PersonCode> <oa:PersonName> <oa:GivenName>helen</oa:GivenName> <oa:MiddleName>a</oa:MiddleName> <oa:FamilyName>yang</oa:FamilyName> </oa:PersonName> </oa:Person>