Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.contentbrowser
Class ServerActionsBean

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

@Name(value="serverActions")
@Scope(value=CONVERSATION)
public class ServerActionsBean
extends Object
implements ServerActions, 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
 List<Repository> getAvailableRepositories()
          Retrieves the available locations.
 String selectRepository(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

getAvailableRepositories

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

Specified by:
getAvailableRepositories in interface ServerActions
Throws:
ClientException

selectRepository

public String selectRepository(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 ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.