public interface StoreReceiver extends OsidReceiver
The store receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Store
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedStores(IdList storeIds)
The callback for notification of updated stores.
|
void |
deletedAncestorStore(Id storeId,
Id ancestorId)
The callback for notifications of deleted ancestors of a store.
|
void |
deletedDescendantStore(Id storeId,
Id descendantId)
The callback for notifications of deleted descendants of a store.
|
void |
deletedStores(IdList storeIds)
the callback for notification of deleted stores.
|
void |
newAncestorStore(Id storeId,
Id ancestorId)
The callback for notifications of new ancestors of a store.
|
void |
newDescendantStore(Id storeId,
Id descendantId)
The callback for notifications of new descendant of a store.
|
void |
newStores(IdList storeIds)
The callback for notifications of new stores.
|
void |
restructuredStoreHierarchy()
The callback for notifications of changes to a store hierarchy where
the hierarchy needs to refreshed.
|
down, up
void newStores(IdList storeIds)
storeIds
- the Ids
of the new Stores
mandatory
- This method must be implemented. void newAncestorStore(Id storeId, Id ancestorId)
storeId
- the Id
of the registered Store
ancestorId
- the Id of the new ancestor storemandatory
- This method must be implemented. void newDescendantStore(Id storeId, Id descendantId)
storeId
- the Id
of the registered Store
descendantId
- the Id of the new descendant storemandatory
- This method must be implemented. void changedStores(IdList storeIds)
storeIds
- the Ids
of the updated Stores
mandatory
- This method must be implemented. void deletedStores(IdList storeIds)
storeIds
- the Ids
of the registered
Stores
mandatory
- This method must be implemented. void deletedAncestorStore(Id storeId, Id ancestorId)
storeId
- the Id
of the registered Store
ancestorId
- the Id of the removed ancestor storemandatory
- This method must be implemented. void deletedDescendantStore(Id storeId, Id descendantId)
storeId
- the Id
of the registered Store
descendantId
- the Id of the deleted descendant storemandatory
- This method must be implemented. void restructuredStoreHierarchy()
mandatory
- This method must be implemented.