public class EditOfflineDialog extends CheckinCheckoutDialog
Modifier and Type | Field and Description |
---|---|
static String |
CLOSE |
static String |
MSG_ERROR_CHECKOUT |
static String |
OFFLINE_EDITING |
static String |
OFFLINE_TITLE |
protected UserPreferencesBean |
userPreferencesBean |
FILE, MSG_ERROR_CANCELCHECKOUT, MSG_ERROR_CHECKIN, MSG_ERROR_UPDATE, property
browseBean, isFinished, navigator, parameters
Constructor and Description |
---|
EditOfflineDialog() |
Modifier and Type | Method and Description |
---|---|
String |
cancel()
Deals with the cancel button being pressed on the check in file page
|
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
|
UserPreferencesBean |
getUserPreferencesBean() |
void |
init(Map<String,String> 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(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, updateFileOK
doPostCommitProcessing, 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, setSearchService
public static final String OFFLINE_EDITING
public static final String CLOSE
public static final String MSG_ERROR_CHECKOUT
public static final String OFFLINE_TITLE
protected UserPreferencesBean userPreferencesBean
public void init(Map<String,String> parameters)
IDialogBean
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- Map of parameters for the dialogpublic void restored()
IDialogBean
restored
in interface IDialogBean
restored
in class BaseDialogBean
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 CheckinCheckoutDialog
protected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class CheckinCheckoutDialog
context
- FacesContextoutcome
- The default outcomeException
public String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel
in interface IDialogBean
getCancelButtonLabel
in class BaseDialogBean
public void setupContentAction(ActionEvent event)
setupContentAction
in class CheckinCheckoutDialog
event
- ActionEventpublic String cancel()
CheckinCheckoutDialog
cancel
in interface IDialogBean
cancel
in class CheckinCheckoutDialog
public UserPreferencesBean getUserPreferencesBean()
public void setUserPreferencesBean(UserPreferencesBean userPreferencesBean)
userPreferencesBean
- bean with current user's preferences to setpublic boolean isContinueCountdown()
public void setContinueCountdown(boolean continueCountdown)
continueCountdown
- booleanCopyright © 2005–2017 Alfresco Software. All rights reserved.