Class RestDocumentMetadataClient
java.lang.Object
com.logicaldoc.webservice.rest.client.AbstractRestClient
com.logicaldoc.webservice.rest.client.RestDocumentMetadataClient
-
Constructor Summary
ConstructorDescriptionRestDocumentMetadataClient
(String endpoint, String username, String password) RestDocumentMetadataClient
(String endpoint, String username, String password, int timeout) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAttributeSet
(long setId) void
deleteTemplate
(long templateId) String[]
getAttributeOptions
(long setId, String attribute) getAttributeSet
(String name) getAttributeSetById
(long setId) getTemplate
(String name) getTemplateById
(long templateId) void
setAttributeOptions
(long setId, String attribute, WSAttributeOption[] options) void
setAttributeOptionsPOST
(long setId, String attribute, WSAttributeOption[] options) long
storeAttributeSet
(WSAttributeSet attributeSet) long
storeTemplate
(WSTemplate template)
-
Constructor Details
-
RestDocumentMetadataClient
-
RestDocumentMetadataClient
-
-
Method Details
-
setAttributeOptions
public void setAttributeOptions(long setId, String attribute, WSAttributeOption[] options) throws WebserviceException, PersistenceException -
setAttributeOptionsPOST
public void setAttributeOptionsPOST(long setId, String attribute, WSAttributeOption[] options) throws WebserviceException, PersistenceException -
storeAttributeSet
public long storeAttributeSet(WSAttributeSet attributeSet) throws WebserviceException, PersistenceException -
storeTemplate
public long storeTemplate(WSTemplate template) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException -
getAttributeSetById
public WSAttributeSet getAttributeSetById(long setId) throws AuthenticationException, WebserviceException, PersistenceException -
getAttributeSet
public WSAttributeSet getAttributeSet(String name) throws AuthenticationException, WebserviceException, PersistenceException -
getTemplate
public WSTemplate getTemplate(String name) throws AuthenticationException, WebserviceException, PersistenceException -
getTemplateById
public WSTemplate getTemplateById(long templateId) throws AuthenticationException, WebserviceException, PersistenceException -
getAttributeOptions
public String[] getAttributeOptions(long setId, String attribute) throws AuthenticationException, WebserviceException, PersistenceException -
listAttributeSets
public WSAttributeSet[] listAttributeSets() throws AuthenticationException, WebserviceException, PersistenceException -
deleteAttributeSet
-
deleteTemplate
public void deleteTemplate(long templateId) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException -
listTemplates
public WSTemplate[] listTemplates() throws AuthenticationException, WebserviceException, PersistenceException
-