public class AddTranslationDialog extends AddContentDialog
| Modifier and Type | Field and Description |
|---|---|
protected org.alfresco.service.cmr.repository.NodeRef |
mlTranslation |
file, inlineEditableMimeTypesauthor, createdNode, description, encoding, fileName, inlineEdit, logger, mimeType, MSG_NODE_LOCKED, objectType, objectTypes, otherPropertiesChoiceVisible, showOtherProperties, titlebrowseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
AddTranslationDialog() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
cancel()
Action handler called when the dialog is cancelled
|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
java.lang.String |
getFinishButtonLabel()
Returns the label to use for the finish button
|
java.lang.String |
getLanguage() |
org.alfresco.service.cmr.ml.MultilingualContentService |
getMultilingualContentService() |
javax.faces.model.SelectItem[] |
getUnusedLanguages()
Method calls by the dialog to limit the list of languages.
|
UserPreferencesBean |
getUserPreferencesBean() |
void |
init(java.util.Map parameters)
Initialises the dialog bean
|
void |
setLanguage(java.lang.String language) |
void |
setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService) |
void |
setUnusedLanguages(javax.faces.model.SelectItem[] unusedLanguages) |
void |
setUserPreferencesBean(UserPreferencesBean userPreferencesBean) |
clearUpload, doPostCommitProcessing, formatErrorMessage, getDefaultFinishOutcome, getFileName, getFileUploadSuccessMsg, getInlineEditableMimeTypes, removeUploadedFile, setFileName, startgetAuthor, getContentService, getDescription, getEncoding, getEncodings, getMimeType, getObjectType, getObjectTypes, getOtherPropertiesChoiceVisible, getShowOtherProperties, getSummaryMimeType, getSummaryObjectType, getTitle, initOtherProperties, isInlineEdit, saveContent, setAuthor, setContentService, setDescription, setEncoding, setInlineEdit, setMimeType, setObjectType, setShowOtherProperties, setTitleback, buildSummary, getBackButtonLabel, getDefaultCancelOutcome, getNextButtonDisabled, getNextButtonLabel, getStepDescription, getStepTitle, nextfinish, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinish, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getContainerDescription, getContainerSubTitle, getContainerTitle, getMoreActionsConfigId, isFinished, restoredpublic void init(java.util.Map parameters)
IDialogBeaninit in interface IDialogBeaninit in class AddContentDialogparameters - Map of parameters for the dialogprotected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class AddContentDialogcontext - FacesContextoutcome - The default outcomejava.lang.Exceptionpublic java.lang.String cancel()
AddContentDialogcancel in interface IDialogBeancancel in class AddContentDialogpublic boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseContentWizardpublic java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language - the locale of this new translationpublic void setUnusedLanguages(javax.faces.model.SelectItem[] unusedLanguages)
unusedLanguages - public javax.faces.model.SelectItem[] getUnusedLanguages()
public org.alfresco.service.cmr.ml.MultilingualContentService getMultilingualContentService()
public void setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService)
public UserPreferencesBean getUserPreferencesBean()
public void setUserPreferencesBean(UserPreferencesBean userPreferencesBean)
public java.lang.String getFinishButtonLabel()
IDialogBeangetFinishButtonLabel in interface IDialogBeangetFinishButtonLabel in class AddContentDialogCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.