@Name(value="workspaceActions") @Scope(value=CONVERSATION) public class WorkspaceActionsBean extends InputController implements WorkspaceActions, Serializable
This action listener handles the workspace creation wizard.
Constructor and Description |
---|
WorkspaceActionsBean() |
Modifier and Type | Method and Description |
---|---|
String |
cancel() |
String |
createWorkspace() |
String |
createWorkspaceOld() |
String |
exitWizard() |
ContextStringWrapper |
FactoryForSelectedTemplateId() |
ContextStringWrapper |
FactoryForSelectSecurityModel() |
ContextStringWrapper |
FactoryForSelectSecurityOwner() |
String |
finishPageFlow() |
String |
getA4JHackingURL() |
DocumentModel |
getSelectedTemplate() |
String |
getSelectedTemplateDescription() |
DocumentModelList |
getTemplates() |
DocumentModel |
getTmpWorkspace() |
Boolean |
getUseTemplate() |
void |
setUseTemplate(Boolean value) |
computeOutcome, getAdministrator, logDocumentWithName, logDocumentWithTitle, removeDocumentFromList
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdministrator
public String cancel()
public void setUseTemplate(Boolean value)
setUseTemplate
in interface WorkspaceActions
public Boolean getUseTemplate()
getUseTemplate
in interface WorkspaceActions
@Factory(value="selectedTemplateId") public ContextStringWrapper FactoryForSelectedTemplateId()
FactoryForSelectedTemplateId
in interface WorkspaceActions
@Factory(value="selectedSecurityModel") public ContextStringWrapper FactoryForSelectSecurityModel()
FactoryForSelectSecurityModel
in interface WorkspaceActions
@Factory(value="selectedOwnerModel") public ContextStringWrapper FactoryForSelectSecurityOwner()
FactoryForSelectSecurityOwner
in interface WorkspaceActions
@Begin(pageflow="createWorkspace", nested=true) @Factory(value="tmpWorkspace") public DocumentModel getTmpWorkspace()
getTmpWorkspace
in interface WorkspaceActions
@Factory(value="availableWorkspaceTemplates") public DocumentModelList getTemplates() throws ClientException
getTemplates
in interface WorkspaceActions
ClientException
public String finishPageFlow()
finishPageFlow
in interface WorkspaceActions
public String getSelectedTemplateDescription()
getSelectedTemplateDescription
in interface WorkspaceActions
public DocumentModel getSelectedTemplate()
getSelectedTemplate
in interface WorkspaceActions
@End public String createWorkspace() throws ClientException
createWorkspace
in interface WorkspaceActions
ClientException
@End(beforeRedirect=true) public String createWorkspaceOld() throws ClientException
ClientException
@End(beforeRedirect=true) public String exitWizard() throws ClientException
exitWizard
in interface WorkspaceActions
ClientException
public String getA4JHackingURL()
getA4JHackingURL
in interface WorkspaceActions
Copyright © 2014 Nuxeo SA. All rights reserved.