public interface ActivityReceiver extends OsidReceiver
The activity receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Activity
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedActivity(Id activityId)
The callback for notification of updated activities.
|
void |
deletedActivity(Id activityId)
the callback for notification of deleted activities.
|
void |
deletedAncestortActivity(Id activityId,
Id ancestorId)
The callback for notifications of deleted activity ancestors.
|
void |
deletedDescendantActivity(Id activityId,
Id descendantId)
The callback for notifications of deleted activity descendants.
|
void |
newActivity(Id activityId)
The callback for notifications of new activities.
|
void |
newAncestorActivity(Id activityId,
Id ancestorId)
The callback for notifications of new activity ancestors.
|
void |
newDescendantActivity(Id activityId,
Id descendantId)
The callback for notifications of new activity descendants.
|
down, up
void newActivity(Id activityId)
activityId
- the Id
of the new Activity
mandatory
- This method must be implemented. void newAncestorActivity(Id activityId, Id ancestorId)
activityId
- the Id
of the Activity
ancestorId
- the Id
of the new Activity
ancestormandatory
- This method must be implemented. void newDescendantActivity(Id activityId, Id descendantId)
activityId
- the Id
of the Activity
descendantId
- the Id
of the new Activity
descendantmandatory
- This method must be implemented. void changedActivity(Id activityId)
activityId
- the Id
of the updated
Activity
mandatory
- This method must be implemented. void deletedActivity(Id activityId)
activityId
- the Id
of the deleted
Activity
mandatory
- This method must be implemented. void deletedAncestortActivity(Id activityId, Id ancestorId)
activityId
- the Id
of the Activity
ancestorId
- the Id
of the new Activity
ancestormandatory
- This method must be implemented. void deletedDescendantActivity(Id activityId, Id descendantId)
activityId
- the Id
of the Activity
descendantId
- the Id
of the new Activity
descendantmandatory
- This method must be implemented.