Class ecm.model.SearchTemplateFolder


Extends ecm.model._ModelObject.
Represents a folder that contains search templates. For IBM Content Manager OnDemand, the SearchTemplateFolder object is equivalent to a cabinet.
Defined in: <ecm\model\SearchTemplateFolder.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 
Constructor

Field Summary

Field Attributes Field Name and Description
 
The description text
 
 
Fields borrowed from class ecm.model._ModelObject:
categorization, id, isRecurring, name, nameFilter, pane, status, type, userId

Method Summary

Method Attributes Method Name and Description
 
Clears the search template cache.
 
Retrieve the search templates from the repository, will return search template for the teamspace if the teamspace property has been set.
Methods borrowed from class ecm.model._ModelObject:
destroy, onChange, own, refresh, toString

Constructor Detail

ecm.model.SearchTemplateFolder(properties)

Constructor
Parameters:
properties
The properties for the model object. The properties can be any of the public fields as defined below and on ecm.model._ModelObject.

Field Detail

description

The description text

repository

A ecm.model.Repository object

teamspace

A ecm.model.Teamspace object

Method Detail

clearSearchTemplates()

Clears the search template cache.

retrieveSearchTemplates(callback)

Retrieve the search templates from the repository, will return search template for the teamspace if the teamspace property has been set.
Parameters:
callback
A callback function called after the search templates have been retrieved. Passes an array of {@ ecm.model.SearchTemplate} objects as a parameter.