org.alfresco.web.bean
Class TemplateSupportBean
java.lang.Object
org.alfresco.web.bean.TemplateSupportBean
- All Implemented Interfaces:
- java.io.Serializable
public class TemplateSupportBean
- extends java.lang.Object
- implements java.io.Serializable
Provide access to commonly used lists of templates and script files.
The lists are cached for a small period of time to help performance in the client,
as generally the contents of the template folders are not changed frequently.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
NO_SELECTION
"no selection" marker for SelectItem lists |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_SELECTION
public static final java.lang.String NO_SELECTION
- "no selection" marker for SelectItem lists
- See Also:
- Constant Field Values
TemplateSupportBean
public TemplateSupportBean()
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
- Parameters:
nodeService
- The NodeService to set.
setSearchService
public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
- Parameters:
searchService
- The SearchService to set.
getContentTemplates
public java.util.List getContentTemplates()
- Returns:
- the list of available Content Templates that can be applied to the current document.
getEmailTemplates
public java.util.List getEmailTemplates()
- Returns:
- the list of available Email Templates.
getNotifyEmailTemplates
public java.util.List getNotifyEmailTemplates()
- Returns:
- the list of available Notify Email Templates.
getRSSTemplates
public java.util.List getRSSTemplates()
- Returns:
- the list of available RSS Templates.
getScriptFiles
public java.util.List getScriptFiles()
- Returns:
- the list of available JavaScript files that can be applied to the current document.
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.