|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.BaseDetailsBean
public abstract class BaseDetailsBean
Backing bean provided access to the details of a Node
Field Summary | |
---|---|
protected org.alfresco.service.cmr.repository.TemplateImageResolver |
imageResolver
Template Image resolver helper |
protected java.util.Map |
panels
|
protected java.lang.String |
template
Selected template Id |
protected java.util.Map |
workflowProperties
The map of workflow properties |
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
---|
browseBean, isFinished, navigator, parameters |
Constructor Summary | |
---|---|
BaseDetailsBean()
|
Method Summary | |
---|---|
void |
applyTemplate(javax.faces.event.ActionEvent event)
Action handler to apply the selected Template and Templatable aspect to the current node |
void |
approve(javax.faces.event.ActionEvent event)
Event handler called to handle the approve step of the simple workflow |
java.lang.String |
cancelWorkflowEdit()
Cancel Workflow Edit dialog |
void |
expandPanel(javax.faces.event.ActionEvent event)
Save the state of the panel that was expanded/collapsed |
java.lang.String |
getApproveStepName()
Returns the name of the approve step of the attached workflow |
java.lang.String |
getBookmarkUrl()
Returns the URL to access the details page for the current node |
java.lang.String |
getCifsPath()
Returns the CIFS path for the current node |
protected org.alfresco.service.cmr.repository.CopyService |
getCopyService()
|
boolean |
getHasCustomView()
|
boolean |
getHasTemplateView()
|
boolean |
getHasWebscriptView()
|
java.lang.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 |
java.lang.String |
getName()
Returns the name of the current node |
abstract Node |
getNode()
Returns the Node this bean is currently representing |
java.lang.String |
getNodeRefUrl()
Return the Alfresco NodeRef URL for the current node |
protected org.alfresco.service.cmr.security.OwnableService |
getOwnableService()
|
java.util.Map |
getPanels()
|
protected org.alfresco.service.cmr.security.PermissionService |
getPermissionService()
|
protected abstract java.lang.String |
getPropertiesPanelId()
|
java.lang.String |
getRejectStepName()
Returns the name of the reject step of the attached workflow |
java.lang.String |
getTemplate()
|
abstract java.util.Map |
getTemplateModel()
Returns a model for use by a template on the Details page. |
java.lang.String |
getTemplateRef()
|
java.lang.String |
getWebdavUrl()
Returns the WebDAV URL for the current node |
java.lang.String |
getWebscriptUrl()
|
java.util.Map |
getWorkflowProperties()
Returns the properties for the attached workflow as a map |
void |
reject(javax.faces.event.ActionEvent event)
Event handler called to handle the approve step of the simple workflow |
void |
removeTemplate(javax.faces.event.ActionEvent event)
Action handler to remove a custom view template from the current node |
java.lang.String |
saveWorkflow()
Saves the details of the workflow stored in workflowProperties to the current node |
void |
setCopyService(org.alfresco.service.cmr.repository.CopyService copyService)
Sets the copy service instance the bean should use |
void |
setOwnableService(org.alfresco.service.cmr.security.OwnableService ownableService)
Sets the ownable service instance the bean should use |
void |
setPanels(java.util.Map panels)
|
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
|
void |
setTemplate(java.lang.String template)
|
void |
takeOwnership(javax.faces.event.ActionEvent event)
Action Handler to take Ownership of the current node |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String template
protected java.util.Map workflowProperties
protected java.util.Map panels
protected org.alfresco.service.cmr.repository.TemplateImageResolver imageResolver
Constructor Detail |
---|
public BaseDetailsBean()
Method Detail |
---|
public void setOwnableService(org.alfresco.service.cmr.security.OwnableService ownableService)
ownableService
- The OwnableServiceprotected org.alfresco.service.cmr.security.OwnableService getOwnableService()
public void setCopyService(org.alfresco.service.cmr.repository.CopyService copyService)
copyService
- The CopyServiceprotected org.alfresco.service.cmr.repository.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 java.util.Map getPanels()
public void setPanels(java.util.Map panels)
panels
- The panels expanded state map.public abstract Node getNode()
public java.lang.String getId()
public java.lang.String getName()
public java.lang.String getNodeRefUrl()
public java.lang.String getWebdavUrl()
public java.lang.String getCifsPath()
public java.lang.String getBookmarkUrl()
protected abstract Node getLinkResolvedNode()
public java.lang.String getTemplate()
public void setTemplate(java.lang.String template)
template
- The template Id to set.public boolean getHasCustomView()
public boolean getHasTemplateView()
public boolean getHasWebscriptView()
public java.lang.String getTemplateRef()
public java.lang.String getWebscriptUrl()
public abstract java.util.Map getTemplateModel()
public java.util.Map getWorkflowProperties()
public java.lang.String cancelWorkflowEdit()
public java.lang.String saveWorkflow()
public java.lang.String getApproveStepName()
public void approve(javax.faces.event.ActionEvent event)
event
- The event that was triggeredpublic java.lang.String getRejectStepName()
public void reject(javax.faces.event.ActionEvent event)
event
- The event that was triggeredpublic void applyTemplate(javax.faces.event.ActionEvent event)
public void removeTemplate(javax.faces.event.ActionEvent event)
public void takeOwnership(javax.faces.event.ActionEvent event)
protected abstract java.lang.String getPropertiesPanelId()
public void expandPanel(javax.faces.event.ActionEvent event)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |