|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.wizard.BaseWizardBean
org.alfresco.web.bean.spaces.CreateSpaceWizard
org.alfresco.web.bean.spaces.CreateSpaceDialog
org.alfresco.web.bean.forums.CreateTopicDialog
org.alfresco.web.bean.forums.CreateDiscussionDialog
public class CreateDiscussionDialog
Bean implementation for the "Create Discusssion Dialog".
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 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 |
---|
protected org.alfresco.service.cmr.repository.NodeRef discussingNodeRef
Constructor Detail |
---|
public CreateDiscussionDialog()
Method Detail |
---|
public void init(java.util.Map parameters)
CreateSpaceWizard
init
in interface IDialogBean
init
in class CreateTopicDialog
parameters
- Map of parameters for the dialogpublic java.lang.String cancel()
IDialogBean
cancel
in interface IDialogBean
cancel
in class BaseDialogBean
protected void createTopic(java.lang.String id)
id
- The id of the node to discussprotected void deleteTopic()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |