com.plumtree.server
Interface IPTPropertyFilterItem
- All Superinterfaces:
- IPTUnknown
- All Known Subinterfaces:
- IPTPropertyFilterClauses, IPTPropertyFilterStatement
- public interface IPTPropertyFilterItem
- extends IPTUnknown
Filters are used in Plumtree to perform queries- the filter is used to
specify which items should be returned in the query.
Filters are collections of constraints. Each constraint is an
IPTPropertyFilterItem. Some constraints are atomic, in that they specify a
match condition (e.g. "Name = 'Fred'"), while others are compound constraints
(e.g. "Name = 'Fred' and Department = 'Legal'".)
Atomic constraints implement the IPTPropertyFilterStatement interface, while
compound constraints implement the IPTPropertyFilterClauses interface. Both
of those interfaces are subclasses of this interface- this interface is the
base class for all types of filter constraints.
- See Also:
IPTFilter,
IPTPropertyFilterClauses,
IPTPropertyFilterStatement
|
Method Summary |
IPTPropertyFilterItem |
Clone()
Returns a copy of this filter item |
void |
Export(IPTMigrationElement pMigrationElement,
java.lang.String bstrSubElementName)
Exports this filter item to a MigrationElement |
int |
GetType()
Returns the type of this filter item, from PT_FILTER_ITEM_TYPES |
void |
Import(IPTMigrationElement pMigrationElement,
java.lang.String bstrSubElementName)
Imports this filter item from a MigrationElement |
GetType
public int GetType()
- Returns the type of this filter item, from PT_FILTER_ITEM_TYPES
- Returns:
- filter item type
Clone
public IPTPropertyFilterItem Clone()
- Returns a copy of this filter item
- Returns:
- a copy of this filter item
Export
public void Export(IPTMigrationElement pMigrationElement,
java.lang.String bstrSubElementName)
- Exports this filter item to a MigrationElement
- Parameters:
pMigrationElement - the MigrationElement to which this filter item
should be exportedbstrSubElementName - the name of the subelement within the migration
element- See Also:
IPTMigrationElement
Import
public void Import(IPTMigrationElement pMigrationElement,
java.lang.String bstrSubElementName)
- Imports this filter item from a MigrationElement
- Parameters:
pMigrationElement - the MigrationElement from which to import this
filter itembstrSubElementName - the name of the subelement within the migration
element- See Also:
IPTMigrationElement
Copyright © 2003 Plumtree Software Inc. All Rights Reserved.