public class MakeMultilingualDialog extends BaseDialogBean
| Modifier and Type | Field and Description |
|---|---|
protected Node |
editableNode |
static java.lang.String |
OPT_ADD_WITH_CONTENT
if needed, add a new translation with content after this dialog closed
|
static java.lang.String |
OPT_ADD_WITHOUT_CONTENT
if needed, add a new translation without content after this dialog closed
|
browseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
MakeMultilingualDialog() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
getAddingMode() |
java.lang.String |
getAuthor() |
Node |
getEditableNode()
Returns the node being edited
|
javax.faces.model.SelectItem[] |
getFilterLanguages() |
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
java.lang.String |
getLanguage() |
void |
init(java.util.Map parameters)
Initialises the dialog bean
|
protected Node |
initEditableNode()
Init the editable Node
|
boolean |
isAddTranslationAfter() |
void |
setAddingMode(java.lang.String addingMode) |
void |
setAddTranslationAfter(boolean addTranslationAfter) |
void |
setAuthor(java.lang.String author) |
void |
setEditableNode(Node editableNode) |
void |
setLanguage(java.lang.String language) |
void |
setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService) |
void |
setUserPreferencesBean(UserPreferencesBean userPreferencesBean) |
cancel, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchServicepublic static final java.lang.String OPT_ADD_WITH_CONTENT
public static final java.lang.String OPT_ADD_WITHOUT_CONTENT
protected Node editableNode
public void init(java.util.Map parameters)
IDialogBeaninit in interface IDialogBeaninit in class BaseDialogBeanparameters - Map of parameters for the dialogprotected Node initEditableNode()
protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomejava.lang.Exceptionprotected java.lang.String doPostCommitProcessing(javax.faces.context.FacesContext context,
java.lang.String outcome)
BaseDialogBeandoPostCommitProcessing in class BaseDialogBeancontext - FacesContextoutcome - The default outcomepublic boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanpublic Node getEditableNode()
public java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
author - the author of new created MLContainerpublic boolean isAddTranslationAfter()
public void setAddTranslationAfter(boolean addTranslationAfter)
addTranslationAfter - set to true, a new translation will be added after this dialog closespublic java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language - the language of the translationpublic void setEditableNode(Node editableNode)
editableNode - the node will become a multilingualpublic java.lang.String getAddingMode()
public void setAddingMode(java.lang.String addingMode)
addingMode - if the new translation must be added at the end of this dialog,
this mode defines if the translation will be an empty document or notpublic javax.faces.model.SelectItem[] getFilterLanguages()
public void setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService)
public void setUserPreferencesBean(UserPreferencesBean userPreferencesBean)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.