class: ViewItemBasicsUI

public class: ViewItemBasicsUI
Author: : Tobias Schraut, created 26.09.2007
Project: Phase: 1.0; Status: Proposed; Version: : $Revision: 1850 $ $LastChangedDate: 2008-12-17 1; Complexity: 1
Dates: Created: 16.07.2009 15:33:54; Modified: 16.07.2009 15:33:54;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {00FFEB33-ED81-45c2-B6A4-BE66386BFCCA}
UI for creating the basic section of a pubitem to be used in the ViewItemMediumUI.
 

Goto: Custom Properties, Fields, Methods

See also: HTMLElementUI

Appears in: viewItemMediumComponents

Connections
 
Custom Properties
 
ViewItemBasicsUI Attributes
Attribute Details
private List
  affiliatedOrganizationsList
Notes: The list of affiliated organizations in a list.
private ResourceBundle
  bundleLabel
Initial: null
private ArrayList
  creatorArray
Notes: The list of formatted creators in an ArrayList.
private ArrayList
  creatorOrganizationsArray
Notes: The list of formatted creators which are organizations in an ArrayList.
package String
  DivClassText
Initial: ""
package String
  DivClassTitle
Initial: ""
Notes: Variables for changing the style sheet class according to line counts on the html page
private HTMLElementUI
  htmlElement
Initial: new HTMLElementUI()
private ArrayList
  organizationArray
Notes: The list of formatted organzations in an ArrayList.
private ArrayList
  organizationList
Notes: The list of affiliated organizations as VO List.
private PubItemVO
  pubItem
 
ViewItemBasicsUI Methods
Operation Details
private
addAffiliationsToPage():void
Sequential
Notes: Adds the affiliated organizations to the html page based on the entries in the organizationArray.
private
addCreatorsToPage():void
Sequential
Notes: Adds the creators (persons and organizations) to the html page based on the entries in the creatorArray.
private
createAffiliatedOrganizationList():void
Sequential
Notes: Generates the affiliated organization list as one string for presenting it in the jsp via the dynamic html component. Doubled organizations will be detected and merged. All organizzations will be numbered.
private
createCreatorList():void
Sequential
Notes: Generates the creator list as list of formatted Strings.
@return String formatted creator list as string
private
displayDate(
   String date,
   String label,
   boolean empty):boolean
Sequential
private
getDelimiteredDate(
   String date,
   boolean delimiter):String
Sequential
Notes: This method examines if the date given as parameter is emty or not. If it is not empty a delimiter will be added to the date.
@return String the delimitered date
protected
initialize(
   PubItemVO pubItemVO):void
Sequential
Notes: Initializes the UI and sets all attributes of the GUI components.
public
processRestoreState(
   FacesContext context,
   Object state):void
Sequential
public
processSaveState(
   FacesContext context):Object
Sequential
public
ViewItemBasicsUI():
Sequential
public
ViewItemBasicsUI(
   PubItemVO pubItemVO):
Sequential
Notes: Public constructor.