Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.contentbrowser
Class ServerActionsBean

java.lang.Object
  extended by org.nuxeo.ecm.webapp.contentbrowser.ServerActionsBean
All Implemented Interfaces:
java.io.Serializable, StatefulBaseLifeCycle, ServerActions

@Name(value="serverActions")
@Scope(value=CONVERSATION)
public class ServerActionsBean
extends java.lang.Object
implements ServerActions, java.io.Serializable

Action listener that knows how to retrieve a list of core servers.

Author:
Olivier Grisel, Florent Guillaume
See Also:
Serialized Form

Constructor Summary
ServerActionsBean()
           
 
Method Summary
 void destroy()
          Removes the reference.
 java.util.List<Repository> getAvailableRepositories()
          Retrieves the available locations.
 void readState()
          Activate method.
 void saveState()
          Passivate method.
 java.lang.String selectRepository(java.lang.String repositoryName)
          Stores the selected location.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerActionsBean

public ServerActionsBean()
Method Detail

destroy

@Destroy
public void destroy()
Description copied from interface: ServerActions
Removes the reference.

Specified by:
destroy in interface ServerActions

saveState

public void saveState()
Description copied from interface: StatefulBaseLifeCycle
Passivate method.

Specified by:
saveState in interface StatefulBaseLifeCycle

readState

public void readState()
Description copied from interface: StatefulBaseLifeCycle
Activate method.

Specified by:
readState in interface StatefulBaseLifeCycle

getAvailableRepositories

@Factory(value="availableCoreRepositories")
public java.util.List<Repository> getAvailableRepositories()
                                                    throws ClientException
Retrieves the available locations.

Specified by:
getAvailableRepositories in interface ServerActions
Throws:
ClientException

selectRepository

public java.lang.String selectRepository(java.lang.String repositoryName)
                                  throws ClientException
Description copied from interface: ServerActions
Stores the selected location.

Specified by:
selectRepository in interface ServerActions
Returns:
the page that displays the domains ( found at the selected RepositoryLocation.
Throws:
ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.