public class CheckinCheckoutDialog extends BaseDialogBean
| Modifier and Type | Field and Description |
|---|---|
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 |
browseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
CheckinCheckoutDialog() |
| Modifier and Type | Method and Description |
|---|---|
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
|
doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setDictionaryService, setFileFolderService, setNamespaceService, setNodeService, setSearchServicepublic 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
public void setProperty(CCProperties property)
property - the property to setpublic void setNavigator(NavigationBean navigator)
setNavigator in class BaseDialogBeannavigator - The NavigationBean to set.public BrowseBean getBrowseBean()
public void setBrowseBean(BrowseBean browseBean)
setBrowseBean in class BaseDialogBeanbrowseBean - The BrowseBean to set.public boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanpublic java.lang.String getFinishButtonLabel()
IDialogBeangetFinishButtonLabel in interface IDialogBeangetFinishButtonLabel 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 BaseDialogBeanpublic 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 contextpublic 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 IDialogBeancancel in class BaseDialogBeanprotected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomejava.lang.Exceptionpublic void resetState()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.