public abstract class BasePreviewBean extends BaseDialogBean
| Modifier and Type | Field and Description |
|---|---|
protected BrowseBean |
browseBean
BrowseBean instance
|
protected org.alfresco.service.cmr.repository.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 |
|---|---|
java.lang.String |
getId()
Returns the id of the current node
|
java.lang.String |
getName()
Returns the name of the current node
|
abstract Node |
getNode()
Returns the node this bean is currently working with
|
java.lang.String |
getTemplate() |
abstract java.util.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(java.lang.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, setSearchServiceprotected BrowseBean browseBean
protected NavigationBean navigator
protected org.alfresco.service.cmr.repository.NodeRef template
protected org.alfresco.service.cmr.repository.TemplateImageResolver imageResolver
public void setBrowseBean(BrowseBean browseBean)
setBrowseBean in class BaseDialogBeanbrowseBean - The BrowseBean to set.public void setNavigator(NavigationBean navigator)
setNavigator in class BaseDialogBeannavigator - The NavigationBean to set.public abstract Node getNode()
public java.lang.String getId()
public java.lang.String getName()
public abstract java.util.Map getTemplateModel()
public org.alfresco.service.cmr.repository.NodeRef getTemplateRef()
public java.lang.String getTemplate()
public void setTemplate(java.lang.String template)
template - The template Id to set.Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.