org.alfresco.web.bean.forums
Class CreateTopicDialog
java.lang.Object
org.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
- All Implemented Interfaces:
- java.io.Serializable, IDialogBean, IWizardBean
- Direct Known Subclasses:
- CreateDiscussionDialog
public class CreateTopicDialog
- extends CreateSpaceDialog
Bean implementation of the "Create Topic Dialog".
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
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 |
Method Summary |
protected java.lang.String |
doPostCommitProcessing(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs any post commit processing subclasses may want to provide |
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard. |
protected org.alfresco.service.cmr.repository.ContentService |
getContentService()
|
java.lang.String |
getFinishButtonLabel()
Returns the label to use for the finish button |
java.lang.String |
getMessage()
Returns the message entered by the user for the first post |
void |
init(java.util.Map parameters)
Initialises the wizard |
void |
setContentService(org.alfresco.service.cmr.repository.ContentService contentService)
|
void |
setMessage(java.lang.String message)
Sets the message |
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.dialog.BaseDialogBean |
cancel, 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 |
cancel, finish, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getContainerDescription, getContainerSubTitle, getContainerTitle, getFinishButtonDisabled, getMoreActionsConfigId, isFinished, restored |
message
protected java.lang.String message
CreateTopicDialog
public CreateTopicDialog()
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 CreateSpaceWizard
- Parameters:
parameters
- Map of parameters for the dialog
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
- Overrides:
finishImpl
in class CreateSpaceWizard
- Parameters:
context
- FacesContextoutcome
- The default outcome
- Returns:
- The outcome
- Throws:
java.lang.Exception
doPostCommitProcessing
protected java.lang.String doPostCommitProcessing(javax.faces.context.FacesContext context,
java.lang.String outcome)
- Description copied from class:
BaseDialogBean
- Performs any post commit processing subclasses may want to provide
- Overrides:
doPostCommitProcessing
in class BaseDialogBean
- Parameters:
context
- FacesContextoutcome
- The default outcome
- Returns:
- The outcome
getFinishButtonLabel
public java.lang.String getFinishButtonLabel()
- Description copied from interface:
IDialogBean
- Returns the label to use for the finish button
- Specified by:
getFinishButtonLabel
in interface IDialogBean
- Overrides:
getFinishButtonLabel
in class CreateSpaceDialog
- Returns:
- The finish button label
getMessage
public java.lang.String getMessage()
- Returns the message entered by the user for the first post
- Returns:
- The message for the first post
setMessage
public void setMessage(java.lang.String message)
- Sets the message
- Parameters:
message
- The message
setContentService
public void setContentService(org.alfresco.service.cmr.repository.ContentService contentService)
- Parameters:
contentService
- The contentService to set.
getContentService
protected org.alfresco.service.cmr.repository.ContentService getContentService()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.