Class RestFolderClient
java.lang.Object
com.logicaldoc.webservice.rest.client.AbstractRestClient<FolderService>
com.logicaldoc.webservice.rest.client.RestFolderClient
- 
Constructor SummaryConstructorsConstructorDescriptionRestFolderClient(String endpoint, String apiKey) RestFolderClient(String endpoint, String apiKey, int timeout) 
- 
Method SummaryModifier and TypeMethodDescriptionlongcreateFolder(long parentId, String folderName) createPath(long rootFolder, String path) voiddelete(long folderId) findByPath(String path) getFolder(long folderId) listChildren(long folderId) void
- 
Constructor Details- 
RestFolderClient
- 
RestFolderClient
 
- 
- 
Method Details- 
listChildrenpublic List<WSFolder> listChildren(long folderId) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException 
- 
listpublic List<WSFolder> list(long folderId, String sort, Integer page, Integer max) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException 
- 
createpublic WSFolder create(WSFolder folder) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException 
- 
createPathpublic WSFolder createPath(long rootFolder, String path) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException 
- 
findByPathpublic WSFolder findByPath(String path) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException 
- 
getRootFolderpublic WSFolder getRootFolder() throws AuthenticationException, WebserviceException, PersistenceException
- 
getFolderpublic WSFolder getFolder(long folderId) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException 
- 
createFolderpublic long createFolder(long parentId, String folderName) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException 
- 
deletepublic void delete(long folderId) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException 
- 
updatepublic void update(WSFolder folder) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException 
 
-