|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.filter.FilterIterator
public class FilterIterator
Field Summary | |
---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
|
Constructor Summary | |
---|---|
FilterIterator(IPTSession session,
IPTFilter filter,
AActivitySpace owner)
Creates a new FilterIterator object. |
Method Summary | |
---|---|
boolean |
AddSetProperty(QueryCondition qc)
|
int |
GetCurrentClauseDepth()
Gets the depth of the current clause. |
boolean |
GetCurrentClauseOperator()
Gets the operator (AND or OR) that joins the current clause together. |
java.lang.String |
GetName()
Return the name of the MVC object. |
boolean |
GetNextClausePosition()
|
IPTPropertyFilterStatement |
GetNextStatement()
|
boolean |
GetNextStatementAndSetQC(QueryCondition qc)
|
int |
GetNumItemsInFirstClause()
Convenience method to return the number of items in the first clause; basically an easy way to see if this filter contains anything of interest |
IASQueryResult |
GetPropertiesVisibleToCurrentUser()
Queries the database for the set of properties this user can see (on the first call), returns a cached value on subsequent calls. |
java.lang.String |
GetTextSearchString()
Gets the filter's top-level search string. |
boolean |
GetTopLevelAllMustPass()
|
void |
InitFromFilter(IPTFilter filter)
|
QueryCondition |
MakeQueryCondition()
Manufactures a QueryCondition |
void |
SetAllowablePropertyIDs(java.lang.Object[] iArAllowablePropertyIDs)
Allows the Filter Iterator to only show those properties specified. |
void |
SetIncludeGroupMembership(boolean bIncludeMembership)
|
void |
SetIteratorToStart()
Resets this iterator to the beginning. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
Constructor Detail |
---|
public FilterIterator(IPTSession session, IPTFilter filter, AActivitySpace owner)
session
- filter
- owner
- Method Detail |
---|
public QueryCondition MakeQueryCondition()
MakeQueryCondition
in interface IFilterIteratorRO
public int GetCurrentClauseDepth()
IFilterIteratorRO
GetCurrentClauseDepth
in interface IFilterIteratorRO
public boolean GetCurrentClauseOperator()
IFilterIteratorRO
GetCurrentClauseOperator
in interface IFilterIteratorRO
public java.lang.String GetTextSearchString()
GetTextSearchString
in interface IFilterIteratorRO
public java.lang.String GetName()
IMVCObject
GetName
in interface IMVCObject
public boolean GetNextClausePosition()
GetNextClausePosition
in interface IFilterIteratorRO
public IPTPropertyFilterStatement GetNextStatement()
public boolean GetNextStatementAndSetQC(QueryCondition qc)
GetNextStatementAndSetQC
in interface IFilterIteratorRO
qc
-
public boolean AddSetProperty(QueryCondition qc)
AddSetProperty
in interface IFilterIteratorRO
public int GetNumItemsInFirstClause()
IFilterIteratorRO
GetNumItemsInFirstClause
in interface IFilterIteratorRO
public IASQueryResult GetPropertiesVisibleToCurrentUser()
IFilterIteratorRO
GetPropertiesVisibleToCurrentUser
in interface IFilterIteratorRO
public boolean GetTopLevelAllMustPass()
GetTopLevelAllMustPass
in interface IFilterIteratorRO
public void InitFromFilter(IPTFilter filter)
filter
- public void SetIteratorToStart()
IFilterIteratorRO
SetIteratorToStart
in interface IFilterIteratorRO
public void SetAllowablePropertyIDs(java.lang.Object[] iArAllowablePropertyIDs)
iArAllowablePropertyIDs
- - an array of allowed property
ids as Integers. pass in a null array to allow all
properties (default)public void SetIncludeGroupMembership(boolean bIncludeMembership)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |