Class RestDocumentMetadataClient
java.lang.Object
com.logicaldoc.webservice.rest.client.AbstractRestClient
com.logicaldoc.webservice.rest.client.RestDocumentMetadataClient
- 
Constructor Summary
ConstructorsConstructorDescriptionRestDocumentMetadataClient(String endpoint, String username, String password) RestDocumentMetadataClient(String endpoint, String username, String password, int timeout)  - 
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAttributeSet(long setId) voiddeleteTemplate(long templateId) getAttributeOptions(long setId, String attribute) getAttributeSet(String name) getAttributeSetById(long setId) getTemplate(String name) getTemplateById(long templateId) voidsetAttributeOptions(long setId, String attribute, List<WSAttributeOption> options) voidsetAttributeOptionsPOST(long setId, String attribute, List<WSAttributeOption> options) longstoreAttributeSet(WSAttributeSet attributeSet) longstoreTemplate(WSTemplate template)  
- 
Constructor Details
- 
RestDocumentMetadataClient
 - 
RestDocumentMetadataClient
 
 - 
 - 
Method Details
- 
setAttributeOptions
public void setAttributeOptions(long setId, String attribute, List<WSAttributeOption> options) throws WebserviceException, PersistenceException  - 
setAttributeOptionsPOST
public void setAttributeOptionsPOST(long setId, String attribute, List<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 List<String> getAttributeOptions(long setId, String attribute) throws AuthenticationException, WebserviceException, PersistenceException  - 
listAttributeSets
public List<WSAttributeSet> listAttributeSets() throws AuthenticationException, WebserviceException, PersistenceException - 
deleteAttributeSet
 - 
deleteTemplate
public void deleteTemplate(long templateId) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException  - 
listTemplates
public List<WSTemplate> listTemplates() throws AuthenticationException, WebserviceException, PersistenceException 
 -