org.nuxeo.ecm.webapp.contentbrowser
Class WorkspaceActionsBean
java.lang.Object
org.nuxeo.ecm.webapp.base.InputController
org.nuxeo.ecm.webapp.contentbrowser.WorkspaceActionsBean
- All Implemented Interfaces:
- Serializable, StatefulBaseLifeCycle, WorkspaceActions
@Name(value="workspaceActions")
@Scope(value=CONVERSATION)
public class WorkspaceActionsBean
- extends InputController
- implements WorkspaceActions, Serializable
Action listener that deals with operations with the workspaces.
This action listener handles the workspace creation wizard.
- Author:
- Razvan Caraghin
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
userManager
@In(create=true)
protected transient UserManager userManager
WorkspaceActionsBean
public WorkspaceActionsBean()
initialize
@Create
public void initialize()
- Specified by:
initialize
in interface WorkspaceActions
destroy
@Destroy
public void destroy()
- Specified by:
destroy
in interface WorkspaceActions
cancel
public String cancel()
saveState
public void saveState()
- Description copied from interface:
StatefulBaseLifeCycle
- Passivate method.
- Specified by:
saveState
in interface StatefulBaseLifeCycle
readState
public void readState()
- Description copied from interface:
StatefulBaseLifeCycle
- Activate method.
- Specified by:
readState
in interface StatefulBaseLifeCycle
setUseTemplate
public void setUseTemplate(Boolean value)
- Specified by:
setUseTemplate
in interface WorkspaceActions
getUseTemplate
public Boolean getUseTemplate()
- Specified by:
getUseTemplate
in interface WorkspaceActions
FactoryForSelectedTemplateId
@Factory(value="selectedTemplateId")
public ContextStringWrapper FactoryForSelectedTemplateId()
- Specified by:
FactoryForSelectedTemplateId
in interface WorkspaceActions
FactoryForSelectSecurityModel
@Factory(value="selectedSecurityModel")
public ContextStringWrapper FactoryForSelectSecurityModel()
- Specified by:
FactoryForSelectSecurityModel
in interface WorkspaceActions
FactoryForSelectSecurityOwner
@Factory(value="selectedOwnerModel")
public ContextStringWrapper FactoryForSelectSecurityOwner()
- Specified by:
FactoryForSelectSecurityOwner
in interface WorkspaceActions
getTmpWorkspace
@Begin(pageflow="createWorkspace",
nested=true)
@Factory(value="tmpWorkspace")
public DocumentModel getTmpWorkspace()
- Specified by:
getTmpWorkspace
in interface WorkspaceActions
getTemplates
@Factory(value="availableWorkspaceTemplates")
public DocumentModelList getTemplates()
throws ClientException
- Specified by:
getTemplates
in interface WorkspaceActions
- Throws:
ClientException
finishPageFlow
public String finishPageFlow()
- Specified by:
finishPageFlow
in interface WorkspaceActions
getSelectedTemplateDescription
public String getSelectedTemplateDescription()
- Specified by:
getSelectedTemplateDescription
in interface WorkspaceActions
getSelectedTemplate
public DocumentModel getSelectedTemplate()
- Specified by:
getSelectedTemplate
in interface WorkspaceActions
createWorkspace
@End
public String createWorkspace()
throws ClientException
- Specified by:
createWorkspace
in interface WorkspaceActions
- Throws:
ClientException
createWorkspaceOld
@End(beforeRedirect=true)
public String createWorkspaceOld()
throws ClientException
- Throws:
ClientException
exitWizard
@End(beforeRedirect=true)
public String exitWizard()
throws ClientException
- Specified by:
exitWizard
in interface WorkspaceActions
- Throws:
ClientException
getA4JHackingURL
public String getA4JHackingURL()
- Specified by:
getA4JHackingURL
in interface WorkspaceActions
Copyright © 2010 Nuxeo SAS. All Rights Reserved.