public class ContentFilter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ContentFilter.KeyValue
This represents a Key and Value of a Content Attribute.
|
Modifier and Type | Field and Description |
---|---|
static ContentFilter |
ALL |
static ContentFilter |
APPLICATIONS |
static ContentFilter |
DOCUMENTS |
static ContentFilter |
FOLDERS |
static ContentFilter |
KNOWLEDGE_CENTERS |
static ContentFilter |
RULE_FOLDERS |
static ContentFilter |
RULES |
Constructor and Description |
---|
ContentFilter(int typemask_)
Constructs a filter which only returns Content items
matching the given typemask.
|
ContentFilter(java.lang.Integer typemask_)
Constructs a filter which only returns Content items
matching the given typemask.
|
ContentFilter(java.lang.Integer typemask_,
java.lang.Integer subtype_)
Constructs a filter which only returns Content items
matching the given typemask and subtype.
|
ContentFilter(int typemask_,
int subtype_)
Constructs a filter which only returns Content items
matching the given typemask and subtype.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getAccessLevel()
Set the access level for this filter.
|
ContentFilter.KeyValue[] |
getAttributes()
Return the attributes searched for by the filter.
|
java.lang.String |
getDescription()
Returns the description expression of the filter.
|
java.lang.String[] |
getExtension()
Returns the extensions of the filter.
|
java.lang.String |
getName()
Returns the name expression of the filter.
|
java.lang.Long |
getParent()
Returns the parent for the filter.
|
java.lang.Long |
getRoot()
Get the root for this filter.
|
java.lang.Integer |
getSubtype()
Returns the subtype for this filter.
|
java.lang.Integer |
getTypemask()
Get the typemask for this filter.
|
ContentFilter |
setAccessLevel(java.lang.Integer accessLevel_)
Get the access level for this filter.
|
ContentFilter |
setAttribute(ContentFilter.KeyValue[] attributes)
Set the KeyValues for an attribute search.
|
ContentFilter |
setDescription(java.lang.String description_)
Set the description expression of the filter.
|
ContentFilter |
setExtension(java.lang.String[] extension_)
Set the extensions of the filter.
|
ContentFilter |
setName(java.lang.String name_)
Set the name expression of the filter.
|
ContentFilter |
setParent(java.lang.Long parent_)
Set the parent for the filter.
|
ContentFilter |
setRoot(java.lang.Long root_)
Set the root for this filter.
|
ContentFilter |
setSubtype(java.lang.Integer subtype_)
Set the subtype for this filter.
|
ContentFilter |
setTypemask(java.lang.Integer typemask_)
Set the typemask for this filter.
|
public static final ContentFilter DOCUMENTS
public static final ContentFilter FOLDERS
public static final ContentFilter RULES
public static final ContentFilter RULE_FOLDERS
public static final ContentFilter APPLICATIONS
public static final ContentFilter KNOWLEDGE_CENTERS
public static final ContentFilter ALL
public ContentFilter(int typemask_)
typemask_
- any combination of the TYPE_ constants in
ContentConstants
public ContentFilter(int typemask_, int subtype_)
typemask_
- any combination of the TYPE_ constants in
ContentConstants
subtype_
- subtypepublic ContentFilter(java.lang.Integer typemask_)
typemask_
- any combination of the TYPE_ constants in
ContentConstants
public ContentFilter(java.lang.Integer typemask_, java.lang.Integer subtype_)
typemask_
- any combination of the TYPE_ constants in
ContentConstants
subtype_
- subtypepublic java.lang.Integer getSubtype()
setSubtype(Integer)
public ContentFilter setSubtype(java.lang.Integer subtype_)
subtype_
- the subtype, or null to ignore the subtypegetSubtype()
public java.lang.Integer getTypemask()
setTypemask(Integer)
public ContentFilter setTypemask(java.lang.Integer typemask_)
typemask_
- any combination of the TYPE_ constants in
ContentConstants
getTypemask()
public java.lang.Long getRoot()
setRoot(Long)
public ContentFilter setRoot(java.lang.Long root_)
root_
- The root to set.getRoot()
public java.lang.Integer getAccessLevel()
setAccessLevel(Integer)
public ContentFilter setAccessLevel(java.lang.Integer accessLevel_)
accessLevel_
- The accessLevel to set.getAccessLevel()
public java.lang.String getDescription()
setDescription(String)
public ContentFilter setDescription(java.lang.String description_)
description_
- The description to set.getDescription()
public java.lang.String[] getExtension()
setExtension(String[])
public ContentFilter setExtension(java.lang.String[] extension_)
extension_
- The extension to set.getExtension()
public java.lang.String getName()
setName(String)
public ContentFilter setName(java.lang.String name_)
name_
- The name to set.getName()
public java.lang.Long getParent()
setParent(Long)
public ContentFilter setParent(java.lang.Long parent_)
parent_
- The parent to set.getParent()
public ContentFilter.KeyValue[] getAttributes()
public ContentFilter setAttribute(ContentFilter.KeyValue[] attributes)
attribute_
- The name and value of the attribute.#getAttribute()
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.