class: ViewItemSourceUI

public class: ViewItemSourceUI
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:55; Modified: 16.07.2009 15:33:55;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {661E48B8-6019-479f-A90B-759DC278CC0E}
UI for creating the source section of a pubitem to be used in the ViewItemMediumUI.
 

Goto: Custom Properties, Fields, Methods

See also: HTMLElementUI, InternationalizationHelper

Appears in: viewItemMediumComponents

Connections
 
Custom Properties
 
ViewItemSourceUI Attributes
Attribute Details
private ResourceBundle
  bundleLabel
Initial: ResourceBundle.getBundle(i18nHelper.getSelectedLabelBundle())
Notes: ... and set the refering resource bundle
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 InternationalizationHelper
  i18nHelper
Initial: (InternationalizationHelper)FacesContext.getCurrentInstance() .getApplication().getVariableResolver().resolveVariable(FacesContext.getCurrentInstance(), InternationalizationHelper.BEAN_NAME)
Notes: get the selected language...
private HtmlGraphicImage
  image
private PubItemVO
  pubItem
 
ViewItemSourceUI Methods
Operation Details
private
addCreatorsToPage():void
Sequential
Notes: Adds the creators (persons and organizations) to the html page based on the entries in the creatorArray.
private
createCreatorList(
   int sourceNumber):void
Sequential
Notes: Generates the creator list as list of formatted Strings.
@return String formatted creator list as string
private
getIdentifiers(
   int sourceNumber):String
Sequential
Notes: Returns all Identifiers as formatted String
@return String the formatted Identifiers
private
getPublishingInfo(
   int sourceNumber):String
Sequential
Notes: Returns the formatted Publishing Info according to filled elements
@return String the formatted Publishing Info
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
ViewItemSourceUI():
Sequential
public
ViewItemSourceUI(
   PubItemVO pubItemVO):
Sequential
Notes: Public constructor.