public class DocumentPreviewBean extends BasePreviewBean implements NavigationSupport
browseBean, imageResolver, navigator, template
isFinished, parameters
Constructor and Description |
---|
DocumentPreviewBean() |
Modifier and Type | Method and Description |
---|---|
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
|
String |
getCurrentItemId() |
Node |
getNode()
Returns the document this bean is currently representing
|
String |
getOutcome() |
Map |
getTemplateModel()
Returns a model for use by a template on the Document Details page.
|
void |
nextItem(ActionEvent event) |
void |
previousItem(ActionEvent event) |
getId, getName, getTemplate, getTemplateRef, setBrowseBean, setNavigator, setTemplate
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setDictionaryService, setFileFolderService, setNamespaceService, setNodeService, setSearchService
public Node getNode()
getNode
in class BasePreviewBean
public Map getTemplateModel()
getTemplateModel
in class BasePreviewBean
protected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomeException
public String getCurrentItemId()
getCurrentItemId
in interface NavigationSupport
public String getOutcome()
getOutcome
in interface NavigationSupport
public void nextItem(ActionEvent event)
nextItem
in interface NavigationSupport
public void previousItem(ActionEvent event)
previousItem
in interface NavigationSupport
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 BaseDialogBean
public String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel
in interface IDialogBean
getCancelButtonLabel
in class BaseDialogBean
Copyright © 2005–2017 Alfresco Software. All rights reserved.