class: ItemListSessionBean

public class: ItemListSessionBean
Author: : Thomas Diebäcker, created 10.01.2007
Project: Phase: 1.0; Status: Proposed; Version: : $Revision: 1850 $ $LastChangedDate: 2008-12-17 1; Complexity: 1
Dates: Created: 16.07.2009 15:34:18; Modified: 16.07.2009 15:34:18;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {DA9992A8-F7BB-4ccd-8ED9-515F6106277B}
Superclass for keeping all attributes that are used for the whole session by ItemLists.
 

Goto: Custom Properties, Fields, Methods

Extends: FacesBean

See also: Navigation, ViewItemSessionBean, WithdrawItemSessionBean, FacesBean

Appears in: pubman

Connections
 
Custom Properties
 
ItemListSessionBean Attributes
Attribute Details
public static const String
  BEAN_NAME
Initial: "ItemListSessionBean"
private ArrayList
  currentPubItemList
Initial: new ArrayList()
private int
  currentPubItemListPointer
Initial: 0
private boolean
  isInRevisionView
Notes: True if the list shows only items that are in state "in revision"
private boolean
  isListDirty
Initial: true
private boolean
  isRevisionView
Notes: True if the list is shown as revisions list, additional information is displayed then (release date, description)
private int
  itemsPerPage
Initial: 10
private String
  listType
Initial: "BIB"
private static Logger
  logger
Initial: Logger.getLogger(ItemListSessionBean.class)
annotations=@SuppressWarnings("unused")
private ArrayList
  pages
private String
  sortBy
Initial: "DATE"
private String
  sortOrder
Initial: "DESCENDING"
private String
  submenu
Initial: "VIEW"
private String
  type
Initial: null
 
ItemListSessionBean Methods
Operation Details
public
changeItemsPerPage(
   ValueChangeEvent event):void
Sequential
public
changeListTypeToBib():String
Sequential
public
changeListTypeToGrid():String
Sequential
public
changePage(
   ActionEvent event):void
Sequential
public
changeSubmenuToFilter():String
Sequential
public
changeSubmenuToSorting():String
Sequential
public
changeSubmenuToView():String
Sequential
public
getCurrentPubItemList():List
Sequential
public
getCurrentPubItemListPointer():int
Sequential
public
getCurrentPubItemListSize():int
Sequential
public
getIsAscending():boolean
Sequential
public
getIsFirstPage():boolean
Sequential
public
getIsInRevisionView():boolean
Sequential
public
getIsLastPage():boolean
Sequential
public
getIsListTypeBib():boolean
Sequential
public
getIsListTypeGrid():boolean
Sequential
public
getIsRevisionView():boolean
Sequential
public
getIsSearchResultList():boolean
Sequential
public
getItemsPerPage():int
Sequential
public
getPages():List
Sequential
public
getPageSize():int
Sequential
public
getSelectedPubItems():List
Sequential
public
getSortBy():String
Sequential
public
getSortOrder():String
Sequential
public
getSubmenu():String
Sequential
public
getType():String
Sequential
public
gotoFirstPage():void
Sequential
public
gotoFollowingPage():void
Sequential
public
gotoLastPage():void
Sequential
public
gotoPrecedingPage():void
Sequential
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
isListDirty():boolean
Sequential
public
removeFromCurrentListByRO(
   ItemRO itemToBeRemoved):void
Sequential
Notes: Remove an item by the given ID from the current item list.
private
resetPresentationFlags():void
Sequential
Notes: Resets the flags for specialized type of listViews, e.g. the revision list. Called every time when a new pubItem List is set.
public
selectAll():String
Sequential
public
selectNone():String
Sequential
public
setCurrentPubItemList(
   List currentPubItemList):void
Sequential
public
setCurrentPubItemListPointer(
   int currentPubItemListPointer):void
Sequential
public
setIsInRevisionView(
   boolean b):void
Sequential
public
setIsRevisionView(
   boolean isRevisionView):void
Sequential
public
setItemsPerPage(
   int itemsPerPage):void
Sequential
public
setListDirty(
   boolean isListDirty):void
Sequential
public
setSelection(
   ValueChangeEvent event):void
Sequential
Notes: ValueChange handler for comboBoxes.
public
setSortBy(
   String sortBy):void
Sequential
public
setSortBy(
   ValueChangeEvent event):void
Sequential
Notes: ValueChange handler for comboBoxes.
public
setSortByCreator():String
Sequential
public
setSortByDate():String
Sequential
public
setSortByGenre():String
Sequential
public
setSortByState():String
Sequential
public
setSortByTitle():String
Sequential
public
setSortOrder(
   String sortOrder):void
Sequential
public
setSortOrder(
   ActionEvent event):void
Sequential
Notes: Action handler for comboBoxes.
public
setSubmenu(
   String submenu):void
Sequential
public
setType(
   String type):void
Sequential
public
sortItemList():String
Sequential
Notes: Sorts the result item list.
@return string, identifying the page that should be navigated to after this methodcall
public
startExport():String
Sequential
public
switchToMediumView(
   ActionEvent event):void
Sequential
Notes: Action handler for comboBoxes.
public
switchToShortView(
   ActionEvent event):void
Sequential
Notes: Action handler for comboBoxes.