public class TemplateSupportBean extends Object implements 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 String |
NO_SELECTION
"no selection" marker for SelectItem lists
|
Constructor and Description |
---|
TemplateSupportBean() |
Modifier and Type | Method and Description |
---|---|
List<SelectItem> |
getContentTemplates() |
List<SelectItem> |
getEmailTemplates() |
List<SelectItem> |
getNotifyEmailTemplates() |
List<SelectItem> |
getRSSTemplates() |
List<SelectItem> |
getScriptFiles() |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService) |
public static final 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 List<SelectItem> getContentTemplates()
public List<SelectItem> getEmailTemplates()
public List<SelectItem> getNotifyEmailTemplates()
public List<SelectItem> getRSSTemplates()
public List<SelectItem> getScriptFiles()
Copyright © 2005–2017 Alfresco Software. All rights reserved.