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 |
changedUtilities(IdList utilityIds)
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 |
deletedUtilities(IdList utilityIds)
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 |
newUtilities(IdList utilityIds)
The callback for notifications of new utilities.
|
void |
restructuredUtilityHierarchy()
The callback for notifications of changes to a utility hierarchy where
the hierarchy needs to refreshed.
|
down, up
void newUtilities(IdList utilityIds)
utilityIds
- the Ids
of the new Utilities
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 changedUtilities(IdList utilityIds)
utilityIds
- the Ids
of the updated
Utilities
mandatory
- This method must be implemented. void deletedUtilities(IdList utilityIds)
utilityIds
- the Ids
of the registered
Utilities
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. void restructuredUtilityHierarchy()
mandatory
- This method must be implemented.