org.alfresco.web.bean.wcm
Class FormDetailsDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.wcm.FormDetailsDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean

public class FormDetailsDialog
extends BaseDialogBean

Backing bean for the Website Project Form Details dialog. Launched from the Form Details button on the Define Web Content Forms page.

See Also:
Serialized Form

Field Summary
protected  CreateWebsiteWizard websiteWizard
           
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
FormDetailsDialog()
           
 
Method Summary
protected  java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs the actual processing for the wizard.
 CreateWebsiteWizard.FormWrapper getActionForm()
           
protected  org.alfresco.service.cmr.avm.AVMService getAvmService()
           
 java.lang.String getContainerDescription()
          Returns the description to be used for the dialog
 java.lang.String getDescription()
           
 java.lang.String getOutputPathPattern()
           
 java.lang.String getTitle()
           
 java.util.List getWorkflowList()
           
 java.lang.String[] getWorkflowSelectedValue()
           
protected  org.alfresco.service.cmr.workflow.WorkflowService getWorkflowService()
           
 void init(java.util.Map parameters)
          Initialises the dialog bean
 void setAvmService(org.alfresco.service.cmr.avm.AVMService avmService)
           
 void setCreateWebsiteWizard(CreateWebsiteWizard wizard)
           
 void setDescription(java.lang.String description)
           
 void setOutputPathPattern(java.lang.String pattern)
           
 void setTitle(java.lang.String title)
           
 void setWorkflowSelectedValue(java.lang.String[] workflowSelectedValue)
           
 void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
           
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

websiteWizard

protected CreateWebsiteWizard websiteWizard
Constructor Detail

FormDetailsDialog

public FormDetailsDialog()
Method Detail

init

public void init(java.util.Map parameters)
Description copied from interface: IDialogBean
Initialises the dialog bean

Specified by:
init in interface IDialogBean
Overrides:
init in class BaseDialogBean
Parameters:
parameters - Map of parameters for the dialog
See Also:
BaseDialogBean.init(java.util.Map)

getContainerDescription

public java.lang.String getContainerDescription()
Description copied from interface: IDialogBean
Returns the description to be used for the dialog

If this returns null the DialogManager will lookup the description via the dialog configuration

Specified by:
getContainerDescription in interface IDialogBean
Overrides:
getContainerDescription in class BaseDialogBean
Returns:
The title or null if the title is to be acquired via configuration

setAvmService

public void setAvmService(org.alfresco.service.cmr.avm.AVMService avmService)
Parameters:
avmService - The avmService to set.

getAvmService

protected org.alfresco.service.cmr.avm.AVMService getAvmService()

setCreateWebsiteWizard

public void setCreateWebsiteWizard(CreateWebsiteWizard wizard)
Parameters:
wizard - The Create Website Wizard to set.

setWorkflowService

public void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
Parameters:
workflowService - The WorkflowService to set.

getWorkflowService

protected org.alfresco.service.cmr.workflow.WorkflowService getWorkflowService()

getActionForm

public CreateWebsiteWizard.FormWrapper getActionForm()
Returns:
an object representing the form for the current action

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description to set.

getTitle

public java.lang.String getTitle()
Returns:
Returns the title.

setTitle

public void setTitle(java.lang.String title)
Parameters:
title - The title to set.

getOutputPathPattern

public java.lang.String getOutputPathPattern()
Returns:
Returns the filename pattern

setOutputPathPattern

public void setOutputPathPattern(java.lang.String pattern)
Parameters:
pattern - The filename pattern to set.

getWorkflowSelectedValue

public java.lang.String[] getWorkflowSelectedValue()
Returns:
Returns the workflow Selected Value.

setWorkflowSelectedValue

public void setWorkflowSelectedValue(java.lang.String[] workflowSelectedValue)
Parameters:
workflowSelectedValue - The workflow Selected Value to set.

getWorkflowList

public java.util.List getWorkflowList()
Returns:
List of UIListItem object representing the available workflows for the template

finishImpl

protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
                                      java.lang.String outcome)
                               throws java.lang.Exception
Description copied from class: BaseDialogBean
Performs the actual processing for the wizard. NOTE: This method is called within the context of a transaction so no transaction handling is required

Specified by:
finishImpl in class BaseDialogBean
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome
Throws:
java.lang.Exception
See Also:
BaseDialogBean.finishImpl(javax.faces.context.FacesContext, java.lang.String)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.