public class MultilingualManageDialog extends BaseDialogBean
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map |
panels |
browseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
MultilingualManageDialog() |
| Modifier and Type | Method and Description |
|---|---|
void |
expandPanel(javax.faces.event.ActionEvent event)
Save the state of the panel that was expanded/collapsed
|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
java.lang.String |
getCancelButtonLabel()
Returns the label to use for the cancel button
|
java.lang.String |
getContainerTitle()
Returns the title to be used for the dialog
|
protected org.alfresco.service.cmr.ml.ContentFilterLanguagesService |
getContentFilterLanguagesService() |
SingleEditionBean |
getCurrentSingleEditionBean()
For the client side iteration on the edition hitories list,
return the current edition history.
|
protected java.lang.String |
getDefaultCancelOutcome()
Returns the default cancel outcome
|
Node |
getDocument()
Returns the document this bean is currently representing
|
Node |
getDocumentMlContainer()
Returns the ml container of the document this bean is currently representing
|
protected org.alfresco.service.cmr.ml.EditionService |
getEditionService() |
int |
getEditionSize()
For the client side iteration on the edition hitories list, returns the number of editions.
|
java.util.List |
getEmptyListAndInitEditions()
Init the mlContainer histories and returns an empty list to fill a rich list value without content.
|
protected org.alfresco.service.cmr.ml.MultilingualContentService |
getMultilingualContentService() |
SingleEditionBean |
getNextSingleEditionBean()
For the client side iteration on the edition hitories list,
return the next edition history.
|
Node |
getNode()
Returns the Node this bean is currently representing
|
java.util.Map |
getPanels() |
java.util.List |
getTranslations()
Returns a list of objects representing the translations of the current document
|
protected org.alfresco.service.cmr.version.VersionService |
getVersionService() |
void |
removeTemplate(javax.faces.event.ActionEvent event)
Action handler to remove a custom view template from the current node
|
void |
resetMLDocument(javax.faces.event.ActionEvent event)
Restore the translationf from which the ml container
details dialog comes.
|
void |
setContentFilterLanguagesService(org.alfresco.service.cmr.ml.ContentFilterLanguagesService contentFilterLanguagesService) |
void |
setEditionService(org.alfresco.service.cmr.ml.EditionService editionService) |
void |
setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService) |
void |
setTranslationDocument(Node node)
Before opening the ml container details, remeber the translation
from which the action comes.
|
void |
setVersionService(org.alfresco.service.cmr.version.VersionService versionService)
Sets the version service instance the bean should use
|
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchServicepublic Node getDocument()
public Node getNode()
public void setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService)
multilingualContentService - the multilingual ContentService to setprotected org.alfresco.service.cmr.ml.MultilingualContentService getMultilingualContentService()
public void setContentFilterLanguagesService(org.alfresco.service.cmr.ml.ContentFilterLanguagesService contentFilterLanguagesService)
contentFilterLanguagesService - The Content Filter Languages Service to set.protected org.alfresco.service.cmr.ml.ContentFilterLanguagesService getContentFilterLanguagesService()
public void setEditionService(org.alfresco.service.cmr.ml.EditionService editionService)
EditionService - The Edition Service to set.protected org.alfresco.service.cmr.ml.EditionService getEditionService()
public void setVersionService(org.alfresco.service.cmr.version.VersionService versionService)
versionService - The VersionServiceprotected org.alfresco.service.cmr.version.VersionService getVersionService()
public void setTranslationDocument(Node node)
node - public java.util.Map getPanels()
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.Exceptionpublic java.lang.String getContainerTitle()
IDialogBeanIf this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle in interface IDialogBeangetContainerTitle in class BaseDialogBeanpublic java.lang.String getCancelButtonLabel()
IDialogBeangetCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanpublic java.util.List getTranslations()
public java.util.List getEmptyListAndInitEditions()
public int getEditionSize()
public SingleEditionBean getNextSingleEditionBean()
public SingleEditionBean getCurrentSingleEditionBean()
public void resetMLDocument(javax.faces.event.ActionEvent event)
public void removeTemplate(javax.faces.event.ActionEvent event)
public void expandPanel(javax.faces.event.ActionEvent event)
public Node getDocumentMlContainer()
protected java.lang.String getDefaultCancelOutcome()
BaseDialogBeangetDefaultCancelOutcome in class BaseDialogBeanCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.