Class RestTagClient
java.lang.Object
com.logicaldoc.webservice.rest.client.AbstractRestClient<TagService>
com.logicaldoc.webservice.rest.client.RestTagClient
-
Constructor Summary
ConstructorsConstructorDescriptionRestTagClient
(String endpoint, String apiKey) RestTagClient
(String endpoint, String apiKey, int timeout) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDocumentTags
(long docId, List<String> tags) void
addFolderTags
(long folderId, List<String> tags) findDocumentsByTag
(String tag) findFoldersByTag
(String tag) getDocumentTags
(long docId) getTags()
void
setDocumentTags
(long docId, List<String> tags) void
setFolderTags
(long folderId, List<String> tags)
-
Constructor Details
-
RestTagClient
-
RestTagClient
-
-
Method Details
-
addDocumentTags
public void addDocumentTags(long docId, List<String> tags) throws AuthenticationException, PermissionException, PersistenceException, UnexistingResourceException, WebserviceException -
setDocumentTags
public void setDocumentTags(long docId, List<String> tags) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException, UnexistingResourceException -
addFolderTags
public void addFolderTags(long folderId, List<String> tags) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException -
setFolderTags
public void setFolderTags(long folderId, List<String> tags) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException -
getDocumentTags
public List<String> getDocumentTags(long docId) throws PermissionException, AuthenticationException, PersistenceException, WebserviceException, UnexistingResourceException -
getTags
public List<String> getTags() throws AuthenticationException, PersistenceException, WebserviceException -
findDocumentsByTag
public List<WSDocument> findDocumentsByTag(String tag) throws AuthenticationException, PersistenceException, WebserviceException -
findFoldersByTag
public List<WSFolder> findFoldersByTag(String tag) throws AuthenticationException, WebserviceException, PersistenceException
-