org.alfresco.web.bean.forums
Class CreateDiscussionDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.wizard.BaseWizardBean
          extended by org.alfresco.web.bean.spaces.CreateSpaceWizard
              extended by org.alfresco.web.bean.spaces.CreateSpaceDialog
                  extended by org.alfresco.web.bean.forums.CreateTopicDialog
                      extended by org.alfresco.web.bean.forums.CreateDiscussionDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean, IWizardBean

public class CreateDiscussionDialog
extends CreateTopicDialog

Bean implementation for the "Create Discusssion Dialog".

See Also:
Serialized Form

Field Summary
protected  org.alfresco.service.cmr.repository.NodeRef discussingNodeRef
           
 
Fields inherited from class org.alfresco.web.bean.forums.CreateTopicDialog
message
 
Fields inherited from class org.alfresco.web.bean.spaces.CreateSpaceWizard
copyPolicy, createdNode, createFrom, CREATEFROM_EXISTING, CREATEFROM_SCRATCH, CREATEFROM_TEMPLATE, DEFAULT_SPACE_ICON_NAME, DEFAULT_SPACE_ICON_PATH, DEFAULT_SPACE_TYPE_ICON_PATH, description, existingSpaceId, folderTypeDescriptions, folderTypes, icon, name, saveAsTemplate, spaceType, templateName, templates, templateSpaceId, title
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
CreateDiscussionDialog()
           
 
Method Summary
 java.lang.String cancel()
          Method handler called when the cancel button of the dialog is pressed
protected  void createTopic(java.lang.String id)
          Creates a topic for the node with the given id
protected  void deleteTopic()
          Deletes the setup performed during the initialisation of the dialog.
 void init(java.util.Map parameters)
          Initialises the wizard
 
Methods inherited from class org.alfresco.web.bean.forums.CreateTopicDialog
doPostCommitProcessing, finishImpl, getContentService, getFinishButtonLabel, getMessage, setContentService, setMessage
 
Methods inherited from class org.alfresco.web.bean.spaces.CreateSpaceDialog
getDefaultCancelOutcome, getDefaultFinishOutcome
 
Methods inherited from class org.alfresco.web.bean.spaces.CreateSpaceWizard
formatErrorMessage, getCopyPolicy, getCreateFrom, getDescription, getExistingSpaceId, getFolderTypeDescriptions, getFolderTypes, getIcon, getIcons, getName, getSpaceType, getSummary, getTemplateName, getTemplateSpaceId, getTemplateSpaces, getTitle, isSaveAsTemplate, next, setCopyPolicy, setCreateFrom, setDescription, setExistingSpaceId, setIcon, setName, setSaveAsTemplate, setSpaceType, setTemplateName, setTemplateSpaceId, setTitle
 
Methods inherited from class org.alfresco.web.bean.wizard.BaseWizardBean
back, buildSummary, getBackButtonLabel, getNextButtonDisabled, getNextButtonLabel, getStepDescription, getStepTitle
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
finish, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, 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
 
Methods inherited from interface org.alfresco.web.bean.dialog.IDialogBean
finish, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getContainerDescription, getContainerSubTitle, getContainerTitle, getFinishButtonDisabled, getMoreActionsConfigId, isFinished, restored
 

Field Detail

discussingNodeRef

protected org.alfresco.service.cmr.repository.NodeRef discussingNodeRef
Constructor Detail

CreateDiscussionDialog

public CreateDiscussionDialog()
Method Detail

init

public void init(java.util.Map parameters)
Description copied from class: CreateSpaceWizard
Initialises the wizard

Specified by:
init in interface IDialogBean
Overrides:
init in class CreateTopicDialog
Parameters:
parameters - Map of parameters for the dialog

cancel

public java.lang.String cancel()
Description copied from interface: IDialogBean
Method handler called when the cancel button of the dialog is pressed

Specified by:
cancel in interface IDialogBean
Overrides:
cancel in class BaseDialogBean
Returns:
The outcome to return

createTopic

protected void createTopic(java.lang.String id)
Creates a topic for the node with the given id

Parameters:
id - The id of the node to discuss

deleteTopic

protected void deleteTopic()
Deletes the setup performed during the initialisation of the dialog.



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