|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.coci.CheckinCheckoutDialog
org.alfresco.web.bean.coci.EditOfflineDialog
public class EditOfflineDialog
Field Summary | |
---|---|
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
|
Fields inherited from class org.alfresco.web.bean.coci.CheckinCheckoutDialog |
---|
FILE, MSG_ERROR_CANCELCHECKOUT, MSG_ERROR_CHECKIN, MSG_ERROR_UPDATE, property |
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
---|
browseBean, isFinished, navigator, parameters |
Constructor Summary | |
---|---|
EditOfflineDialog()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.alfresco.web.bean.coci.CheckinCheckoutDialog |
---|
checkinFileOK, clearUpload, editFile, editInline, getBrowseBean, getFileName, getFileUploadSuccessMsg, getFinishButtonDisabled, getFinishButtonLabel, isVersionable, removeUploadedFile, resetState, setBrowseBean, setFileName, setNavigator, setProperty, setupContentDocument, setupWorkflowContentAction, undoCheckout, updateFileOK |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public 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
Constructor Detail |
---|
public EditOfflineDialog()
Method Detail |
---|
public void init(java.util.Map 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 java.lang.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 java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome) throws java.lang.Exception
BaseDialogBean
finishImpl
in class CheckinCheckoutDialog
context
- FacesContextoutcome
- The default outcome
java.lang.Exception
public java.lang.String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel
in interface IDialogBean
getCancelButtonLabel
in class BaseDialogBean
public void setupContentAction(javax.faces.event.ActionEvent event)
setupContentAction
in class CheckinCheckoutDialog
event
- ActionEventpublic java.lang.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
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |