@Name(value="serverActions") @Scope(value=CONVERSATION) public class ServerActionsBean extends Object implements ServerActions, Serializable
Constructor and Description |
---|
ServerActionsBean() |
Modifier and Type | Method and Description |
---|---|
List<Repository> |
getAvailableRepositories()
Retrieves the available locations.
|
String |
selectRepository(String repositoryName)
Stores the selected location.
|
@Factory(value="availableCoreRepositories") public List<Repository> getAvailableRepositories() throws ClientException
getAvailableRepositories
in interface ServerActions
ClientException
public String selectRepository(String repositoryName) throws ClientException
ServerActions
selectRepository
in interface ServerActions
RepositoryLocation
.ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.