public class PersistenceManagerImpl extends Object implements PersistenceManager
| Constructor and Description |
|---|
PersistenceManagerImpl(ClusterController controller)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
RequestStatus |
create(ResourceInstance resource,
RequestBody requestBody)
Create resources.
|
protected Request |
createControllerRequest(RequestBody body) |
RequestStatus |
delete(ResourceInstance resource,
RequestBody requestBody) |
RequestStatus |
update(ResourceInstance resource,
RequestBody requestBody) |
public PersistenceManagerImpl(ClusterController controller)
controller - the cluster controllerpublic RequestStatus create(ResourceInstance resource, RequestBody requestBody) throws UnsupportedPropertyException, SystemException, ResourceAlreadyExistsException, NoSuchParentResourceException
PersistenceManagercreate in interface PersistenceManagerresource - associated resource representationrequestBody - body of the current requestUnsupportedPropertyExceptionSystemExceptionResourceAlreadyExistsExceptionNoSuchParentResourceExceptionpublic RequestStatus update(ResourceInstance resource, RequestBody requestBody) throws UnsupportedPropertyException, SystemException, NoSuchParentResourceException, NoSuchResourceException
update in interface PersistenceManagerresource - associated resource representationrequestBody - body of the current requestUnsupportedPropertyExceptionSystemExceptionNoSuchParentResourceExceptionNoSuchResourceExceptionpublic RequestStatus delete(ResourceInstance resource, RequestBody requestBody) throws UnsupportedPropertyException, SystemException, NoSuchParentResourceException, NoSuchResourceException
delete in interface PersistenceManagerresource - associated resource representationrequestBody - body of the current requestUnsupportedPropertyExceptionSystemExceptionNoSuchParentResourceExceptionNoSuchResourceExceptionprotected Request createControllerRequest(RequestBody body)
Copyright © 2022 Apache Software Foundation. All rights reserved.