public interface RepositoryReceiver extends OsidReceiver
The repository receiver is the consumer supplied interface for
receiving notifications pertaining to new, updated or deleted
Repository
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedRepositories(IdList repositoryIds)
The callback for notification of updated repositories.
|
void |
deletedAncestorRepository(Id repositoryId,
Id ancestorId)
The callback for notifications of deleted repository ancestors.
|
void |
deletedDescendantRepository(Id repositoryId,
Id descendantId)
The callback for notifications of deleted repository descendants.
|
void |
deletedRepositories(IdList repositoryIds)
The callback for notification of deleted repositories.
|
void |
newAncestorRepository(Id repositoryId,
Id ancestorId)
The callback for notifications of new repository ancestors.
|
void |
newDescendantRepository(Id repositoryId,
Id descendantId)
The callback for notifications of new repository descendants.
|
void |
newRepositories(IdList repositoryIds)
The callback for notifications of new repositories.
|
void |
restructuredRepositoryHierarchy()
The callback for notifications of changes to a respository hierarchy
where the hierarchy needs to refreshed.
|
down, up
void newRepositories(IdList repositoryIds)
repositoryIds
- the Ids
of the new
Repositories
mandatory
- This method must be implemented. void newAncestorRepository(Id repositoryId, Id ancestorId)
repositoryId
- the Id
of the Repository
ancestorId
- the Id
of the new Repository
ancestormandatory
- This method must be implemented. void newDescendantRepository(Id repositoryId, Id descendantId)
repositoryId
- the Id
of the Repository
descendantId
- the Id
of the new
Repository
descendantmandatory
- This method must be implemented. void changedRepositories(IdList repositoryIds)
repositoryIds
- the Ids
of the updated
Repositories
mandatory
- This method must be implemented. void deletedRepositories(IdList repositoryIds)
repositoryIds
- the Ids
of the deleted
Repositories
mandatory
- This method must be implemented. void deletedAncestorRepository(Id repositoryId, Id ancestorId)
repositoryId
- the Id
of the Repository
ancestorId
- the Id
of the removed
Repository
ancestormandatory
- This method must be implemented. void deletedDescendantRepository(Id repositoryId, Id descendantId)
repositoryId
- the Id
of the Repository
descendantId
- the Id
of the removed
Repository
descendantmandatory
- This method must be implemented. void restructuredRepositoryHierarchy()
mandatory
- This method must be implemented.