public class MultilingualManageDialog extends BaseDialogBean
Modifier and Type | Field and Description |
---|---|
protected Map<String,Boolean> |
panels |
browseBean, isFinished, navigator, parameters
Constructor and Description |
---|
MultilingualManageDialog() |
Modifier and Type | Method and Description |
---|---|
void |
expandPanel(ActionEvent event)
Save the state of the panel that was expanded/collapsed
|
protected String |
finishImpl(FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
String |
getCancelButtonLabel()
Returns the label to use for the cancel button
|
String |
getContainerTitle()
Returns the title to be used for the dialog
|
protected ContentFilterLanguagesService |
getContentFilterLanguagesService() |
SingleEditionBean |
getCurrentSingleEditionBean()
For the client side iteration on the edition hitories list,
return the current edition history.
|
protected 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 EditionService |
getEditionService() |
int |
getEditionSize()
For the client side iteration on the edition hitories list, returns the number of editions.
|
List |
getEmptyListAndInitEditions()
Init the mlContainer histories and returns an empty list to fill a rich list value without content.
|
protected 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
|
Map<String,Boolean> |
getPanels() |
List |
getTranslations()
Returns a list of objects representing the translations of the current document
|
protected VersionService |
getVersionService() |
void |
removeTemplate(ActionEvent event)
Action handler to remove a custom view template from the current node
|
void |
resetMLDocument(ActionEvent event)
Restore the translationf from which the ml container
details dialog comes.
|
void |
setContentFilterLanguagesService(ContentFilterLanguagesService contentFilterLanguagesService) |
void |
setEditionService(EditionService editionService) |
void |
setMultilingualContentService(MultilingualContentService multilingualContentService) |
void |
setTranslationDocument(Node node)
Before opening the ml container details, remeber the translation
from which the action comes.
|
void |
setVersionService(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, setSearchService
public Node getDocument()
public Node getNode()
public void setMultilingualContentService(MultilingualContentService multilingualContentService)
multilingualContentService
- the multilingual ContentService to setprotected MultilingualContentService getMultilingualContentService()
public void setContentFilterLanguagesService(ContentFilterLanguagesService contentFilterLanguagesService)
contentFilterLanguagesService
- The Content Filter Languages Service to set.protected ContentFilterLanguagesService getContentFilterLanguagesService()
public void setEditionService(EditionService editionService)
editionService
- The Edition Service to set.protected EditionService getEditionService()
public void setVersionService(VersionService versionService)
versionService
- The VersionServiceprotected VersionService getVersionService()
public void setTranslationDocument(Node node)
node
- protected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomeException
public String getContainerTitle()
IDialogBean
If this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle
in interface IDialogBean
getContainerTitle
in class BaseDialogBean
public String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel
in interface IDialogBean
getCancelButtonLabel
in class BaseDialogBean
public List getTranslations()
public List getEmptyListAndInitEditions()
public int getEditionSize()
public SingleEditionBean getNextSingleEditionBean()
public SingleEditionBean getCurrentSingleEditionBean()
public void resetMLDocument(ActionEvent event)
public void removeTemplate(ActionEvent event)
public void expandPanel(ActionEvent event)
public Node getDocumentMlContainer()
protected String getDefaultCancelOutcome()
BaseDialogBean
getDefaultCancelOutcome
in class BaseDialogBean
Copyright © 2005–2017 Alfresco Software. All rights reserved.