Class RestFolderClient
java.lang.Object
com.logicaldoc.webservice.rest.client.AbstractRestClient
com.logicaldoc.webservice.rest.client.RestFolderClient
-
Constructor Summary
ConstructorDescriptionRestFolderClient
(String endpoint, String username, String password) RestFolderClient
(String endpoint, String username, String password, int timeout) -
Method Summary
Modifier and TypeMethodDescriptionlong
createFolder
(long parentId, String folderName) createPath
(long rootFolder, String path) void
delete
(long folderId) findByPath
(String path) getFolder
(long folderId) WSFolder[]
listChildren
(long folderId) void
-
Constructor Details
-
RestFolderClient
-
RestFolderClient
-
-
Method Details
-
listChildren
public WSFolder[] listChildren(long folderId) 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
-