Interface ICriterion
- All Superinterfaces:
ICriterionInfo
This represents an aspect of the information resource being listened to.
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets internal id of this Criterionvoid
setAppCriterionID
(IThingID thingID) Sets the criterion with a predefined application criterion IDvoid
setCriterionID
(int criterionID) Sets internal id of this Criterionvoid
setOperations
(int operation) Operations to listen for, represented as a bitmask.void
setProperty
(String name) Set the name of the property of the criterion.void
setPropertyID
(int id) Set the propertyID of the criterionvoid
setStatus
(int status) Status to listen for, represented as a bitmask.Methods inherited from interface com.webmethods.portal.service.meta2.subscription.ICriterionInfo
getAppCriterionID, getOperations, getProperty, getPropertyID, getStatus
-
Method Details
-
setProperty
Set the name of the property of the criterion.- Parameters:
name
- String, the name of the relationship that the criterion filters- Throws:
MetaException
-
setPropertyID
Set the propertyID of the criterion- Parameters:
id
- long id of IRelationIRelation
- Throws:
MetaException
-
setOperations
void setOperations(int operation) Operations to listen for, represented as a bitmask. This may change, depending on the best RDBMS representation.- Parameters:
operation
- int the operation(s) defined in IEventOperationIPortalEvent
-
setStatus
void setStatus(int status) Status to listen for, represented as a bitmask. This may change, depending on the best RDBMS representation.- Parameters:
status
-
-
getCriterionID
int getCriterionID()Gets internal id of this Criterion- Returns:
- criterionID int
-
setCriterionID
void setCriterionID(int criterionID) Sets internal id of this Criterion- Parameters:
criterionID
- int
-
setAppCriterionID
Sets the criterion with a predefined application criterion ID- Parameters:
thingID
- The predefined application criterion thingID
-