class: ViewItemSessionBean

public class: ViewItemSessionBean
Author: : Thomas Diebäcker, created 30.05.2007
Project: Phase: 1.0; Status: Proposed; Version: : $Revision: 1891 $ $LastChangedDate: 2008-12-23 1; Complexity: 1
Dates: Created: 16.07.2009 15:34:04; Modified: 16.07.2009 15:34:04;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {4FE32E8F-C67A-4b04-B229-A4EFA46D061A}
Keeps all attributes that are used for the whole session by ViewItem.
 

Goto: Custom Properties, Fields, Methods

Extends: FacesBean

See also: ItemListSessionBean, FacesBean

Appears in: viewItem

Connections
 
Custom Properties
 
ViewItemSessionBean Attributes
Attribute Details
public static const String
  BEAN_NAME
Initial: "ViewItemSessionBean"
private boolean
  hasBeenRedirected
Initial: false
Notes: Flag if view item has already been redirected
private String
  itemIdViaURLParam
Initial: null
Notes: navigationString to go back to the list where viewItem has been called from
private ItemListSessionBean
  itemListSessionBean
Initial: null
Notes: The according ItemListSessionBean
private HtmlCommandLink
  lnkCreateItemFromTemplate
Initial: new HtmlCommandLink()
private HtmlCommandLink
  lnkCreateNewRevision
Initial: new HtmlCommandLink()
private HtmlCommandLink
  lnkDelete
Initial: new HtmlCommandLink()
private HtmlCommandLink
  lnkEdit
Initial: new HtmlCommandLink()
Notes: the action links
private HtmlCommandLink
  lnkModify
Initial: new HtmlCommandLink()
private HtmlCommandLink
  lnkNewSubmission
Initial: new HtmlCommandLink()
private HtmlCommandLink
  lnkRelease
Initial: new HtmlCommandLink()
private HtmlCommandLink
  lnkSubmit
Initial: new HtmlCommandLink()
private HtmlCommandLink
  lnkViewLog
Initial: new HtmlCommandLink()
private HtmlCommandLink
  lnkViewReleaseHistory
Initial: new HtmlCommandLink()
Notes: the basic links
private HtmlCommandLink
  lnkViewRevisions
Initial: new HtmlCommandLink()
private HtmlCommandLink
  lnkViewStatistics
Initial: new HtmlCommandLink()
private HtmlCommandLink
  lnkWithdraw
Initial: new HtmlCommandLink()
private static Logger
  logger
Initial: Logger.getLogger(ViewItemSessionBean.class)
annotations=@SuppressWarnings("unused")
private String
  navigationStringToGoBack
Initial: null
Notes: navigationString to go back to the list where viewItem has been called from
private String
  subMenu
 
ViewItemSessionBean Methods
Operation Details
public static
getFacesParamValue(
   String name):String
Sequential
Notes: gets the parameters out of the faces context
@return the value of the parameter as string
protected
getItemControllerSessionBean():ItemControllerSessionBean
Sequential
Notes: Returns the ItemControllerSessionBean.
@return a reference to the scoped data bean (ItemControllerSessionBean)
public
getItemIdViaURLParam():String
Sequential
public
getItemListSessionBean():ItemListSessionBean
Sequential
public
getLnkCreateItemFromTemplate():HtmlCommandLink
Sequential
public
getLnkCreateNewRevision():HtmlCommandLink
Sequential
public
getLnkDelete():HtmlCommandLink
Sequential
public
getLnkEdit():HtmlCommandLink
Sequential
public
getLnkModify():HtmlCommandLink
Sequential
public
getLnkNewSubmission():HtmlCommandLink
Sequential
public
getLnkRelease():HtmlCommandLink
Sequential
public
getLnkSubmit():HtmlCommandLink
Sequential
public
getLnkViewLog():HtmlCommandLink
Sequential
public
getLnkViewReleaseHistory():HtmlCommandLink
Sequential
public
getLnkViewRevisions():HtmlCommandLink
Sequential
public
getLnkViewStatistics():HtmlCommandLink
Sequential
public
getLnkWithdraw():HtmlCommandLink
Sequential
public
getNavigationStringToGoBack():String
Sequential
Notes: Getters and Setters
public
getSubMenu():String
Sequential
protected
getViewItemFull():ViewItemFull
Sequential
Notes: Returns the ViewItemFull bean.
@return a reference to the scoped data bean (ViewItemFull)
public
init():void
Sequential
Notes: Callback method that is called whenever a page is navigated to, either directly via a URL, or indirectly via page navigation.
public
isHasBeenRedirected():boolean
Sequential
public
itemChanged():void
Sequential
public
setHasBeenRedirected(
   boolean hasBeenRedirected):void
Sequential
public
setItemIdViaURLParam(
   String itemIdViaURLParam):void
Sequential
public
setItemListSessionBean(
   ItemListSessionBean ItemListSessionBean):void
Sequential
public
setLnkCreateItemFromTemplate(
   HtmlCommandLink lnkCreateItemFromTemplate):void
Sequential
public
setLnkCreateNewRevision(
   HtmlCommandLink lnkCreateNewRevision):void
Sequential
public
setLnkDelete(
   HtmlCommandLink lnkDelete):void
Sequential
public
setLnkEdit(
   HtmlCommandLink lnkEdit):void
Sequential
public
setLnkModify(
   HtmlCommandLink lnkModify):void
Sequential
public
setLnkNewSubmission(
   HtmlCommandLink lnkNewSubmission):void
Sequential
public
setLnkRelease(
   HtmlCommandLink lnkRelease):void
Sequential
public
setLnkSubmit(
   HtmlCommandLink lnkSubmit):void
Sequential
public
setLnkViewLog(
   HtmlCommandLink lnkViewLog):void
Sequential
public
setLnkViewReleaseHistory(
   HtmlCommandLink lnkViewReleaseHistory):void
Sequential
public
setLnkViewRevisions(
   HtmlCommandLink lnkViewRevisions):void
Sequential
public
setLnkViewStatistics(
   HtmlCommandLink lnkViewStatistics):void
Sequential
public
setLnkWithdraw(
   HtmlCommandLink lnkWithdraw):void
Sequential
public
setNavigationStringToGoBack(
   String navigationStringToGoBack):void
Sequential
public
setSubMenu(
   String subMenu):void
Sequential
public
ViewItemSessionBean():
Sequential
Notes: Public constructor.
public
viewRelease():String
Sequential
Notes: View the selected item.
@return string, identifying the page that should be navigated to after this methodcall