com.silverpeas.jobStartPagePeas
Class NavBarManager
java.lang.Object
com.silverpeas.jobStartPagePeas.NavBarManager
public class NavBarManager
- extends Object
Method Summary |
void |
addSpaceInCache(String theSpaceId)
|
protected void |
buildSpaceHTMLLine(DisplaySorted space)
|
protected DisplaySorted |
buildSpaceObject(String spaceId)
|
protected DisplaySorted[] |
createComponentObjects(SpaceInst spaceInst,
boolean subSpaces)
|
protected DisplaySorted[] |
createSpaceObjects(String[] spaceIds,
boolean goRecurs)
|
DisplaySorted[] |
getAvailableSpaceComponents()
|
DisplaySorted[] |
getAvailableSpaces()
|
DisplaySorted[] |
getAvailableSubSpaceComponents()
|
DisplaySorted[] |
getAvailableSubSpaces()
|
protected DisplaySorted |
getComponentCache(String componentId)
|
String |
getCurrentSpaceId()
|
String |
getCurrentSubSpaceId()
|
protected String |
getShortSpaceId(String spaceId)
|
DisplaySorted |
getSpace(String theSpaceId)
|
protected DisplaySorted |
getSpaceCache(String spaceId)
|
void |
initWithUser(AbstractComponentSessionController msc,
UserDetail user)
|
protected boolean |
isAdminOfSpace(SpaceInstLight spaceInst)
|
void |
removeSpaceInCache(String theSpaceId)
|
void |
resetAllCache()
|
void |
resetSpaceCache(String theSpaceId)
|
boolean |
setCurrentSpace(String theSpaceId)
|
boolean |
setCurrentSubSpace(String theSpaceId)
|
protected String |
urlFactory(String link,
String elementLabel,
String imageLinked,
String labelLinked,
int elementType,
int imageType,
String m_sContext,
String target,
DisplaySorted extraInfos)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavBarManager
public NavBarManager()
resetSpaceCache
public void resetSpaceCache(String theSpaceId)
addSpaceInCache
public void addSpaceInCache(String theSpaceId)
removeSpaceInCache
public void removeSpaceInCache(String theSpaceId)
resetAllCache
public void resetAllCache()
initWithUser
public void initWithUser(AbstractComponentSessionController msc,
UserDetail user)
getAvailableSpaces
public DisplaySorted[] getAvailableSpaces()
getCurrentSpaceId
public String getCurrentSpaceId()
getSpace
public DisplaySorted getSpace(String theSpaceId)
setCurrentSpace
public boolean setCurrentSpace(String theSpaceId)
getAvailableSpaceComponents
public DisplaySorted[] getAvailableSpaceComponents()
getAvailableSubSpaces
public DisplaySorted[] getAvailableSubSpaces()
getCurrentSubSpaceId
public String getCurrentSubSpaceId()
setCurrentSubSpace
public boolean setCurrentSubSpace(String theSpaceId)
getAvailableSubSpaceComponents
public DisplaySorted[] getAvailableSubSpaceComponents()
getSpaceCache
protected DisplaySorted getSpaceCache(String spaceId)
getComponentCache
protected DisplaySorted getComponentCache(String componentId)
createSpaceObjects
protected DisplaySorted[] createSpaceObjects(String[] spaceIds,
boolean goRecurs)
buildSpaceObject
protected DisplaySorted buildSpaceObject(String spaceId)
getShortSpaceId
protected String getShortSpaceId(String spaceId)
buildSpaceHTMLLine
protected void buildSpaceHTMLLine(DisplaySorted space)
isAdminOfSpace
protected boolean isAdminOfSpace(SpaceInstLight spaceInst)
createComponentObjects
protected DisplaySorted[] createComponentObjects(SpaceInst spaceInst,
boolean subSpaces)
urlFactory
protected String urlFactory(String link,
String elementLabel,
String imageLinked,
String labelLinked,
int elementType,
int imageType,
String m_sContext,
String target,
DisplaySorted extraInfos)
Copyright © 2016 Silverpeas. All Rights Reserved.