Aqualogic Interaction API  
 

IPTMigrationManager.QueryObjectsByStatus Method 

This function returns a QueryResult with PT_PROPID_NAME, PT_PROPID_DESCRIPTION, PT_PROPID_ISLOCALIZED, PT_PROPID_CLASSID, PT_PROPID_OBJECTID, PT_PROPID_UUID, PT_PROPID_MIGRATION_DATE, and PT_PROPID_MIGRATION_COMMENT for all objects with the passed in values nClassID and nStatus. Used by the UI, requires admin access.

IPTQueryResult QueryObjectsByStatus(
   int nClassID,
   int nStatus,
   int nSkipRows,
   int nMaxRows,
   object[][] arQueryFilter
);

Parameters

nClassID
the class of interest, from PT_CLASSIDS
nStatus
the status of interest, from PT_MIGRATION_STATUS_TYPES
nSkipRows
number of rows to skip at the beginning, or 0 for none
nMaxRows
maximum number of rows to return, or -1 for all
arQueryFilter
is a 2D array with 3 columns. The first column holds the property id, from PT_PROPIDS. The second column holds the operator, from PT_FILTEROPS. The third column holds the value to be matched.

Return Value

IPTQueryResult containing the records of interest

See Also

IPTMigrationManager Interface | com.plumtree.server Namespace | PT_CLASSIDS | PT_MIGRATION_STATUS_TYPES | PT_PROPIDS | PT_ORDERBY_SETTINGS