lumis.portal.presentation
Class PresentationManager

Package class diagram package PresentationManager
java.lang.Object
  extended by lumis.portal.presentation.PresentationManager
All Implemented Interfaces:
IPresentationManager, IPresentationManagerSPI

public class PresentationManager
extends Object
implements IPresentationManagerSPI

Presentation manager implemetation.

Since:
4.0.0

Field Summary
 
Fields inherited from interface lumis.portal.presentation.IPresentationManager
PROPERTY_PRESENTATION_OUTPUT_DATE_TIME, PROPERTY_PRESENTATION_OUTPUT_SERVER_ID
 
Constructor Summary
PresentationManager()
           
 
Method Summary
 List<String> getAdministrationBarChannelIds(SessionConfig sessionConfig, ITransaction transaction)
          Get the Ids of the administration bar of the Channel.
 PageConfig getDefaultPage(SessionConfig sessionConfig, String pageId, String channelId, IWebsiteBaseURL websiteBaseURL, int mode, ITransaction daoTransaction)
          Get the default Page.
 PageConfig getDefaultPage(SessionConfig sessionConfig, String pageId, String channelId, IWebsiteBaseURL websiteBaseURL, int mode, PortalRequestContext requestContext, ITransaction transaction)
          Get the default Page.
 PageConfig getDefaultPage(SessionConfig sessionConfig, String pageId, String channelId, String website, int mode, ITransaction daoTransaction)
          Deprecated. 
 PageConfig getDefaultPage(SessionConfig sessionConfig, String pageId, String channelId, String website, int mode, PortalRequestContext requestContext, ITransaction transaction)
          Deprecated. 
 void resetAdministrationBarChannelIds()
          Reset the administration bar of the Channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PresentationManager

public PresentationManager()
Method Detail

getDefaultPage

@Deprecated
public PageConfig getDefaultPage(SessionConfig sessionConfig,
                                            String pageId,
                                            String channelId,
                                            String website,
                                            int mode,
                                            PortalRequestContext requestContext,
                                            ITransaction transaction)
                          throws ManagerException,
                                 PortalException
Deprecated. 

Description copied from interface: IPresentationManagerSPI
Get the default Page.

Specified by:
getDefaultPage in interface IPresentationManagerSPI
Parameters:
sessionConfig - the session identifier of the current user.
pageId - The destination page identifier.
channelId - The destination channel identifier.
website - the website base URL that the user is accessing.
mode - the current portal mode.
requestContext - the portal request context map.
transaction - the current transaction.
Returns:
a PageConfig.
Throws:
PortalException
ManagerException

getDefaultPage

public PageConfig getDefaultPage(SessionConfig sessionConfig,
                                 String pageId,
                                 String channelId,
                                 IWebsiteBaseURL websiteBaseURL,
                                 int mode,
                                 PortalRequestContext requestContext,
                                 ITransaction transaction)
                          throws ManagerException,
                                 PortalException
Description copied from interface: IPresentationManagerSPI
Get the default Page.

Specified by:
getDefaultPage in interface IPresentationManagerSPI
Parameters:
sessionConfig - the session identifier of the current user.
pageId - The destination page identifier.
channelId - The destination channel identifier.
websiteBaseURL - the IWebsiteBaseURL that the user is accessing.
mode - the current portal mode.
requestContext - the portal request context map.
transaction - the current transaction.
Returns:
a PageConfig.
Throws:
PortalException
ManagerException

getAdministrationBarChannelIds

public List<String> getAdministrationBarChannelIds(SessionConfig sessionConfig,
                                                   ITransaction transaction)
                                            throws PortalException
Description copied from interface: IPresentationManager
Get the Ids of the administration bar of the Channel.

Specified by:
getAdministrationBarChannelIds in interface IPresentationManager
Returns:
Returns the administrationBarChannelConfigs.
Throws:
PortalException

resetAdministrationBarChannelIds

public void resetAdministrationBarChannelIds()
Description copied from interface: IPresentationManager
Reset the administration bar of the Channel.

Specified by:
resetAdministrationBarChannelIds in interface IPresentationManager

getDefaultPage

@Deprecated
public PageConfig getDefaultPage(SessionConfig sessionConfig,
                                            String pageId,
                                            String channelId,
                                            String website,
                                            int mode,
                                            ITransaction daoTransaction)
                          throws ManagerException,
                                 PortalException
Deprecated. 

Description copied from interface: IPresentationManager
Get the default Page.

Specified by:
getDefaultPage in interface IPresentationManager
Parameters:
sessionConfig - the session identifier of the current user.
pageId - The destination page identifier.
channelId - The destination channel identifier.
website - the website base URL that the user is accessing.
mode - the current portal mode.
daoTransaction - the current transaction.
Returns:
a PageConfig.
Throws:
PortalException - if any error occurs during the processing
ManagerException

getDefaultPage

public PageConfig getDefaultPage(SessionConfig sessionConfig,
                                 String pageId,
                                 String channelId,
                                 IWebsiteBaseURL websiteBaseURL,
                                 int mode,
                                 ITransaction daoTransaction)
                          throws ManagerException,
                                 PortalException
Description copied from interface: IPresentationManager
Get the default Page.

Specified by:
getDefaultPage in interface IPresentationManager
Parameters:
sessionConfig - the session identifier of the current user.
pageId - The destination page identifier.
channelId - The destination channel identifier.
websiteBaseURL - the IWebsiteBaseURL that the user is accessing.
mode - the current portal mode.
daoTransaction - the current transaction.
Returns:
a PageConfig.
Throws:
PortalException - if any error occurs during the processing.
ManagerException


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