Class LocksResourceImpl

  • All Implemented Interfaces:
    com.artisol.teneo.studio.api.resources.LocksResource

    public class LocksResourceImpl
    extends AbstractResource
    implements com.artisol.teneo.studio.api.resources.LocksResource
    • Constructor Detail

      • LocksResourceImpl

        public LocksResourceImpl​(javax.ws.rs.client.WebTarget webTarget)
    • Method Detail

      • lock

        public String lock​(UUID solutionId,
                           UUID documentId)
                    throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        lock in interface com.artisol.teneo.studio.api.resources.LocksResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • unlock

        public void unlock​(String lockToken)
                    throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        unlock in interface com.artisol.teneo.studio.api.resources.LocksResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException