Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.contentbrowser
Class WorkspaceActionsBean

java.lang.Object
  extended by org.nuxeo.ecm.webapp.base.InputController
      extended by org.nuxeo.ecm.webapp.contentbrowser.WorkspaceActionsBean
All Implemented Interfaces:
Serializable, 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

Constructor Summary
WorkspaceActionsBean()
           
 
Method Summary
 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)
           
 
Methods inherited from class org.nuxeo.ecm.webapp.base.InputController
computeOutcome, getAdministrator, logDocumentWithName, logDocumentWithTitle, removeDocumentFromList
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.webapp.contentbrowser.WorkspaceActions
getAdministrator
 

Constructor Detail

WorkspaceActionsBean

public WorkspaceActionsBean()
Method Detail

cancel

public String cancel()

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.