com.filenet.api.query
Class SearchTemplateSubclass
- java.lang.Object
-
- com.filenet.api.query.SearchTemplateSubclass
-
- All Implemented Interfaces:
- java.io.Serializable
public class SearchTemplateSubclass extends java.lang.Object implements java.io.SerializableIdentifies the subclass in a search template that is to be modified or excluded, or a new subclass that is to be added to the search. Methods are provided to supply new values to a subclass being modified.The SearchTemplate* classes (those classes prefixed with "SearchTemplate") enable you to control and specify runtime modification of search template data.
- See Also:
SearchTemplateParameters, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description SearchTemplateSubclass()
-
Method Summary
Methods Modifier and Type Method and Description java.lang.BooleangetExcludeFromQuery()Retrieves a Boolean value indicating whether any subclasses in the search template are to be excluded at runtime.java.lang.BooleangetIncludeSubclasses()Retrieves a Boolean value indicating that a class specified in the included subclasses property (the includesubclasses element) in the search template is to be overridden by a subclass, or a new class added to the include subclasses property.java.lang.StringgetItemId()Retrieves the GUID of the subclass to be to be modified, excluded or added for the search.java.lang.StringgetSymbolicName()Retrieves the symbolic name of the subclass to be to be modified, excluded or added for the search.voidsetExcludeFromQuery(java.lang.Boolean exclude)Excludes from the query one or more subclasses specified in the search template.voidsetIncludeSubclasses(java.lang.Boolean includeSubclasses)Indicates that subclasses are to be included in the search.voidsetItemId(java.lang.String itemId)Specifies the GUID of the subclass to be to be modified, excluded or added for the search.voidsetSymbolicName(java.lang.String symname)Specifies the symbolic name of the subclass to be to be modified, excluded or added for the search.
-
-
-
Method Detail
-
getExcludeFromQuery
public java.lang.Boolean getExcludeFromQuery()
Retrieves a Boolean value indicating whether any subclasses in the search template are to be excluded at runtime.- Returns:
- A
Booleanvalue offalseornullif no subclasses in the search template are to be excluded at runtime;trueif one or more subclasses is to be excluded at runtime.
-
setExcludeFromQuery
public void setExcludeFromQuery(java.lang.Boolean exclude)
Excludes from the query one or more subclasses specified in the search template. Defaults tofalse.To exclude a subclass, set this property value to
trueand add the subclass or subclasses exclusion to the search template parameters usingSearchTemplateParameters.setFolders(java.util.List).- Parameters:
exclude- ABooleanvalue. Iffalseornull, no subclasses in the search template are excluded, iftrue, the subclass or subclasses to be excluded must be specified usingSearchTemplateParameters.setFolders. Any subclasses excluded will not be available at runtime.
-
getIncludeSubclasses
public java.lang.Boolean getIncludeSubclasses()
Retrieves a Boolean value indicating that a class specified in the included subclasses property (the includesubclasses element) in the search template is to be overridden by a subclass, or a new class added to the include subclasses property. The classes in the included subclasses property are expected to be subclasses of the subclass specified for this instance (usingsetItemId).- Returns:
- A
Booleanvalue offalseornullif the included subclasses property in the search template is to be used unchanged;trueif an existing subclass is to be overridden, or a new subclass added.
-
setIncludeSubclasses
public void setIncludeSubclasses(java.lang.Boolean includeSubclasses)
Indicates that subclasses are to be included in the search. The value specified here will override the included subclasses property (the includesubclasses element) in the search template. If a new subclass is being added to the search, a value is required for this property.- Parameters:
includeSubclasses- ABooleanvalue offalseornullif the included subclasses property in the search template is to be used unchanged;trueif an subclasses are to be included in the search.
-
getItemId
public java.lang.String getItemId()
Retrieves the GUID of the subclass to be to be modified, excluded or added for the search. The subclass is specified using thesetItemIdmethod.- Returns:
- A
Stringcontaining the GUID for the subclass to be modified, excluded or added for the search.
-
setItemId
public void setItemId(java.lang.String itemId)
Specifies the GUID of the subclass to be to be modified, excluded or added for the search. This is a required property. The subclass specified will override a subclass in the search template having the same ID. If a subclass is specified that does not exist in the search template, it is assumed to be a new subclass that is to be added to the search. All properties for this instance must be specified if a new subclass is being added to the search.- Parameters:
itemId- AStringcontaining the GUID for the subclass to be modified, excluded or added for the search.
-
getSymbolicName
public java.lang.String getSymbolicName()
Retrieves the symbolic name of the subclass to be to be modified, excluded or added for the search. The symbolic name is specified using thesetSymbolicNamemethod.- Returns:
- A
Stringcontaining the symbolic name of the subclass to be modified, excluded or added for the search.
-
setSymbolicName
public void setSymbolicName(java.lang.String symname)
Specifies the symbolic name of the subclass to be to be modified, excluded or added for the search. If null, no change is made to the search template data. This property is required if a new subclass is being added to the search.- Parameters:
symname- AStringcontaining the symbolic name of the subclass to be modified, excluded or added for the search.
-
-