WebCenter Interaction API  
 

IPTCatalog.QueryCards Method (Int32, Int32, Boolean, Boolean, Int32, Object, Int32, Int32, Object[][])

Returns an IPTQueryResult of documents based on datasourceID, crawlerID, or documenttypeID.

IPTQueryResult QueryCards(
   int nQueryByClassID,
   int lQueryByObjectID,
   bool bShowUnapproved,
   bool bShowAllUnapproved,
   int lPropIDMask,
   object vOrderBy,
   int lSkipRows,
   int lMaxRows,
   object[][] vQueryFilter
);

Parameters

nQueryByClassID
column to query. The columns are PT_DATASOURCE_ID, PT_CRAWLER_ID, or PT_DOCUMENTTYPE_ID.
lQueryByObjectID
objectID to query.
bShowUnapproved
if true, shows unapproved documents that the user has access rights to.
bShowAllUnapproved
if true, shows all unapproved documents including ones that the user has no access rights to approve (because the user does not have admin access privilege for those documents). If false, only documents that the user has access rights to approve are returned.
lPropIDMask
mask of propIDs to return.
vOrderBy
propID to query.
lSkipRows
number of rows to skip.
lMaxRows
maximum number of rows to return.
vQueryFilter
filter to apply to the query.

Return Value

IPTQueryResult of the documents being queried

See Also

IPTCatalog Interface | com.plumtree.server Namespace | IPTCatalog.QueryCards Overload List