|
|||||||||
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.DoneEditingDialog
public class DoneEditingDialog
This bean class handle done-editing(commit) dialog.
Field Summary |
---|
Fields inherited from class org.alfresco.web.bean.coci.CheckinCheckoutDialog |
---|
FILE, MSG_ERROR_CANCELCHECKOUT, MSG_ERROR_CHECKIN, MSG_ERROR_CHECKOUT, MSG_ERROR_UPDATE, property |
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
---|
browseBean, isFinished, navigator, parameters |
Constructor Summary | |
---|---|
DoneEditingDialog()
|
Method Summary | |
---|---|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard. |
java.lang.String |
getContainerTitle()
Returns the title to be used for the dialog |
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 |
getMajorNewVersionLabel()
|
java.lang.String |
getMinorNewVersionLabel()
|
void |
handle(javax.faces.event.ActionEvent event)
Method for handling done-editing action(e.g. |
boolean |
isSourceFound()
|
boolean |
isSourceVersionable()
|
void |
resetState()
Clear form state and upload file bean |
void |
setupContentAction(javax.faces.event.ActionEvent event)
Action event called by all actions that need to setup a Content Document context on the CheckinCheckoutDialog before an action page/wizard is called. |
Methods inherited from class org.alfresco.web.bean.coci.CheckinCheckoutDialog |
---|
cancel, checkinFileOK, clearUpload, editFile, editInline, getBrowseBean, getFileName, getFileUploadSuccessMsg, isVersionable, removeUploadedFile, 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 |
Constructor Detail |
---|
public DoneEditingDialog()
Method Detail |
---|
public java.lang.String getMajorNewVersionLabel()
public java.lang.String getMinorNewVersionLabel()
public boolean isSourceVersionable()
public boolean isSourceFound()
public void handle(javax.faces.event.ActionEvent event)
event
- Action Eventpublic void setupContentAction(javax.faces.event.ActionEvent event)
CheckinCheckoutDialog
setupContentAction
in class CheckinCheckoutDialog
event
- ActionEventpublic java.lang.String getFinishButtonLabel()
IDialogBean
getFinishButtonLabel
in interface IDialogBean
getFinishButtonLabel
in class CheckinCheckoutDialog
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class CheckinCheckoutDialog
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
public void resetState()
CheckinCheckoutDialog
resetState
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |