Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.contentbrowser
Interface ServerActions

All Superinterfaces:
StatefulBaseLifeCycle
All Known Implementing Classes:
ServerActionsBean

public interface ServerActions
extends StatefulBaseLifeCycle

Defines actions that can be invoked from pages or other actions - relative to server.

Author:
Razvan Caraghin

Method Summary
 void destroy()
          Removes the reference.
 java.util.List<Repository> getAvailableRepositories()
          Returns the list of available RepositoryLocations the user can connect to.
 java.lang.String selectRepository(java.lang.String repositoryName)
          Stores the selected location.
 
Methods inherited from interface org.nuxeo.ecm.webapp.base.StatefulBaseLifeCycle
readState, saveState
 

Method Detail

getAvailableRepositories

java.util.List<Repository> getAvailableRepositories()
                                                    throws ClientException
Returns the list of available RepositoryLocations the user can connect to.

Throws:
ClientException

selectRepository

java.lang.String selectRepository(java.lang.String repositoryName)
                                  throws ClientException
Stores the selected location.

Returns:
the page that displays the domains ( found at the selected RepositoryLocation.
Throws:
ClientException

destroy

@Destroy
void destroy()
Removes the reference.


Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.