|
|||||||||
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
public class CheckinCheckoutDialog
Field Summary | |
---|---|
static java.lang.String |
FILE
|
static java.lang.String |
MSG_ERROR_CANCELCHECKOUT
|
static java.lang.String |
MSG_ERROR_CHECKIN
|
static java.lang.String |
MSG_ERROR_CHECKOUT
|
static java.lang.String |
MSG_ERROR_UPDATE
|
protected CCProperties |
property
|
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
---|
browseBean, isFinished, navigator, parameters |
Constructor Summary | |
---|---|
CheckinCheckoutDialog()
|
Method Summary | |
---|---|
java.lang.String |
cancel()
Deals with the cancel button being pressed on the check in file page |
java.lang.String |
checkinFileOK(javax.faces.context.FacesContext context,
java.lang.String outcome)
Action called upon completion of the Check In file page |
protected void |
clearUpload(java.lang.String id)
Clear the uploaded form, clearing the specific Upload component by Id |
void |
editFile(javax.faces.event.ActionEvent event)
Action handler called to calculate which editing screen to display based on the mimetype of a document. |
java.lang.String |
editInline(javax.faces.context.FacesContext context,
java.lang.String outcome)
Action handler called to set the content of a node from an inline editing page. |
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard. |
BrowseBean |
getBrowseBean()
|
java.lang.String |
getContainerTitle()
Returns the title to be used for the dialog |
java.lang.String |
getFileName()
|
java.lang.String |
getFileUploadSuccessMsg()
|
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 |
boolean |
isVersionable()
Determines whether the document being checked in has the versionable aspect applied |
java.lang.String |
removeUploadedFile()
Action handler called when the user wishes to remove an uploaded file |
void |
resetState()
Clear form state and upload file bean |
void |
setBrowseBean(BrowseBean browseBean)
|
void |
setFileName(java.lang.String fileName)
|
void |
setNavigator(NavigationBean navigator)
|
void |
setProperty(CCProperties property)
|
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. |
protected Node |
setupContentDocument(java.lang.String id)
Setup a content document node context |
void |
setupWorkflowContentAction(javax.faces.event.ActionEvent event)
|
java.lang.String |
undoCheckout()
Action to undo the checkout of a document just checked out from the checkout screen. |
java.lang.String |
updateFileOK(javax.faces.context.FacesContext context,
java.lang.String outcome)
Action called upon completion of the Update File page |
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 MSG_ERROR_CHECKIN
public static final java.lang.String MSG_ERROR_CANCELCHECKOUT
public static final java.lang.String MSG_ERROR_UPDATE
public static final java.lang.String MSG_ERROR_CHECKOUT
public static final java.lang.String FILE
protected CCProperties property
Constructor Detail |
---|
public CheckinCheckoutDialog()
Method Detail |
---|
public void setProperty(CCProperties property)
property
- the property to setpublic void setNavigator(NavigationBean navigator)
setNavigator
in class BaseDialogBean
navigator
- The NavigationBean to set.public BrowseBean getBrowseBean()
public void setBrowseBean(BrowseBean browseBean)
setBrowseBean
in class BaseDialogBean
browseBean
- The BrowseBean to set.public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
public java.lang.String getFinishButtonLabel()
IDialogBean
getFinishButtonLabel
in interface IDialogBean
getFinishButtonLabel
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 BaseDialogBean
public boolean isVersionable()
public java.lang.String getFileUploadSuccessMsg()
public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName
- The name of the fileprotected void clearUpload(java.lang.String id)
public java.lang.String removeUploadedFile()
public void setupContentAction(javax.faces.event.ActionEvent event)
event
- ActionEventpublic void setupWorkflowContentAction(javax.faces.event.ActionEvent event)
protected Node setupContentDocument(java.lang.String id)
id
- GUID of the node to setup as the content document context
public void editFile(javax.faces.event.ActionEvent event)
public java.lang.String editInline(javax.faces.context.FacesContext context, java.lang.String outcome)
public java.lang.String undoCheckout()
public java.lang.String checkinFileOK(javax.faces.context.FacesContext context, java.lang.String outcome)
public java.lang.String updateFileOK(javax.faces.context.FacesContext context, java.lang.String outcome)
public java.lang.String cancel()
cancel
in interface IDialogBean
cancel
in class BaseDialogBean
protected java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome) throws java.lang.Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcome
java.lang.Exception
public void resetState()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |