public interface RealmReceiver extends OsidReceiver
The realm receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Realm
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedRealms(IdList realmIds)
The callback for notification of updated realms.
|
void |
deletedAncestorRealm(Id realmId,
Id ancestorId)
The callback for notifications of deleted ancestors of a realm.
|
void |
deletedDescendantRealm(Id realmId,
Id descendantId)
The callback for notifications of deleted descendants of a realm.
|
void |
deletedRealms(IdList realmIds)
the callback for notification of deleted realms.
|
void |
newAncestorRealm(Id realmId,
Id ancestorId)
The callback for notifications of new ancestors of a realm.
|
void |
newDescendantRealm(Id realmId,
Id descendantId)
The callback for notifications of new descendant of a realm.
|
void |
newRealms(IdList realmIds)
The callback for notifications of new realms.
|
void |
restructuredRealmHierarchy()
The callback for notifications of changes to a realm hierarchy where
the hierarchy needs to refreshed.
|
down, up
void newRealms(IdList realmIds)
realmIds
- the Ids
of the new Realms
mandatory
- This method must be implemented. void newAncestorRealm(Id realmId, Id ancestorId)
realmId
- the Id
of the registered Realm
ancestorId
- the Id of the new ancestor realmmandatory
- This method must be implemented. void newDescendantRealm(Id realmId, Id descendantId)
realmId
- the Id
of the registered Realm
descendantId
- the Id of the new descendant realmmandatory
- This method must be implemented. void changedRealms(IdList realmIds)
realmIds
- the Ids
of the updated Realms
mandatory
- This method must be implemented. void deletedRealms(IdList realmIds)
realmIds
- the Ids
of the registered
Realms
mandatory
- This method must be implemented. void deletedAncestorRealm(Id realmId, Id ancestorId)
realmId
- the Id
of the registered Realm
ancestorId
- the Id of the removed ancestor realmmandatory
- This method must be implemented. void deletedDescendantRealm(Id realmId, Id descendantId)
realmId
- the Id
of the registered Realm
descendantId
- the Id of the deleted descendant realmmandatory
- This method must be implemented. void restructuredRealmHierarchy()
mandatory
- This method must be implemented.