class: RightsManagementSessionBean

public class: RightsManagementSessionBean
Author: : (First draft version) Thomas Diebäcker, created 25.07.2007
Project: Phase: 1.0; Status: Proposed; Version: : $Revision: 1850 $ $LastChangedDate: 2008-12-17 1; Complexity: 1
Dates: Created: 16.07.2009 15:34:21; Modified: 16.07.2009 15:34:21;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {68ED73D1-FEE0-44ed-8EC7-11CD6D267658}
Handels all rights of the current user and handels disabled features described in the escidoc.properties file.
 

Goto: Custom Properties, Fields, Methods

Extends: FacesBean

See also: FacesBean

Appears in: pubman

Connections
 
Custom Properties
 
RightsManagementSessionBean Attributes
Attribute Details
public static const String
  BEAN_NAME
Initial: "RightsManagementSessionBean"
private static const String
  DISABLED_STRING
Initial: "true"
Notes: constant for the string that marks a function as disabled
private static Logger
  logger
Initial: Logger.getLogger(RightsManagementSessionBean.class)
public static const String
  PROPERTY_PREFIX_FOR_DISABLEING_FUNCTIONS
Initial: "escidoc.pubman_presentation.disable"
Notes: prefix for disableing functions in properties file (has to be followed by ".<functionname>")
 
RightsManagementSessionBean Methods
Operation Details
public
isDisabled(
   String function):boolean
Sequential
Notes: Checks if a given function is marked as disabled in the escidoc properties file.
@return true if the function should be disabled
public
RightsManagementSessionBean():
Sequential
Notes: Public constructor