public interface EntityManagement
| Modifier and Type | Method and Description |
|---|---|
boolean |
addFacetToContext(UUID uuid) |
boolean |
addResourceToContext(UUID uuid) |
String |
attachFacet(UUID resourceUUID,
UUID facetUUID,
String consistOfType,
String jsonRepresentation) |
String |
attachResource(UUID sourceResourceUUID,
UUID targetResourceUUID,
String relatedToType,
String jsonRepresentation) |
String |
createFacet(String facetType,
String jsonRepresentation) |
String |
createResource(String resourceType,
String jsonRepresentation) |
boolean |
deleteFacet(UUID uuid) |
boolean |
deleteResource(UUID uuid) |
boolean |
detachFacet(UUID consistsOfUUID) |
boolean |
detachResource(UUID isRelatedToUUID) |
String |
readFacet(UUID uuid) |
String |
readFacet(UUID uuid,
String facetType) |
String |
readResource(UUID uuid) |
String |
readResource(UUID uuid,
String resourceType) |
String |
updateFacet(UUID uuid,
String jsonRepresentation) |
String |
updateResource(UUID resourceUUID,
String jsonRepresentation)
Update a resource means update ConsistsOf relations and related Facets
presents in the jsonRepresentation argument.
|
String createFacet(String facetType, String jsonRepresentation) throws EntityException, ResourceRegistryException
String readFacet(UUID uuid) throws FacetNotFoundException, ResourceRegistryException
String readFacet(UUID uuid, String facetType) throws FacetNotFoundException, ResourceRegistryException
String updateFacet(UUID uuid, String jsonRepresentation) throws FacetNotFoundException, ResourceRegistryException
boolean deleteFacet(UUID uuid) throws FacetNotFoundException, ResourceRegistryException
String createResource(String resourceType, String jsonRepresentation) throws ResourceRegistryException
ResourceRegistryExceptionString readResource(UUID uuid) throws ResourceNotFoundException, ResourceRegistryException
String readResource(UUID uuid, String resourceType) throws ResourceNotFoundException, ResourceRegistryException
String updateResource(UUID resourceUUID, String jsonRepresentation) throws ResourceNotFoundException, ResourceRegistryException
resourceUUID - jsonRepresentation - ResourceNotFoundExceptionResourceRegistryExceptionboolean deleteResource(UUID uuid) throws ResourceNotFoundException, ResourceRegistryException, ResourceRegistryException
String attachFacet(UUID resourceUUID, UUID facetUUID, String consistOfType, String jsonRepresentation) throws FacetNotFoundException, ResourceNotFoundException, ResourceRegistryException
boolean detachFacet(UUID consistsOfUUID) throws ResourceRegistryException
ResourceRegistryExceptionString attachResource(UUID sourceResourceUUID, UUID targetResourceUUID, String relatedToType, String jsonRepresentation) throws ResourceNotFoundException, ResourceRegistryException
boolean detachResource(UUID isRelatedToUUID) throws ResourceRegistryException
ResourceRegistryExceptionboolean addResourceToContext(UUID uuid) throws ResourceNotFoundException, ContextNotFoundException, ResourceRegistryException
boolean addFacetToContext(UUID uuid) throws FacetNotFoundException, ContextNotFoundException, ResourceRegistryException
Copyright © 2016. All Rights Reserved.