public interface RegistryStub
void create(String profile, String type) throws InvalidResourceException, ResourceNotAcceptedException, CreateException
profile
- the profile in xmltype
- the type of the resource to storeInvalidResourceException
- if the profile is not validResourceNotAcceptedException
- if some filter is applied registry sideCreateException
- if something goes wrong on creationvoid update(String id, String type, String profile) throws InvalidResourceException, ResourceNotAcceptedException, UpdateException
id
- the id of the resource to updatetype
- the type of the resource to updateprofile
- the profile in xmlInvalidResourceException
- if the profile is not validResourceNotAcceptedException
- if some filter is applied registry sideUpdateException
- if something goes wrong on updatevoid remove(String id, String type) throws ResourceDoesNotExistException, RemoveException
id
- the id of the resource to removetype
- the type of the resource to removeResourceDoesNotExistException
- if the resource is not stored on the CollectorRemoveException
- if something goes wrong during deletionCopyright © 2022. All Rights Reserved.