class: CommonSessionBean

public class: CommonSessionBean
Author: : Tobias Schraut, created 30.05.2007
Project: Phase: 1.0; Status: Proposed; Version: : $Revision: 2349 $ $LastChangedDate: 2009-03-11 1; Complexity: 1
Dates: Created: 16.07.2009 15:34:10; Modified: 16.07.2009 15:34:10;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {6DCA8362-5337-4be8-A98D-9E9FB412E185}
CommonSessionBean.java General session bean for storing session wide information Created on 30. Mai 2007, 16:53
 

Goto: Custom Properties, Fields, Methods

Extends: BreadcrumbPage

See also: BreadcrumbPage

Appears in: pubman

Connections
 
Custom Properties
 
CommonSessionBean Attributes
Attribute Details
public static const String
  BEAN_NAME
Initial: "CommonSessionBean"
Notes: used by calling components to get this Bean
private static Logger
  logger
Initial: Logger.getLogger(ErrorPage.class)
annotations=@SuppressWarnings("unused")
private boolean
  runAsGUITool
Initial: false
Notes: flag to examine if the pubman application has been started as GUI Tool.
 
CommonSessionBean Methods
Operation Details
public
CommonSessionBean():
Sequential
Notes: Public constructor
public
computeFileSize(
   long size):String
Sequential
Notes: Generate a string for displaying file sizes. Added by FrM to compute a better result for values < 1024.
@return A string representing the file size in a readable format.
public
isItemSpecific():boolean
Sequential
Tags: annotations=@Override
public
isRunAsGUITool():boolean
Sequential
Notes: Getters and Setters
public
setRunAsGUITool(
   boolean runAsGUITool):void
Sequential