public interface CompositionReceiver extends OsidReceiver
The composition receiver is the consumer supplied interface for
receiving notifications pertaining to new, updated or deleted
Composition
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedComposition(Id compositionId)
The callback for notification of updated compositions.
|
void |
deletedComposition(Id compositionId)
the callback for notification of deleted compositions.
|
void |
deletedCompositionAncestor(Id compositionId,
Id ancestorId)
The callback for notifications of deleted composition ancestors.
|
void |
deletedCompositionAsset(Id assetId)
The callback for notifications of deleted assets from this
composition.
|
void |
deletedCompositionDescendant(Id compositionId,
Id descendantId)
The callback for notifications of deleted composition descendants.
|
void |
newComposition(Id compositionId)
The callback for notifications of new compositions.
|
void |
newCompositionAncestor(Id compositionId,
Id ancestorId)
The callback for notifications of new composition ancestors.
|
void |
newCompositionAsset(Id assetId)
The callback for notifications of new assets in the composition.
|
void |
newCompositionDescendant(Id compositionId,
Id descendantId)
The callback for notifications of new composition descendants.
|
down, up
void newComposition(Id compositionId)
compositionId
- the Id
of the new
Composition
mandatory
- This method must be implemented. void newCompositionAsset(Id assetId)
assetId
- the Id
of the new Asset
mandatory
- This method must be implemented. void newCompositionAncestor(Id compositionId, Id ancestorId)
compositionId
- the Id
of the Composition
ancestorId
- the Id
of the new Composition
descendantmandatory
- This method must be implemented. void newCompositionDescendant(Id compositionId, Id descendantId)
compositionId
- the Id
of the Composition
descendantId
- the Id
of the new
Composition
ancestormandatory
- This method must be implemented. void changedComposition(Id compositionId)
compositionId
- the Id
of the updated
Composition
mandatory
- This method must be implemented. void deletedComposition(Id compositionId)
compositionId
- the Id
of the deleted
Composition
mandatory
- This method must be implemented. void deletedCompositionAsset(Id assetId)
assetId
- the Id
of the removed Asset
mandatory
- This method must be implemented. void deletedCompositionAncestor(Id compositionId, Id ancestorId)
compositionId
- the Id
of the Composition
ancestorId
- the Id
of the removed
Composition
ancestormandatory
- This method must be implemented. void deletedCompositionDescendant(Id compositionId, Id descendantId)
compositionId
- the Id
of the Composition
descendantId
- the Id
of the removed
Composition
descendantmandatory
- This method must be implemented.