Class EntitiesResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.EntitiesResourceImpl
-
- All Implemented Interfaces:
com.artisol.teneo.studio.api.resources.EntitiesResource
public class EntitiesResourceImpl extends AbstractResource implements com.artisol.teneo.studio.api.resources.EntitiesResource
-
-
Field Summary
-
Fields inherited from interface com.artisol.teneo.studio.api.resources.EntitiesResource
DELETE_ENTITY_PATH, DELETE_ENTITY_SUMMARY, GET_ENTITY_HEADERS_PATH, GET_ENTITY_HEADERS_SUMMARY, GET_ENTITY_PATH, GET_ENTITY_SUMMARY, GET_ENTITY_VERSION_PATH, GET_ENTITY_VERSION_SUMMARY, PATH, POST_ENTITY_PATH, POST_ENTITY_SUMMARY, PUT_ENTITY_PATH, PUT_ENTITY_SUMMARY
-
-
Constructor Summary
Constructors Constructor Description EntitiesResourceImpl(javax.ws.rs.client.WebTarget webTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.artisol.teneo.studio.api.models.Entity
createEntity(UUID solutionId, com.artisol.teneo.studio.api.models.Entity entity)
void
deleteEntity(UUID solutionId, UUID entityId, boolean force)
com.artisol.teneo.studio.api.models.Entity
getEntity(UUID solutionId, UUID entityId)
List<com.artisol.teneo.studio.api.models.headers.FolderLeafHeader>
getEntityHeaders(UUID solutionId)
com.artisol.teneo.studio.api.models.Entity
getEntityVersion(UUID solutionId, UUID entityId, String version)
com.artisol.teneo.studio.api.models.Entity
updateEntity(UUID solutionId, UUID entityId, com.artisol.teneo.studio.api.models.Entity entity)
-
-
-
Method Detail
-
createEntity
public com.artisol.teneo.studio.api.models.Entity createEntity(UUID solutionId, com.artisol.teneo.studio.api.models.Entity entity) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
createEntity
in interfacecom.artisol.teneo.studio.api.resources.EntitiesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
updateEntity
public com.artisol.teneo.studio.api.models.Entity updateEntity(UUID solutionId, UUID entityId, com.artisol.teneo.studio.api.models.Entity entity) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
updateEntity
in interfacecom.artisol.teneo.studio.api.resources.EntitiesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getEntity
public com.artisol.teneo.studio.api.models.Entity getEntity(UUID solutionId, UUID entityId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getEntity
in interfacecom.artisol.teneo.studio.api.resources.EntitiesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getEntityVersion
public com.artisol.teneo.studio.api.models.Entity getEntityVersion(UUID solutionId, UUID entityId, String version) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getEntityVersion
in interfacecom.artisol.teneo.studio.api.resources.EntitiesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
deleteEntity
public void deleteEntity(UUID solutionId, UUID entityId, boolean force) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
deleteEntity
in interfacecom.artisol.teneo.studio.api.resources.EntitiesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getEntityHeaders
public List<com.artisol.teneo.studio.api.models.headers.FolderLeafHeader> getEntityHeaders(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getEntityHeaders
in interfacecom.artisol.teneo.studio.api.resources.EntitiesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-