public class TemplateSupportBean
extends java.lang.Object
implements java.io.Serializable
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.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NO_SELECTION
"no selection" marker for SelectItem lists
|
| Constructor and Description |
|---|
TemplateSupportBean() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getContentTemplates() |
java.util.List |
getEmailTemplates() |
java.util.List |
getNotifyEmailTemplates() |
java.util.List |
getRSSTemplates() |
java.util.List |
getScriptFiles() |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService) |
public static final java.lang.String NO_SELECTION
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - The NodeService to set.public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
searchService - The SearchService to set.public java.util.List getContentTemplates()
public java.util.List getEmailTemplates()
public java.util.List getNotifyEmailTemplates()
public java.util.List getRSSTemplates()
public java.util.List getScriptFiles()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.