@Name(value="serverActions") @Scope(value=CONVERSATION) public class ServerActionsBean extends Object implements ServerActions, Serializable
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_VIEW |
protected NavigationContext |
navigationContext |
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.
|
protected static final String DEFAULT_VIEW
@In(required=true, create=true) protected transient NavigationContext navigationContext
public ServerActionsBean()
@Factory(value="availableCoreRepositories") public List<Repository> getAvailableRepositories()
getAvailableRepositories
in interface ServerActions
public String selectRepository(String repositoryName)
ServerActions
selectRepository
in interface ServerActions
RepositoryLocation
.Copyright © 2015 Nuxeo SA. All rights reserved.