lumis.portal.presentation.perspective
Interface IPortalMode

Package class diagram package IPortalMode
All Superinterfaces:
Serializable
All Known Subinterfaces:
IPortalModeSPI
All Known Implementing Classes:
DefaultPortalMode

public interface IPortalMode
extends Serializable

Interface that represents the attributes of the portal modes.

Since:
6.0.0

Field Summary
static int MODE_ADMINISTRATION
          Represents the administration mode, the only mode in administrator perspective.
static int MODE_IN_CONTEXT_EDIT
          Represents the in-context edit mode, one of the modes in publisher perspective.
static int MODE_PERSONALIZATION
          Represents the personalization mode, one of the modes in publisher perspective.
static int MODE_VIEW
          Represents the view mode, the only mode in user perspective.
 
Method Summary
 String getDescription()
          Returns the description of the current PortalMode.
 int getId()
          Returns the id of the current PortalMode.
 String getName()
          Returns the name of the current PortalMode.
 Perspective getPerspective()
          Returns the current perspective.
 

Field Detail

MODE_VIEW

static final int MODE_VIEW
Represents the view mode, the only mode in user perspective.

Since:
6.0.0
See Also:
Constant Field Values

MODE_ADMINISTRATION

static final int MODE_ADMINISTRATION
Represents the administration mode, the only mode in administrator perspective.

Since:
6.0.0
See Also:
Constant Field Values

MODE_PERSONALIZATION

static final int MODE_PERSONALIZATION
Represents the personalization mode, one of the modes in publisher perspective.

Since:
6.0.0
See Also:
Constant Field Values

MODE_IN_CONTEXT_EDIT

static final int MODE_IN_CONTEXT_EDIT
Represents the in-context edit mode, one of the modes in publisher perspective.

Since:
6.0.1
See Also:
Constant Field Values
Method Detail

getDescription

String getDescription()
Returns the description of the current PortalMode.

Returns:
the description of the current PortalMode.
Since:
6.0.0

getId

int getId()
Returns the id of the current PortalMode.

Returns:
the id of the current PortalMode.
Since:
6.0.0

getName

String getName()
Returns the name of the current PortalMode.

Returns:
the name of the current PortalMode.
Since:
6.0.0

getPerspective

Perspective getPerspective()
Returns the current perspective.

Returns:
the current perspective.
Since:
6.0.0


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.