com.stratelia.silverpeas.peasCore
Class SilverpeasWebUtil

java.lang.Object
  extended by com.stratelia.silverpeas.peasCore.SilverpeasWebUtil

public class SilverpeasWebUtil
extends Object

Author:
ehugonnet

Constructor Summary
SilverpeasWebUtil()
           
 
Method Summary
 String[] getComponentId(javax.servlet.http.HttpServletRequest request)
          Extract the space id and the component id.
 String getContentLanguage(javax.servlet.http.HttpServletRequest request)
          Gets the content language specified into the request.
 MainSessionController getMainSessionController(javax.servlet.http.HttpServletRequest request)
          Accessing the MainSessionController
 OrganisationController getOrganisationController()
           
 String[] getRoles(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SilverpeasWebUtil

public SilverpeasWebUtil()
Method Detail

getOrganisationController

public OrganisationController getOrganisationController()

getMainSessionController

public MainSessionController getMainSessionController(javax.servlet.http.HttpServletRequest request)
Accessing the MainSessionController

Parameters:
request - the HttpServletRequest
Returns:
the current MainSessionController.

getComponentId

public String[] getComponentId(javax.servlet.http.HttpServletRequest request)
Extract the space id and the component id.

Parameters:
request -
Returns:

getRoles

public String[] getRoles(javax.servlet.http.HttpServletRequest request)

getContentLanguage

public String getContentLanguage(javax.servlet.http.HttpServletRequest request)
Gets the content language specified into the request.

Parameters:
request -
Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.