| Package | lc.domain |
| Class | public class SearchTemplateDescriptor |
| Inheritance | SearchTemplateDescriptor Object |
| Implements | IWorkspaceManaged |
SearchTemplateDescriptor class is used for working
with the search template descriptor. Search template descriptors are composed of a unique
identifer, a name, a description, the service that is associated with a service,
and the template to use for searching. The template is stored as XML.
| Property | Defined By | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| description : String
The description for a search template descriptor that is provided by the template creator.
| SearchTemplateDescriptor | ||
| id : Number
The unique identifier of the search template descriptor.
| SearchTemplateDescriptor | ||
| name : String
The name of the search template descriptor that is provided by the template creator.
| SearchTemplateDescriptor | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| service : String
The service name associated with the search template descriptor.
| SearchTemplateDescriptor | ||
| session : SessionMap
[read-only]
A SessionMap object that stores information relating to the server session.
| SearchTemplateDescriptor | ||
| Method | Defined By | ||
|---|---|---|---|
|
Retrieves and populates a SearchFilter object based on the current name.
| SearchTemplateDescriptor | ||
|
getSearchFilterAttribute(attrScope:String, attrName:String, attrType:String, attrTitle:String = null):SearchFilterAttribute
Retrieves and populates a SearchFieldAttribute object.
| SearchTemplateDescriptor | ||
|
getSearchFilterCondition(attribute:SearchFilterAttribute, operator:String, value1:String, value2:String = null):SearchFilterCondition
Retrieves and populates a SearchFieldCondition object.
| SearchTemplateDescriptor | ||
|
getSearchFilterSort(attribute:SearchFilterAttribute, precedence:int, direction:String):SearchFilterSort
Retrieves and populates a SearchFieldSort object.
| SearchTemplateDescriptor | ||
|
Retrieves a search template based on the current ID.
| SearchTemplateDescriptor | ||
|
Retrieves a list of the search templates.
| SearchTemplateDescriptor | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
|
Sets a SessionMap object that stores the information relating to the
server session.
| SearchTemplateDescriptor | ||
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| description | property |
description:String [read-write] The description for a search template descriptor that is provided by the template creator.
public function get description():String
public function set description(value:String):void
| id | property |
id:Number [read-write] The unique identifier of the search template descriptor.
public function get id():Number
public function set id(value:Number):void
| name | property |
name:String [read-write] The name of the search template descriptor that is provided by the template creator.
public function get name():String
public function set name(value:String):void
| service | property |
service:String [read-write] The service name associated with the search template descriptor.
public function get service():String
public function set service(value:String):void
| session | property |
session:SessionMap [read-only]
A SessionMap object that stores information relating to the server session.
public function get session():SessionMap
See also
| getSearchFilter | () | method |
public function getSearchFilter():SearchFilter
Retrieves and populates a SearchFilter object based on the current name.
SearchFilter — A search filter based on the current name of the search filter
descriptor.
|
See also
| getSearchFilterAttribute | () | method |
public function getSearchFilterAttribute(attrScope:String, attrName:String, attrType:String, attrTitle:String = null):SearchFilterAttribute
Retrieves and populates a SearchFieldAttribute object.
Parameters
attrScope:String — Specifies the scope for the search filter.
|
|
attrName:String — Specifies the name of the search filter.
|
|
attrType:String — Specifies the type of the search filter.
|
|
attrTitle:String (default = null) — Specifies the title of the attribute.
|
SearchFilterAttribute — The search filter attribute based on the provided parameters.
|
See also
| getSearchFilterCondition | () | method |
public function getSearchFilterCondition(attribute:SearchFilterAttribute, operator:String, value1:String, value2:String = null):SearchFilterCondition
Retrieves and populates a SearchFieldCondition object.
Parameters
attribute:SearchFilterAttribute — Specifies the search filter attribute.
|
|
operator:String — Specifies the operators to use in the search.
|
|
value1:String — Specifies search field condition.
|
|
value2:String (default = null) — Specifies other search field conditions.
|
SearchFilterCondition — The search filter condition.
|
See also
| getSearchFilterSort | () | method |
public function getSearchFilterSort(attribute:SearchFilterAttribute, precedence:int, direction:String):SearchFilterSort
Retrieves and populates a SearchFieldSort object.
Parameters
attribute:SearchFilterAttribute — Specifies the attributes for sorting search filters.
|
|
precedence:int — Specifies the order in which to sort search filters.
|
|
direction:String — Specifies whether the search results are ascending or descending.
|
SearchFilterSort — A search filter sort.
|
See also
| getSearchTemplate | () | method |
public function getSearchTemplate():ObjectToken
Retrieves a search template based on the current ID.
ReturnsObjectToken — A search template.
|
| getSearchTemplateDescriptors | () | method |
public function getSearchTemplateDescriptors():CollectionToken
Retrieves a list of the search templates.
ReturnsCollectionToken — A collection of search templates.
|
| setSession | () | method |
public function setSession(session:SessionMap):void
Sets a SessionMap object that stores the information relating to the
server session.
Parameters
session:SessionMap — Specifies the information relating to the server session.
|
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/domain/SearchTemplateDescriptor.html