public class EditOfflineDialog extends CheckinCheckoutDialog
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLOSE |
static java.lang.String |
MSG_ERROR_CHECKOUT |
static java.lang.String |
OFFLINE_EDITING |
static java.lang.String |
OFFLINE_TITLE |
protected UserPreferencesBean |
userPreferencesBean |
FILE, MSG_ERROR_CANCELCHECKOUT, MSG_ERROR_CHECKIN, MSG_ERROR_UPDATE, propertybrowseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
EditOfflineDialog() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
cancel()
Deals with the cancel button being pressed on the check in file page
|
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
|
UserPreferencesBean |
getUserPreferencesBean() |
void |
init(java.util.Map parameters)
Initialises the dialog bean
|
boolean |
isContinueCountdown() |
void |
restored()
Called when the dialog is restored after a nested dialog is closed
|
void |
setContinueCountdown(boolean continueCountdown) |
void |
setupContentAction(javax.faces.event.ActionEvent event)
Action listener for handle offline editing action.
|
void |
setUserPreferencesBean(UserPreferencesBean userPreferencesBean) |
checkinFileOK, clearUpload, editFile, editInline, getBrowseBean, getFileName, getFileUploadSuccessMsg, getFinishButtonDisabled, getFinishButtonLabel, isVersionable, removeUploadedFile, resetState, setBrowseBean, setFileName, setNavigator, setProperty, setupContentDocument, setupWorkflowContentAction, undoCheckout, updateFileOKdoPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, setDictionaryService, setFileFolderService, setNamespaceService, setNodeService, setSearchServicepublic static final java.lang.String OFFLINE_EDITING
public static final java.lang.String CLOSE
public static final java.lang.String MSG_ERROR_CHECKOUT
public static final java.lang.String OFFLINE_TITLE
protected UserPreferencesBean userPreferencesBean
public void init(java.util.Map parameters)
IDialogBeaninit in interface IDialogBeaninit in class BaseDialogBeanparameters - Map of parameters for the dialogpublic void restored()
IDialogBeanrestored in interface IDialogBeanrestored in class BaseDialogBeanpublic java.lang.String getContainerTitle()
IDialogBeanIf this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle in interface IDialogBeangetContainerTitle in class CheckinCheckoutDialogprotected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class CheckinCheckoutDialogcontext - FacesContextoutcome - The default outcomejava.lang.Exceptionpublic java.lang.String getCancelButtonLabel()
IDialogBeangetCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanpublic void setupContentAction(javax.faces.event.ActionEvent event)
setupContentAction in class CheckinCheckoutDialogevent - ActionEventpublic java.lang.String cancel()
CheckinCheckoutDialogcancel in interface IDialogBeancancel in class CheckinCheckoutDialogpublic UserPreferencesBean getUserPreferencesBean()
public void setUserPreferencesBean(UserPreferencesBean userPreferencesBean)
userPreferencesBean - bean with current user's preferences to setpublic boolean isContinueCountdown()
public void setContinueCountdown(boolean continueCountdown)
continueCountdown - Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.