Class DocumentsResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.DocumentsResourceImpl
-
- All Implemented Interfaces:
com.artisol.teneo.studio.api.resources.DocumentsResource
public class DocumentsResourceImpl extends AbstractResource implements com.artisol.teneo.studio.api.resources.DocumentsResource
-
-
Field Summary
-
Fields inherited from interface com.artisol.teneo.studio.api.resources.DocumentsResource
DELETE_PATH, DELETE_SUMMARY, PATH, POST_COPY_PATH, POST_COPY_SUMMARY, POST_DISABLE_PATH, POST_DISABLE_SUMMARY, POST_ENABLE_PATH, POST_ENABLE_SUMMARY, POST_EXCLUDE_PATH, POST_EXCLUDE_SUMMARY, POST_INCLUDE_PATH, POST_INCLUDE_SUMMARY, POST_MOVE_PATH, POST_MOVE_SUMMARY, POST_RENAME_PATH, POST_RENAME_SUMMARY
-
-
Constructor Summary
Constructors Constructor Description DocumentsResourceImpl(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.reports.CopyOrRestoreSuccessReport
copy(UUID solutionId, UUID documentId, UUID targetSolutionId, UUID targetFolderId)
void
delete(UUID solutionId, UUID documentId, boolean force)
void
disable(UUID solutionId, UUID documentId)
void
enable(UUID solutionId, UUID documentId)
void
exclude(UUID solutionId, UUID documentId)
void
include(UUID solutionId, UUID documentId)
void
move(UUID solutionId, UUID documentId, UUID targetFolderId)
void
rename(UUID solutionId, UUID documentId, String newName)
-
-
-
Method Detail
-
include
public void include(UUID solutionId, UUID documentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
include
in interfacecom.artisol.teneo.studio.api.resources.DocumentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
exclude
public void exclude(UUID solutionId, UUID documentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
exclude
in interfacecom.artisol.teneo.studio.api.resources.DocumentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
enable
public void enable(UUID solutionId, UUID documentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
enable
in interfacecom.artisol.teneo.studio.api.resources.DocumentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
disable
public void disable(UUID solutionId, UUID documentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
disable
in interfacecom.artisol.teneo.studio.api.resources.DocumentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
move
public void move(UUID solutionId, UUID documentId, UUID targetFolderId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
move
in interfacecom.artisol.teneo.studio.api.resources.DocumentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
copy
public com.artisol.teneo.studio.api.models.reports.CopyOrRestoreSuccessReport copy(UUID solutionId, UUID documentId, UUID targetSolutionId, UUID targetFolderId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
copy
in interfacecom.artisol.teneo.studio.api.resources.DocumentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
rename
public void rename(UUID solutionId, UUID documentId, String newName) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
rename
in interfacecom.artisol.teneo.studio.api.resources.DocumentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-