public interface UtilityReceiver extends OsidReceiver
The utility receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Utility
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedUtility(Id utilityId)
The callback for notification of updated utilities.
|
void |
deletedAncestorUtility(Id utilityId,
Id ancestorId)
The callback for notifications of deleted ancestors of a utility,
|
void |
deletedDescendantUtility(Id utilityId,
Id descendantId)
The callback for notifications of deleted descendants of a utility.
|
void |
deletedUtility(Id utilityId)
the callback for notification of deleted utilities.
|
void |
newAncestorUtility(Id utilityId,
Id ancestorId)
The callback for notifications of new ancestors of a utility.
|
void |
newDescendantUtility(Id utilityId,
Id descendantId)
The callback for notifications of new descendant of a utility.
|
void |
newUtility(Id utilityId)
The callback for notifications of new utilities.
|
down, up
void newUtility(Id utilityId)
utilityId
- the Id
of the new Utility
mandatory
- This method must be implemented. void newAncestorUtility(Id utilityId, Id ancestorId)
utilityId
- the Id
of the registered
Utility
ancestorId
- the Id
of the new ancestor utilitymandatory
- This method must be implemented. void newDescendantUtility(Id utilityId, Id descendantId)
utilityId
- the Id
of the registered
Utility
descendantId
- the Id
of the new descendant
utilitymandatory
- This method must be implemented. void changedUtility(Id utilityId)
utilityId
- the Id
of the updated Utility
mandatory
- This method must be implemented. void deletedUtility(Id utilityId)
utilityId
- the Id
of the registered
Utility
mandatory
- This method must be implemented. void deletedAncestorUtility(Id utilityId, Id ancestorId)
utilityId
- the Id
of the registered
Utility
ancestorId
- the Id
of the removed ancestor
utilitymandatory
- This method must be implemented. void deletedDescendantUtility(Id utilityId, Id descendantId)
utilityId
- the Id
of the registered
Utility
descendantId
- the Id
of the deleted descendant
utilitymandatory
- This method must be implemented.