Interface ICriterion

All Superinterfaces:
ICriterionInfo

public interface ICriterion extends ICriterionInfo
This represents an aspect of the information resource being listened to.
  • Method Details

    • setProperty

      void setProperty(String name) throws MetaException
      Set the name of the property of the criterion.
      Parameters:
      name - String, the name of the relationship that the criterion filters
      Throws:
      MetaException
    • setPropertyID

      void setPropertyID(int id) throws MetaException
      Set the propertyID of the criterion
      Parameters:
      id - long id of IRelation IRelation
      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 IEventOperation IPortalEvent
    • 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

      void setAppCriterionID(IThingID thingID)
      Sets the criterion with a predefined application criterion ID
      Parameters:
      thingID - The predefined application criterion thingID