class: QAWS

public class: QAWS
Author: Markus Haarlaender (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1850 $ $LastChangedDate: 2008-12-17 13:; Complexity: 1
Dates: Created: 16.07.2009 15:32:49; Modified: 16.07.2009 15:32:49;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {1F66CBE6-6CD4-40f7-A56D-166A1FF64BDB}
Fragment class for the Quality Assurance Workspace. This class provides all functionality for choosing one or more items out of a list, depending on the status of the items and on the container.
 

Goto: Custom Properties, Fields, Methods

Extends: ItemList

See also: LoginHelper, QualityAssurance, ItemList

Appears in: qaws

Connections
 
Custom Properties
 
QAWS Attributes
Attribute Details
private HashMap
  affiliationMap
Initial: new HashMap()
public static const String
  BEAN_NAME
Initial: "QAWS"
private HtmlSelectOneMenu
  cboContextMenu
Initial: new HtmlSelectOneMenu()
Notes: Pull-Down Menu with all Collections
private HtmlSelectOneMenu
  cboItemStateMenu
Initial: new HtmlSelectOneMenu()
Notes: Pull-Down Menu with item states
private boolean
  enableNoItemMsg
Initial: false
public static const String
  LOAD_QAWS
Initial: "loadQAWSPage"
Notes: Faces navigation string
private static Logger
  logger
Initial: Logger.getLogger(QAWS.class)
private LoginHelper
  loginHelper
public static const String
  MESSAGE_SUCCESSFULLY_REVISED
Initial: null
private QualityAssurance
  qualityAssurance
private SelectItem
  selectContextList
Notes: List for collection menu
private SelectItem
  selectItemStateList
Notes: List for item state selection menu
 
QAWS Methods
Operation Details
public
changeContext():String
Sequential
Notes: Called when the collection is changed. Creates a new list according to the new state.
@return string, identifying the page that should be navigated to after this methodcall
public
changeItemState():String
Sequential
Notes: Called when the item state is changed. Creates a new list according to the new state.
@return string, identifying the page that should be navigated to after this methodcall
public
changeOU():String
Sequential
Notes: Called when the organizational unit is changed. Creates a new list according to the new state.
@return string, identifying the page that should be navigated to after this methodcall
protected
createDynamicItemList2():void
Sequential
Notes: Creates the panel newly according to the values in the FacesBean.
private
createItemList(
   String newContextId,
   String newState,
   boolean initial):String
Sequential
Notes: Creates a new itemList in the FacesBean and forces the UI component to create a new itemList.
@param newItemState the new state
@return string, identifying the page that should be navigated to after this methodcall
protected
getApplicationBean():ApplicationBean
Sequential
Notes: Returns the ApplicationBean.
@return a reference to the scoped data bean (ApplicationBean)
public
getCboContextMenu():HtmlSelectOneMenu
Sequential
public
getCboItemStateMenu():HtmlSelectOneMenu
Sequential
protected
getCollectionListSessionBean():ContextListSessionBean
Sequential
Notes: Returns the ContextListSessionBean.
@return a reference to the scoped data bean (ContextListSessionBean)
private
getContextListSessionBean():ContextListSessionBean
Sequential
public
getEnableNoItemMsg():boolean
Sequential
protected
getItemListSessionBean():ItemListSessionBean
Sequential
Notes: Returns the ItemListSessionBean.
@return a reference to the scoped data bean (ItemListSessionBean)
public
getSelectContextList():SelectItem
Sequential
public
getSelectItemStateList():SelectItem
Sequential
protected
getSessionBean():QAWSSessionBean
Sequential
Notes: Returns the QAWSSessionBean.
@return a reference to the scoped data bean (QAWSSessionBean)
public
init():void
Sequential
Notes: Callback method that is called whenever a page containing this page fragment is navigated to, either directly via a URL, or indirectly via page navigation.
public
initContextMenu():void
Sequential
public
QAWS():
Sequential
Notes: Public constructor.
public
setCboContextMenu(
   HtmlSelectOneMenu cboItemstate):void
Sequential
public
setCboItemStateMenu(
   HtmlSelectOneMenu cboItemStateMenu):void
Sequential
public
setEnableNoItemMsg(
   boolean enableNoItemMsg):void
Sequential
public
setSelectItemStateList(
   SelectItem[] selectItemStateList):void
Sequential