com.silverpeas.look
Interface LookHelper

All Known Implementing Classes:
LookSilverpeasV5Helper

public interface LookHelper


Field Summary
static String SESSION_ATT
           
 
Method Summary
 boolean displayContextualPDC()
           
 boolean displayPDCFrame()
           
 boolean displayPDCInNavigationFrame()
           
 boolean displaySpaceIcons()
           
 String getComponentId()
           
 String getComponentURL(String componentId)
           
 String getDate()
           
 String getDefaultSpaceId()
           
 UserMenuDisplay getDisplayUserMenu()
           
 String getLanguage()
           
 List<PublicationDetail> getLatestPublications(String spaceId, int nbPublis)
           
 String getMainFrame()
           
 int getNBConnectedUsers()
           
 boolean getSettings(String key)
           
 boolean getSettings(String key, boolean defaultValue)
           
 int getSettings(String key, int defaultValue)
           
 String getSettings(String key, String defaultValue)
           
 DefaultSpaceHomePage getSpaceHomePage(String spaceId)
           
 String getSpaceId()
           
 String getSpaceId(String componentId)
           
 String getSpaceWallPaper()
           
 String getSpaceWithCSSToApply()
           
 String getString(String key)
           
 String getSubSpaceId()
           
 TickerSettings getTickerSettings()
           
 List<TopItem> getTopItems()
           
 List<String> getTopSpaceIds()
           
 String getUserFullName()
           
 String getUserFullName(String userId)
           
 String getUserId()
           
 List<PublicationDetail> getValidPublications(NodePK nodePK)
           
 String getWallPaper(String spaceId)
           
 void init(MainSessionController mainSessionController, ResourceLocator resources)
          Deprecated. 
 boolean isAnonymousAccess()
           
 boolean isAnonymousUser()
           
 boolean isBackOfficeVisible()
           
 boolean isDisplayPDCInHomePage()
           
 boolean isEnableUFSContainsState()
           
 boolean isMenuPersonalisationEnabled()
           
 void setComponentId(String componentId)
           
 void setComponentIdAndSpaceIds(String spaceId, String subSpaceId, String componentId)
           
 void setDisplayUserMenu(UserMenuDisplay userMenuDisplayMode)
           
 void setMainFrame(String mainFrame)
           
 void setSpaceId(String spaceId)
           
 void setSpaceIdAndSubSpaceId(String spaceId)
           
 void setSubSpaceId(String subSpaceId)
           
 

Field Detail

SESSION_ATT

static final String SESSION_ATT
See Also:
Constant Field Values
Method Detail

getSpaceId

String getSpaceId()

setSpaceId

void setSpaceId(String spaceId)

getSubSpaceId

String getSubSpaceId()

setSubSpaceId

void setSubSpaceId(String subSpaceId)

getComponentId

String getComponentId()

setComponentId

void setComponentId(String componentId)

isMenuPersonalisationEnabled

boolean isMenuPersonalisationEnabled()

setSpaceIdAndSubSpaceId

void setSpaceIdAndSubSpaceId(String spaceId)
Parameters:
spaceId - can be id of a space or a subspace

setComponentIdAndSpaceIds

void setComponentIdAndSpaceIds(String spaceId,
                               String subSpaceId,
                               String componentId)

init

@Deprecated
void init(MainSessionController mainSessionController,
                     ResourceLocator resources)
Deprecated. 


getUserFullName

String getUserFullName(String userId)

getUserFullName

String getUserFullName()

getUserId

String getUserId()

getLanguage

String getLanguage()

isAnonymousUser

boolean isAnonymousUser()

displayPDCInNavigationFrame

boolean displayPDCInNavigationFrame()

displayPDCFrame

boolean displayPDCFrame()

displayContextualPDC

boolean displayContextualPDC()

displaySpaceIcons

boolean displaySpaceIcons()

getSpaceId

String getSpaceId(String componentId)

getWallPaper

String getWallPaper(String spaceId)

getNBConnectedUsers

int getNBConnectedUsers()

isAnonymousAccess

boolean isAnonymousAccess()

getSettings

boolean getSettings(String key)

getSettings

boolean getSettings(String key,
                    boolean defaultValue)

getSettings

String getSettings(String key,
                   String defaultValue)

getSettings

int getSettings(String key,
                int defaultValue)

getString

String getString(String key)

isBackOfficeVisible

boolean isBackOfficeVisible()

getTopItems

List<TopItem> getTopItems()

getTopSpaceIds

List<String> getTopSpaceIds()

getMainFrame

String getMainFrame()

setMainFrame

void setMainFrame(String mainFrame)

getSpaceWallPaper

String getSpaceWallPaper()

getComponentURL

String getComponentURL(String componentId)

getDate

String getDate()

getDefaultSpaceId

String getDefaultSpaceId()

getLatestPublications

List<PublicationDetail> getLatestPublications(String spaceId,
                                              int nbPublis)

getValidPublications

List<PublicationDetail> getValidPublications(NodePK nodePK)

getDisplayUserMenu

UserMenuDisplay getDisplayUserMenu()

setDisplayUserMenu

void setDisplayUserMenu(UserMenuDisplay userMenuDisplayMode)

isEnableUFSContainsState

boolean isEnableUFSContainsState()

isDisplayPDCInHomePage

boolean isDisplayPDCInHomePage()

getSpaceWithCSSToApply

String getSpaceWithCSSToApply()

getSpaceHomePage

DefaultSpaceHomePage getSpaceHomePage(String spaceId)

getTickerSettings

TickerSettings getTickerSettings()


Copyright © 2016 Silverpeas. All Rights Reserved.