Class RestFolderClient
java.lang.Object
com.logicaldoc.webservice.rest.client.AbstractRestClient
com.logicaldoc.webservice.rest.client.RestFolderClient
- 
Constructor Summary
ConstructorsConstructorDescriptionRestFolderClient(String endpoint, String username, String password) RestFolderClient(String endpoint, String username, String password, int timeout)  - 
Method Summary
Modifier 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
- 
listChildren
public List<WSFolder> listChildren(long folderId) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException  - 
list
public List<WSFolder> list(long folderId, String sort, Integer page, Integer max) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException  - 
create
public WSFolder create(WSFolder folder) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException  - 
createPath
public WSFolder createPath(long rootFolder, String path) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException  - 
findByPath
public WSFolder findByPath(String path) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException  - 
getRootFolder
public WSFolder getRootFolder() throws AuthenticationException, WebserviceException, PersistenceException - 
getFolder
public WSFolder getFolder(long folderId) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException  - 
createFolder
public long createFolder(long parentId, String folderName) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException  - 
delete
public void delete(long folderId) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException  - 
update
public void update(WSFolder folder) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException  
 -