public abstract class BaseDetailsBean extends BaseDialogBean
Modifier and Type | Field and Description |
---|---|
protected TemplateImageResolver |
imageResolver
Template Image resolver helper
|
protected Map<String,Boolean> |
panels |
protected String |
template
Selected template Id
|
protected Map<String,Serializable> |
workflowProperties
The map of workflow properties
|
browseBean, isFinished, navigator, parameters
Constructor and Description |
---|
BaseDetailsBean() |
Modifier and Type | Method and Description |
---|---|
void |
applyTemplate(ActionEvent event)
Action handler to apply the selected Template and Templatable aspect to the current node
|
void |
approve(ActionEvent event)
Event handler called to handle the approve step of the simple workflow
|
String |
cancelWorkflowEdit()
Cancel Workflow Edit dialog
|
void |
expandPanel(ActionEvent event)
Save the state of the panel that was expanded/collapsed
|
String |
getApproveStepName()
Returns the name of the approve step of the attached workflow
|
String |
getBookmarkUrl()
Returns the URL to access the details page for the current node
|
String |
getCifsPath()
Returns the CIFS path for the current node
|
protected CopyService |
getCopyService() |
boolean |
getHasCustomView() |
boolean |
getHasTemplateView() |
boolean |
getHasWebscriptView() |
String |
getId()
Returns the id of the current node
|
protected abstract Node |
getLinkResolvedNode()
Resolve the actual Node from any Link object that may be proxying it
|
String |
getName()
Returns the name of the current node
|
abstract Node |
getNode()
Returns the Node this bean is currently representing
|
String |
getNodeRefUrl()
Return the Alfresco NodeRef URL for the current node
|
protected OwnableService |
getOwnableService() |
Map<String,Boolean> |
getPanels() |
protected org.alfresco.service.cmr.security.PermissionService |
getPermissionService() |
protected abstract String |
getPropertiesPanelId() |
String |
getRejectStepName()
Returns the name of the reject step of the attached workflow
|
String |
getTemplate() |
abstract Map |
getTemplateModel()
Returns a model for use by a template on the Details page.
|
String |
getTemplateRef() |
String |
getWebdavUrl()
Returns the WebDAV URL for the current node
|
String |
getWebscriptUrl() |
Map<String,Serializable> |
getWorkflowProperties()
Returns the properties for the attached workflow as a map
|
void |
reject(ActionEvent event)
Event handler called to handle the approve step of the simple workflow
|
void |
removeTemplate(ActionEvent event)
Action handler to remove a custom view template from the current node
|
String |
saveWorkflow()
Saves the details of the workflow stored in workflowProperties
to the current node
|
void |
setCopyService(CopyService copyService)
Sets the copy service instance the bean should use
|
void |
setOwnableService(OwnableService ownableService)
Sets the ownable service instance the bean should use
|
void |
setPanels(Map<String,Boolean> panels) |
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService) |
void |
setTemplate(String template) |
void |
takeOwnership(ActionEvent event)
Action Handler to take Ownership of the current node
|
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, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
protected String template
protected Map<String,Serializable> workflowProperties
protected TemplateImageResolver imageResolver
public void setOwnableService(OwnableService ownableService)
ownableService
- The OwnableServiceprotected OwnableService getOwnableService()
public void setCopyService(CopyService copyService)
copyService
- The CopyServiceprotected CopyService getCopyService()
public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
permissionService
- The PermissionService to set.protected org.alfresco.service.cmr.security.PermissionService getPermissionService()
public void setPanels(Map<String,Boolean> panels)
panels
- The panels expanded state map.public abstract Node getNode()
public String getId()
public String getName()
public String getNodeRefUrl()
public String getWebdavUrl()
public String getCifsPath()
public String getBookmarkUrl()
protected abstract Node getLinkResolvedNode()
public String getTemplate()
public void setTemplate(String template)
template
- The template Id to set.public boolean getHasCustomView()
public boolean getHasTemplateView()
public boolean getHasWebscriptView()
public String getTemplateRef()
public String getWebscriptUrl()
public abstract Map getTemplateModel()
public Map<String,Serializable> getWorkflowProperties()
public String cancelWorkflowEdit()
public String saveWorkflow()
public String getApproveStepName()
public void approve(ActionEvent event)
event
- The event that was triggeredpublic String getRejectStepName()
public void reject(ActionEvent event)
event
- The event that was triggeredpublic void applyTemplate(ActionEvent event)
public void removeTemplate(ActionEvent event)
public void takeOwnership(ActionEvent event)
protected abstract String getPropertiesPanelId()
public void expandPanel(ActionEvent event)
Copyright © 2005–2017 Alfresco Software. All rights reserved.