|  | Aqualogic Interaction API | |
| IPTCatalog.QueryUnapprovedCardsCount Method |
Returns the number of unapproved documents based on datasourceID, crawlerID, or documenttypeID.
int QueryUnapprovedCardsCount(
int nQueryByClassID,
int lQueryByObjectID,
bool bShowAll);
Parameters
-
nQueryByClassID
- column to query. You can query by PT_DATASOURCE_ID, PT_CRAWLER_ID, or PT_DOCUMENTTYPE_ID.
-
lQueryByObjectID
- objectID to query.
-
bShowAll
- if true, returns all 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.
Return Value
the number of documents being queried
See Also
IPTCatalog Interface | com.plumtree.server Namespace