public interface PersistenceManager
Modifier and Type | Method and Description |
---|---|
RequestStatus |
create(ResourceInstance resource,
RequestBody requestBody)
Create resources.
|
RequestStatus |
delete(ResourceInstance resource,
RequestBody requestBody) |
RequestStatus |
update(ResourceInstance resource,
RequestBody requestBody) |
RequestStatus create(ResourceInstance resource, RequestBody requestBody) throws UnsupportedPropertyException, ResourceAlreadyExistsException, NoSuchParentResourceException, SystemException
resource
- associated resource representationrequestBody
- body of the current requestUnsupportedPropertyException
ResourceAlreadyExistsException
NoSuchParentResourceException
SystemException
RequestStatus update(ResourceInstance resource, RequestBody requestBody) throws UnsupportedPropertyException, SystemException, NoSuchParentResourceException, NoSuchResourceException
resource
- associated resource representationrequestBody
- body of the current requestUnsupportedPropertyException
SystemException
NoSuchParentResourceException
NoSuchResourceException
RequestStatus delete(ResourceInstance resource, RequestBody requestBody) throws UnsupportedPropertyException, SystemException, NoSuchParentResourceException, NoSuchResourceException
resource
- associated resource representationrequestBody
- body of the current requestUnsupportedPropertyException
SystemException
NoSuchParentResourceException
NoSuchResourceException
Copyright © 2022 Apache Software Foundation. All rights reserved.