org.silverpeas.admin.web.delegate
Class AdminPersonalWebDelegate

java.lang.Object
  extended by org.silverpeas.admin.web.delegate.AdminPersonalWebDelegate

public class AdminPersonalWebDelegate
extends Object

Author:
Yohann Chastagnier

Method Summary
 WAComponent discardComponent(String componentName)
          Deletes from the user's personal space the instantiation of the requested component
 String getComponentLabel(WAComponent component)
          Gets the WAComponent label
static AdminPersonalWebDelegate getInstance(UserDetail user, UserPreferences userPreference, LookWebDelegate lookDelegate)
          Easy way to instance the look service provider.
 Collection<WAComponent> getNotUsedComponents()
          Gets all components that can be handled in personnal space but not used yet.
 Collection<ComponentInst> getUsedComponents()
          Gets used components instanciated in the user personal space.
 Collection<AbstractTool> getUsedTools()
          Gets used tools in the user personal space.
 ComponentInst useComponent(String componentName)
          Instantiates the requested component in the user's personal space
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getComponentLabel

public String getComponentLabel(WAComponent component)
Gets the WAComponent label

Parameters:
component -
Returns:

getNotUsedComponents

public Collection<WAComponent> getNotUsedComponents()
Gets all components that can be handled in personnal space but not used yet.

Returns:

getUsedComponents

public Collection<ComponentInst> getUsedComponents()
Gets used components instanciated in the user personal space.

Returns:

getUsedTools

public Collection<AbstractTool> getUsedTools()
Gets used tools in the user personal space.

Returns:

useComponent

public ComponentInst useComponent(String componentName)
                           throws Exception
Instantiates the requested component in the user's personal space

Parameters:
componentName - the WAComponent name
Returns:
the instantiated component
Throws:
Exception

discardComponent

public WAComponent discardComponent(String componentName)
                             throws Exception
Deletes from the user's personal space the instantiation of the requested component

Parameters:
componentName - the WAComponent name
Returns:
the WAComponent
Throws:
Exception

getInstance

public static AdminPersonalWebDelegate getInstance(UserDetail user,
                                                   UserPreferences userPreference,
                                                   LookWebDelegate lookDelegate)
Easy way to instance the look service provider.

Parameters:
user -
userPreference -
lookDelegate -
Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.