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 |
changedActivities(IdList activityIds)
The callback for notification of updated activities.
|
void |
deletedActivities(IdList activityIds)
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 |
newActivities(IdList activityIds)
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.
|
void |
restructuredActivityHierarchy()
The callback for notifications of changes to an activity hierarchy
where the hierarchy needs to refreshed.
|
down, upvoid newActivities(IdList activityIds)
activityIds - the Ids of the new
Activities 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 changedActivities(IdList activityIds)
activityIds - the Ids of the updated
Activities mandatory - This method must be implemented. void deletedActivities(IdList activityIds)
activityIds - the Ids of the deleted
Activities 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. void restructuredActivityHierarchy()
mandatory - This method must be implemented.