class: EditItemSessionBean

public class: EditItemSessionBean
Author: : Tobias Schraut, created 26.02.2007
Project: Phase: 1.0; Status: Proposed; Version: : $Revision: 2421 $ $LastChangedDate: 2007-11-13 1; Complexity: 1
Dates: Created: 16.07.2009 15:32:25; Modified: 16.07.2009 15:32:25;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {D6A4E3EF-5A71-4572-BF37-54AB394BB74F}
Keeps all attributes that are used for the whole session by the EditItem.
 

Goto: Custom Properties, Fields, Methods

Extends: FacesBean

See also: CreatorBean, FacesBean

Appears in: editItem

Connections
 
Custom Properties
 
EditItemSessionBean Attributes
Attribute Details
private CreatorBean
  authorCopyPasteOrganizationsCreatorBean
Notes: A creator bean that holds the data from the author copy&paste organizations
public static const String
  BEAN_NAME
Initial: "EditItemSessionBean"
private String
  creatorParseString
Notes: The string with authors to parse for author copy&paste.
private String
  currentSubmission
Initial: ""
Notes: Flag for the GUI to detect if the edit item page is called for a submission or for an editing process
private ArrayList
  files
Initial: new ArrayList()
private String
  genreBundle
Initial: "Genre_ARTICLE"
private ArrayList
  locators
Initial: new ArrayList()
private static Logger
  logger
Initial: Logger.getLogger(EditItemSessionBean.class)
annotations=@SuppressWarnings("unused")
private String
  offset
Notes: The offset of the page where to jump back
private boolean
  overwriteCreators
Notes: Checkbox if existing authors should be overwritten with the ones from author copy/paste
private String
  showAuthorCopyPaste
Notes: Stores a string from a hidden input field (set by javascript) that indicates whether the author copy&paste elements are to be displayed or not.
public static const String
  SUBMISSION_METHOD_EASY_SUBMISSION
Initial: "EASY_SUBMISSION"
public static const String
  SUBMISSION_METHOD_FULL_SUBMISSION
Initial: "FULL_SUBMISSION"
public static const String
  SUBMISSION_METHOD_IMPORT
Initial: "IMPORT"
 
EditItemSessionBean Methods
Operation Details
public
clean():void
Sequential
Notes: This method clears the file and the locator list
public
EditItemSessionBean():
Sequential
Notes: Public constructor.
public
getAuthorCopyPasteOrganizationsCreatorBean():CreatorBean
Sequential
Notes: Returns the PersonOPrganisationManager that manages the author copy&paste organizations.
@return
public
getCreatorParseString():String
Sequential
public
getCurrentSubmission():String
Sequential
public
getFiles():List
Sequential
public
getGenreBundle():String
Sequential
public
getLocators():List
Sequential
public
getOffset():String
Sequential
public
getOverwriteCreators():boolean
Sequential
public
getShowAuthorCopyPaste():String
Sequential
Notes: Returns the content(set by javascript) from a hidden input field that indicates whether the author copy&paste elements are to be displayed or not.
public
init():void
Sequential
Notes: This method is called when this bean is initially added to session scope. Typically, this occurs as a result of evaluating a value binding or method binding expression, which utilizes the managed bean facility to instantiate this bean and store it into session scope.
public
initAuthorCopyPasteCreatorBean():void
Sequential
Notes: (Re)-initializes the PersonOPrganisationManager that manages the author copy&paste organizations.
public
reorganizeFileIndexes():void
Sequential
Notes: This method reorganizes the index property in PubFileVOPresentation after removing one element of the list.
public
reorganizeLocatorIndexes():void
Sequential
Notes: This method reorganizes the index property in PubFileVOPresentation after removing one element of the list.
public
setAuthorCopyPasteOrganizationsCreatorBean(
   CreatorBean authorCopyPasteOrganizationsCreatorBean):void
Sequential
Notes: Sets the CreatorBean that manages the author copy&paste organizations.
public
setCreatorParseString(
   String creatorParseString):void
Sequential
public
setCurrentSubmission(
   String currentSubmission):void
Sequential
public
setFiles(
   List files):void
Sequential
public
setGenreBundle(
   String genreBundle):void
Sequential
public
setLocators(
   List locators):void
Sequential
public
setOffset(
   String offset):void
Sequential
public
setOverwriteCreators(
   boolean overwriteCreators):void
Sequential
public
setShowAuthorCopyPaste(
   String showAuthorCopyPaste):void
Sequential
Notes: Sets the content from a hidden input field that indicates whether the author copy&paste elements are to be displayed or not.