public class AddTranslationDialog extends AddContentDialog
Modifier and Type | Field and Description |
---|---|
protected org.alfresco.service.cmr.repository.NodeRef |
mlTranslation |
file, inlineEditableMimeTypes
author, createdNode, description, encoding, fileName, inlineEdit, logger, mimeType, MSG_NODE_LOCKED, objectType, objectTypes, otherPropertiesChoiceVisible, showOtherProperties, title
browseBean, isFinished, navigator, parameters
Constructor and Description |
---|
AddTranslationDialog() |
Modifier and Type | Method and Description |
---|---|
String |
cancel()
Action handler called when the dialog is cancelled
|
protected String |
finishImpl(FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
String |
getFinishButtonLabel()
Returns the label to use for the finish button
|
String |
getLanguage() |
MultilingualContentService |
getMultilingualContentService() |
SelectItem[] |
getUnusedLanguages()
Method calls by the dialog to limit the list of languages.
|
UserPreferencesBean |
getUserPreferencesBean() |
void |
init(Map<String,String> parameters)
Initialises the dialog bean
|
void |
setLanguage(String language) |
void |
setMultilingualContentService(MultilingualContentService multilingualContentService) |
void |
setUnusedLanguages(SelectItem[] unusedLanguages) |
void |
setUserPreferencesBean(UserPreferencesBean userPreferencesBean) |
clearUpload, doPostCommitProcessing, formatErrorMessage, getDefaultFinishOutcome, getFileName, getFileUploadSuccessMsg, getInlineEditableMimeTypes, removeUploadedFile, setFileName, start
getAuthor, getContentService, getDescription, getEncoding, getEncodings, getMimeType, getObjectType, getObjectTypes, getOtherPropertiesChoiceVisible, getShowOtherProperties, getSummaryMimeType, getSummaryObjectType, getTitle, getTransactionService, initOtherProperties, isInlineEdit, saveContent, setAuthor, setContentService, setDescription, setEncoding, setInlineEdit, setMimeType, setObjectType, setShowOtherProperties, setTitle
back, buildSummary, getBackButtonLabel, getDefaultCancelOutcome, getNextButtonDisabled, getNextButtonLabel, getStepDescription, getStepTitle, next
finish, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
finish, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getContainerDescription, getContainerSubTitle, getContainerTitle, getMoreActionsConfigId, isFinished, restored
public void init(Map<String,String> parameters)
IDialogBean
init
in interface IDialogBean
init
in class AddContentDialog
parameters
- Map of parameters for the dialogprotected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class AddContentDialog
context
- FacesContextoutcome
- The default outcomeException
public String cancel()
AddContentDialog
cancel
in interface IDialogBean
cancel
in class AddContentDialog
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseContentWizard
public String getLanguage()
public void setLanguage(String language)
language
- the locale of this new translationpublic void setUnusedLanguages(SelectItem[] unusedLanguages)
unusedLanguages
- public SelectItem[] getUnusedLanguages()
public MultilingualContentService getMultilingualContentService()
public void setMultilingualContentService(MultilingualContentService multilingualContentService)
public UserPreferencesBean getUserPreferencesBean()
public void setUserPreferencesBean(UserPreferencesBean userPreferencesBean)
public String getFinishButtonLabel()
IDialogBean
getFinishButtonLabel
in interface IDialogBean
getFinishButtonLabel
in class AddContentDialog
Copyright © 2005–2017 Alfresco Software. All rights reserved.