class: MyTasksRetrieverRequestBean

public class: MyTasksRetrieverRequestBean
Author: Markus Haarlaender (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 2595 $ $LastChangedDate: 2009-05-04 13:; Complexity: 1
Dates: Created: 16.07.2009 15:32:48; Modified: 16.07.2009 15:32:48;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {05A6C240-69BE-4241-90EE-244FDC73E9A2}
This bean is an implementation of the BaseListRetrieverRequestBean class for the Quality Assurance Workspace It uses the PubItemListSessionBean as corresponding BasePaginatorListSessionBean and adds additional functionality for filtering the items by their state. It extends the MyItemsRetriever RequestBean because it has a similar behaviour regarding item state filters.
 

Goto: Custom Properties, Fields, Methods

Extends: MyItemsRetrieverRequestBean

See also: MyItemsRetrieverRequestBean

Appears in: qaws

Connections
 
Custom Properties
 
MyTasksRetrieverRequestBean Attributes
Attribute Details
public static String
  BEAN_NAME
Initial: "MyTasksRetrieverRequestBean"
private List
  contextSelectItems
Notes: A list with menu entries for the context filter menu.
private static Logger
  logger
Initial: Logger.getLogger(MyTasksRetrieverRequestBean.class)
private int
  numberOfRecords
private List
  orgUnitSelectItems
Notes: A list with the menu entries for the org units filter menu.
private static String
  parameterSelectedContext
Initial: "context"
Notes: The HTTP GET parameter name for the context filter.
private static String
  parameterSelectedOrgUnit
Initial: "orgUnit"
Notes: org unit filter.
private String
  selectedContext
Notes: The currently selected context filter.
private String
  selectedOrgUnit
Notes: The currently selected org unit.
 
MyTasksRetrieverRequestBean Methods
Operation Details
private
addOrgFiltersRecursive(
   AffiliationVOPresentation aff,
   FilterTaskParamVO filter):void
Sequential
Notes: Adds organization filters to the given FilterTaskParam for the given affiliation and recursively for all its children.
public
changeContext():String
Sequential
Notes: Called by JSF whenever the context filter menu is changed. Causes a redirect to the page with updated context GET parameter.
@return
public
changeOrgUnit():String
Sequential
Notes: Called by JSF whenever the organizational unit filter menu is changed. Causes a redirect to the page with updated context GET parameter.
@return
public
getContextSelectItems():List
Sequential
Notes: Returns the mneu items for the context filter menu.
@return
public
getItemStateSelectItems():List
Sequential
Notes: Returns a list with menu entries for the item state filter menu.
public
getListPageName():String
Sequential
Tags: annotations=@Override
public
getOrgUnitSelectItems():List
Sequential
public
getSelectedContext():String
Sequential
Notes: Returns the selected context filter
@return
public
getSelectedContextLabel():String
Sequential
Notes: Returns a label for the selected context.
@return
public
getSelectedOrgUnit():String
Sequential
public
getSelectedOrgUnitLabel():String
Sequential
Notes: Returns a label for the selected context.
@return
public
getTotalNumberOfRecords():int
Sequential
Tags: annotations=@Override
public
getType():String
Sequential
Tags: annotations=@Override
public
init():void
Sequential
Tags: annotations=@Override
private
initSelectionMenu():void
Sequential
Notes: Initializes the menu for the context filtering.
public
MyTasksRetrieverRequestBean():
Sequential
Notes: private Map<String, AffiliationVOPresentation> affiliationMap;
public
readOutParameters():void
Sequential
Tags: annotations=@Override
Notes: Reads out the parameters from HTTP-GET request for the selected item state and the selected context filter. Sets default values if they are null.
public
retrieveList(
   int offset,
   int limit,
   SORT_CRITERIA sc):List
Sequential
Tags: annotations=@Override
public
setContextSelectItems(
   List contextSelectItems):void
Sequential
Notes: Sets the current menu items for the context filter menu.
public
setOrgUnitSelectItems(
   List orgUnitSelectItems):void
Sequential
public
setSelectedContext(
   String selectedContext):void
Sequential
Notes: Sets the selected context filter
public
setSelectedOrgUnit(
   String selectedOrgUnit):void
Sequential