public abstract class BasePreviewBean extends BaseDialogBean
Modifier and Type | Field and Description |
---|---|
protected BrowseBean |
browseBean
BrowseBean instance
|
protected TemplateImageResolver |
imageResolver
Template Image resolver helper
|
protected NavigationBean |
navigator
The NavigationBean bean reference
|
protected org.alfresco.service.cmr.repository.NodeRef |
template
The selected Template Id
|
isFinished, parameters
Constructor and Description |
---|
BasePreviewBean() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the id of the current node
|
String |
getName()
Returns the name of the current node
|
abstract Node |
getNode()
Returns the node this bean is currently working with
|
String |
getTemplate() |
abstract Map |
getTemplateModel()
Returns a model for use by the template on the Preview page.
|
org.alfresco.service.cmr.repository.NodeRef |
getTemplateRef() |
void |
setBrowseBean(BrowseBean browseBean) |
void |
setNavigator(NavigationBean navigator) |
void |
setTemplate(String template) |
cancel, doPostCommitProcessing, finish, finishImpl, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setDictionaryService, setFileFolderService, setNamespaceService, setNodeService, setSearchService
protected BrowseBean browseBean
protected NavigationBean navigator
protected org.alfresco.service.cmr.repository.NodeRef template
protected TemplateImageResolver imageResolver
public void setBrowseBean(BrowseBean browseBean)
setBrowseBean
in class BaseDialogBean
browseBean
- The BrowseBean to set.public void setNavigator(NavigationBean navigator)
setNavigator
in class BaseDialogBean
navigator
- The NavigationBean to set.public abstract Node getNode()
public String getId()
public String getName()
public abstract Map getTemplateModel()
public org.alfresco.service.cmr.repository.NodeRef getTemplateRef()
public String getTemplate()
public void setTemplate(String template)
template
- The template Id to set.Copyright © 2005–2017 Alfresco Software. All rights reserved.