class: SubmitItem

public class: SubmitItem
Author: : Thomas Diebäcker, created 10.01.2007
Project: Phase: 1.0; Status: Proposed; Version: : $Revision: 2736 $ $LastChangedDate: 2009-06-05 1; Complexity: 1
Dates: Created: 16.07.2009 15:33:28; Modified: 16.07.2009 15:33:28;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {98C1CBE1-720A-4ae9-AAF2-EF29682AA677}
Fragment class for editing PubItems. This class provides all functionality for editing, saving and submitting a PubItem including methods for depending dynamic UI components.
 

Goto: Custom Properties, Fields, Methods

Extends: FacesBean

See also: FacesBean

Appears in: submitItem

Connections
 
Custom Properties
 
SubmitItem Attributes
Attribute Details
private String
  creators
public static const String
  JSP_NAME
Initial: "SubmitItemPage.jsp"
Notes: DiT: to avoid JSF-Navigation
public static const String
  LOAD_SUBMITITEM
Initial: "loadSubmitItem"
Notes: Faces navigation string
private static Logger
  logger
Initial: Logger.getLogger(SubmitItem.class)
private String
  navigationStringToGoBack
private String
  submissionComment
private String
  valMessage
Initial: null
 
SubmitItem Methods
Operation Details
public const
cancel():String
Sequential
Notes: Cancels the editing.
@return string, identifying the page that should be navigated to after this methodcall
public
getCreators():String
Sequential
public
getHasAudienceFiles():boolean
Sequential
Notes: Checks if the item to submit has files with visibility Audience
@return boolean true if at least one of the files has visibility Audience
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
getIsSimpleWorkflow():boolean
Sequential
public
getIsStandardWorkflow():boolean
Sequential
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():SubmitItemSessionBean
Sequential
Notes: Returns the DepositorWSSessionBean.
@return a reference to the scoped data bean (DepositorWSSessionBean)
public
getSubmissionComment():String
Sequential
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
setCreators(
   String creators):void
Sequential
public const
setNavigationStringToGoBack(
   String navigationStringToGoBack):void
Sequential
public
setSubmissionComment(
   String submissionComment):void
Sequential
public
setValMessage(
   String valMessage):void
Sequential
public const
submit():String
Sequential
Notes: Submits the item.
@return string, identifying the page that should be navigated to after this methodcall
public
SubmitItem():
Sequential
Notes: Public constructor.