org.sakaiproject.portal.service
Class PortalServiceImpl

java.lang.Object
  extended by org.sakaiproject.portal.service.PortalServiceImpl
All Implemented Interfaces:
PortalService

public class PortalServiceImpl
extends Object
implements PortalService

Since:
Sakai 2.4
Version:
$Rev: 124895 $
Author:
ieb

Field Summary
static String PARM_STATE_RESET
          Parameter to force state reset
 
Fields inherited from interface org.sakaiproject.portal.api.PortalService
PLACEMENT_ATTRIBUTE, TOOL_PORTLET_APP_NAME, TOOL_PORTLET_CONTEXT_PATH, TOOL_PORTLET_NAME
 
Constructor Summary
PortalServiceImpl()
           
 
Method Summary
 void addHandler(Portal portal, PortalHandler handler)
           
 void addHandler(String portalContext, PortalHandler handler)
           
 void addPortal(Portal portal)
           
 void addRenderEngine(String context, PortalRenderEngine vengine)
           
 String decodeToolState(Map<String,String[]> params, String placementId)
           
 Map<String,String[]> encodeToolState(String placementId, String URLstub)
           
 Editor getActiveEditor()
           
 Editor getActiveEditor(org.sakaiproject.tool.api.Placement placement)
           
 String getBrowserCollectionId(org.sakaiproject.tool.api.Placement placement)
           
 org.sakaiproject.content.api.ContentHostingService getContentHostingService()
           
 EditorRegistry getEditorRegistry()
           
 Map<String,PortalHandler> getHandlerMap(Portal portal)
           
 Iterator<PortletApplicationDescriptor> getRegisteredApplications()
           
 PortalRenderEngine getRenderEngine(String context, javax.servlet.http.HttpServletRequest request)
           
 String getResetState()
           
 String getResetStateParam()
           
 SiteNeighbourhoodService getSiteNeighbourhoodService()
           
 String getSkinPrefix()
           
 StoredState getStoredState()
           
 StyleAbleProvider getStylableService()
           
 void init()
           
 boolean isEnableDirect()
           
 boolean isResetRequested(javax.servlet.http.HttpServletRequest req)
           
 StoredState newStoredState(String marker, String replacement)
           
 void removeHandler(Portal portal, String urlFragment)
           
 void removeHandler(String portalContext, String urlFragment)
           
 void removePortal(Portal portal)
           
 void removeRenderEngine(String context, PortalRenderEngine vengine)
           
 void setContentHostingService(org.sakaiproject.content.api.ContentHostingService contentHostingService)
           
 void setEditorRegistry(EditorRegistry editorRegistry)
           
 void setResetState(String ss)
           
 void setSiteNeighbourhoodService(SiteNeighbourhoodService siteNeighbourhoodService)
           
 void setStoredState(StoredState ss)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARM_STATE_RESET

public static final String PARM_STATE_RESET
Parameter to force state reset

See Also:
Constant Field Values
Constructor Detail

PortalServiceImpl

public PortalServiceImpl()
Method Detail

init

public void init()

getStoredState

public StoredState getStoredState()
Specified by:
getStoredState in interface PortalService

setStoredState

public void setStoredState(StoredState ss)
Specified by:
setStoredState in interface PortalService

decodeToolState

public String decodeToolState(Map<String,String[]> params,
                              String placementId)
Specified by:
decodeToolState in interface PortalService

encodeToolState

public Map<String,String[]> encodeToolState(String placementId,
                                            String URLstub)
Specified by:
encodeToolState in interface PortalService

getResetState

public String getResetState()
Specified by:
getResetState in interface PortalService

setResetState

public void setResetState(String ss)
Specified by:
setResetState in interface PortalService

isEnableDirect

public boolean isEnableDirect()
Specified by:
isEnableDirect in interface PortalService

isResetRequested

public boolean isResetRequested(javax.servlet.http.HttpServletRequest req)
Specified by:
isResetRequested in interface PortalService

getResetStateParam

public String getResetStateParam()
Specified by:
getResetStateParam in interface PortalService

newStoredState

public StoredState newStoredState(String marker,
                                  String replacement)
Specified by:
newStoredState in interface PortalService

getRegisteredApplications

public Iterator<PortletApplicationDescriptor> getRegisteredApplications()
Specified by:
getRegisteredApplications in interface PortalService

getRenderEngine

public PortalRenderEngine getRenderEngine(String context,
                                          javax.servlet.http.HttpServletRequest request)
Specified by:
getRenderEngine in interface PortalService

addRenderEngine

public void addRenderEngine(String context,
                            PortalRenderEngine vengine)
Specified by:
addRenderEngine in interface PortalService

removeRenderEngine

public void removeRenderEngine(String context,
                               PortalRenderEngine vengine)
Specified by:
removeRenderEngine in interface PortalService

addHandler

public void addHandler(Portal portal,
                       PortalHandler handler)
Specified by:
addHandler in interface PortalService

addHandler

public void addHandler(String portalContext,
                       PortalHandler handler)
Specified by:
addHandler in interface PortalService

getHandlerMap

public Map<String,PortalHandler> getHandlerMap(Portal portal)
Specified by:
getHandlerMap in interface PortalService

removeHandler

public void removeHandler(Portal portal,
                          String urlFragment)
Specified by:
removeHandler in interface PortalService

removeHandler

public void removeHandler(String portalContext,
                          String urlFragment)
Specified by:
removeHandler in interface PortalService

addPortal

public void addPortal(Portal portal)
Specified by:
addPortal in interface PortalService

removePortal

public void removePortal(Portal portal)
Specified by:
removePortal in interface PortalService

getStylableService

public StyleAbleProvider getStylableService()
Specified by:
getStylableService in interface PortalService

getSiteNeighbourhoodService

public SiteNeighbourhoodService getSiteNeighbourhoodService()
Specified by:
getSiteNeighbourhoodService in interface PortalService

setSiteNeighbourhoodService

public void setSiteNeighbourhoodService(SiteNeighbourhoodService siteNeighbourhoodService)
Parameters:
siteNeighbourhoodService - the siteNeighbourhoodService to set

getContentHostingService

public org.sakaiproject.content.api.ContentHostingService getContentHostingService()
Specified by:
getContentHostingService in interface PortalService

setContentHostingService

public void setContentHostingService(org.sakaiproject.content.api.ContentHostingService contentHostingService)
Specified by:
setContentHostingService in interface PortalService

getBrowserCollectionId

public String getBrowserCollectionId(org.sakaiproject.tool.api.Placement placement)
Specified by:
getBrowserCollectionId in interface PortalService

getActiveEditor

public Editor getActiveEditor()
Specified by:
getActiveEditor in interface PortalService

getActiveEditor

public Editor getActiveEditor(org.sakaiproject.tool.api.Placement placement)
Specified by:
getActiveEditor in interface PortalService

getEditorRegistry

public EditorRegistry getEditorRegistry()
Specified by:
getEditorRegistry in interface PortalService

setEditorRegistry

public void setEditorRegistry(EditorRegistry editorRegistry)
Specified by:
setEditorRegistry in interface PortalService

getSkinPrefix

public String getSkinPrefix()
Specified by:
getSkinPrefix in interface PortalService


Copyright © 2003-2013 University of Michigan. All Rights Reserved.