class: AffiliationSessionBean

public class: AffiliationSessionBean
Author: : Hugo Niedermaier, Basics by Thomas Diebäcker, created 30.05.2007
Project: Phase: 1.0; Status: Proposed; Version: : $Revision: 1850 $ $LastChangedDate: 2008-12-17 1; Complexity: 1
Dates: Created: 16.07.2009 15:31:52; Modified: 16.07.2009 15:31:52;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {8928E25E-FB3F-4fb2-A66F-58C809A51204}
Keeps all attributes that are used for the whole session by the Affiliation components.
 

Goto: Custom Properties, Fields, Methods

Extends: FacesBean

See also: FacesBean

Appears in: affiliation

Connections
 
Custom Properties
 
AffiliationSessionBean Attributes
Attribute Details
private boolean
  add
Initial: false
Notes: NiH: store different modes for the affiliation selection to distinguish between the actions add and select in the edit item mask
public static const String
  BEAN_NAME
Initial: "AffiliationSessionBean"
private boolean
  browseByAffiliation
Initial: false
Notes: to distinguish between the use case browse by affiliation and add/select in edit item
private ArrayList
  currentAffiliationList
Initial: new ArrayList()
protected int
  indexComponent
protected HtmlPanelGrid
  organizationPanDynamicParentPanel
Initial: new HtmlPanelGrid()
protected String
  organizationParentValueBinding
Initial: new String()
protected ArrayList
  organizationParentVO
Initial: new ArrayList()
Notes: NiH: list of OrganizationVO's selected in EditItem page
package static const long
  serialVersionUID
Initial: 1L
private ChildPropertyTreeModel
  treeAffiliation
Initial: new ChildPropertyTreeModel()
Notes: instance of the Affiliation Tree
private boolean
  wasInit
Initial: false
Notes: flag to control the dynamic creation of the tree from outside
 
AffiliationSessionBean Methods
Operation Details
public
AffiliationSessionBean():
Sequential
Notes: Public constructor.
public
getCurrentAffiliationList():List
Sequential
public
getIndexComponent():int
Sequential
public
getOrganizationPanDynamicParentPanel():HtmlPanelGrid
Sequential
public
getOrganizationParentValueBinding():String
Sequential
public
getOrganizationParentVO():List
Sequential
Notes: NiH: returns the list of OrganizationVO's selected in EditItem page
@return List<OrganizationVO>
public
getTreeAffiliation():TreeModel
Sequential
public
init():void
Sequential
Notes: This method is called when this bean is initially added to session scope. Typically, this occurs as a result of evaluating a value binding or method binding expression, which utilizes the managed bean facility to instantiate this bean and store it into session scope.
public
isAdd():boolean
Sequential
public
isBrowseByAffiliation():boolean
Sequential
public
isWasInit():boolean
Sequential
public
setAdd(
   boolean add):void
Sequential
public
setBrowseByAffiliation(
   boolean browseByAffiliation):void
Sequential
public
setCurrentAffiliationList(
   List list):void
Sequential
public
setIndexComponent(
   int indexComponent):void
Sequential
public
setOrganizationPanDynamicParentPanel(
   HtmlPanelGrid panDynamicParentPanel):void
Sequential
public
setOrganizationParentValueBinding(
   String organizationParentValueBinding):void
Sequential
public
setOrganizationParentVO(
   List organizationParentVO):void
Sequential
public
setTreeAffiliation(
   TreeModel treeAffiliation):void
Sequential
public
setWasInit(
   boolean wasInit):void
Sequential