class: AcceptItem

public class: AcceptItem
Author: : Michael Franke, 2007-10-31
Project: Phase: 1.0; Status: Proposed; Version: : $Revision: 2733 $ $LastChangedDate: 2009-06-05 1; Complexity: 1
Dates: Created: 16.07.2009 15:31:50; Modified: 16.07.2009 15:31:50;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {E3B4F4EB-59D2-4524-839B-151B8A025F85}
Fragment class for editing PubItems. This class provides all functionality for accepting a PubItem including methods for depending dynamic UI components.
 

Goto: Custom Properties, Fields, Methods

Extends: FacesBean

See also: FacesBean

Appears in: acceptItem

Connections
 
Custom Properties
 
AcceptItem Attributes
Attribute Details
private String
  acceptanceComment
Initial: null
private String
  creators
public static const String
  JSP_NAME
Initial: "AcceptItemPage.jsp"
Notes: DiT: to avoid JSF-Navigation
public static const String
  LOAD_ACCEPTITEM
Initial: "loadAcceptItem"
Notes: Faces navigation string
private static Logger
  logger
Initial: Logger.getLogger(AcceptItem.class)
private String
  navigationStringToGoBack
private String
  valMessage
Initial: null
 
AcceptItem Methods
Operation Details
public const
accept():String
Sequential
Notes: Accepts the item.
@return string, identifying the page that should be navigated to after this methodcall
public
AcceptItem():
Sequential
Notes: Public constructor.
public const
cancel():String
Sequential
Notes: Cancels the editing.
@return string, identifying the page that should be navigated to after this methodcall
public
getAcceptanceComment():String
Sequential
public
getCreators():String
Sequential
public
getHasRightsInformation():boolean
Sequential
Notes: Checks is the current item has at least one rights information field filled.
@return true if at least one rights information field filled
public const
getItemControllerSessionBean():ItemControllerSessionBean
Sequential
Notes: Returns a reference to the scoped data bean (the ItemControllerSessionBean).
@return a reference to the scoped data bean
protected const
getItemListSessionBean():ItemListSessionBean
Sequential
Notes: Returns the ItemListSessionBean.
@return a reference to the scoped data bean (ItemListSessionBean)
public const
getNavigationStringToGoBack():String
Sequential
public const
getPubItem():PubItemVO
Sequential
Notes: Deliveres a reference to the currently edited item. This is a shortCut for the method in the ItemController.
@return the item that is currently edited
protected const
getSessionBean():AcceptItemSessionBean
Sequential
Notes: Returns the AcceptItemSessionBean.
@return a reference to the scoped data bean (AcceptItemSessionBean)
public
getValMessage():String
Sequential
public
handleMessage():void
Sequential
Notes: Adds and removes messages on this page, if any.
@author Michael Franke
public const
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. Creators handling added by FrM.
public
setAcceptanceComment(
   String acceptanceComment):void
Sequential
public
setCreators(
   String creators):void
Sequential
public const
setNavigationStringToGoBack(
   String navigationStringToGoBack):void
Sequential
public
setValMessage(
   String valMessage):void
Sequential