com.sapportals.portal.prt.pom
Class NodeMode

java.lang.Object
  |
  +--com.sapportals.portal.prt.util.Stringable
        |
        +--com.sapportals.portal.prt.pom.NodeMode

public class NodeMode
extends Stringable

A NodeMode identifies a mode an INode might be set to during procession of a request. The mode again might refer to personalization of an associated Portal Component, or to a preview and the like.
It also offers a String representation which does not need to be unique.
Copyright (c) SAP Portals Europe GmbH 2001

See Also:
Stringable

Field Summary
static NodeMode ABOUT_MODE
          Describes the "about" node mode
static NodeMode CONFIG_MODE
          Describes the "config" mode
static NodeMode DEFAULT_MODE
          Describes the default node mode
static NodeMode EDIT_MODE
          Describes the personalization node mode
static NodeMode ERROR_MODE
          Describes the "error" mode
static NodeMode HELP_MODE
          Describes the "about" node mode
static NodeMode LOGON_MODE
          Describes the "logon" node mode Be careful, the logon mode is very particular : the context for the mode logon is the same as the one for the default mode.
static NodeMode PREVIEW_MODE
          Describes the preview node mode
static NodeMode REFRESH_MODE
          Describes the refresh node mode
static NodeMode TEST_MODE
          Describes the "test" node mode
 
Constructor Summary
NodeMode(java.lang.String modeName)
          Constructor for a node mode by name.
 
Methods inherited from class com.sapportals.portal.prt.util.Stringable
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_MODE

public static final NodeMode DEFAULT_MODE
Describes the default node mode

PREVIEW_MODE

public static final NodeMode PREVIEW_MODE
Describes the preview node mode

REFRESH_MODE

public static final NodeMode REFRESH_MODE
Describes the refresh node mode

EDIT_MODE

public static final NodeMode EDIT_MODE
Describes the personalization node mode

ABOUT_MODE

public static final NodeMode ABOUT_MODE
Describes the "about" node mode

HELP_MODE

public static final NodeMode HELP_MODE
Describes the "about" node mode

TEST_MODE

public static final NodeMode TEST_MODE
Describes the "test" node mode

LOGON_MODE

public static final NodeMode LOGON_MODE
Describes the "logon" node mode Be careful, the logon mode is very particular : the context for the mode logon is the same as the one for the default mode.

ERROR_MODE

public static final NodeMode ERROR_MODE
Describes the "error" mode

CONFIG_MODE

public static final NodeMode CONFIG_MODE
Describes the "config" mode
Constructor Detail

NodeMode

public NodeMode(java.lang.String modeName)
Constructor for a node mode by name.
Parameters:
modeName - descriptive name of the node mode.