Class 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)  
    • Constructor Detail

      • EntitiesResourceImpl

        public EntitiesResourceImpl​(javax.ws.rs.client.WebTarget webTarget)
    • 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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.artisol.teneo.studio.api.resources.EntitiesResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException