Class RestDocumentMetadataClient
java.lang.Object
com.logicaldoc.webservice.rest.client.AbstractRestClient<DocumentMetadataService>
com.logicaldoc.webservice.rest.client.RestDocumentMetadataClient
- 
Constructor SummaryConstructorsConstructorDescriptionRestDocumentMetadataClient(String endpoint, String apiKey) RestDocumentMetadataClient(String endpoint, String apiKey, int timeout) 
- 
Method SummaryModifier 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- 
setAttributeOptionspublic void setAttributeOptions(long setId, String attribute, List<WSAttributeOption> options) throws WebserviceException, PersistenceException 
- 
setAttributeOptionsPOSTpublic void setAttributeOptionsPOST(long setId, String attribute, List<WSAttributeOption> options) throws WebserviceException, PersistenceException 
- 
storeAttributeSetpublic long storeAttributeSet(WSAttributeSet attributeSet) throws WebserviceException, PersistenceException 
- 
storeTemplatepublic long storeTemplate(WSTemplate template) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException 
- 
getAttributeSetByIdpublic WSAttributeSet getAttributeSetById(long setId) throws AuthenticationException, WebserviceException, PersistenceException 
- 
getAttributeSetpublic WSAttributeSet getAttributeSet(String name) throws AuthenticationException, WebserviceException, PersistenceException 
- 
getTemplatepublic WSTemplate getTemplate(String name) throws AuthenticationException, WebserviceException, PersistenceException 
- 
getTemplateByIdpublic WSTemplate getTemplateById(long templateId) throws AuthenticationException, WebserviceException, PersistenceException 
- 
getAttributeOptionspublic List<String> getAttributeOptions(long setId, String attribute) throws AuthenticationException, WebserviceException, PersistenceException 
- 
listAttributeSetspublic List<WSAttributeSet> listAttributeSets() throws AuthenticationException, WebserviceException, PersistenceException
- 
deleteAttributeSet
- 
deleteTemplatepublic void deleteTemplate(long templateId) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException 
- 
listTemplatespublic List<WSTemplate> listTemplates() throws AuthenticationException, WebserviceException, PersistenceException
 
-