public interface HomeLibraryManager
| Modifier and Type | Method and Description |
|---|---|
void |
copyScopeHomes(String sourceScope,
String destinationScope,
ContentCopyMode mode)
Copy the specified scope homes to destination scope.
|
boolean |
copyWorkspaceContent(String sourceScope,
String sourceUser,
String destinationScope,
String destinationUser,
ContentCopyMode mode)
Copy the a user workspace content to another user workspace.
|
void |
removeScope(String scope)
Remove the specified scope with all contained homes.
|
void copyScopeHomes(String sourceScope, String destinationScope, ContentCopyMode mode) throws InternalErrorException, ScopeNotFoundException, HomeNotFoundException, WorkspaceFolderNotFoundException
sourceScope - the source scope.destinationScope - the destination scope.mode - the copy mode.InternalErrorException - if an error occurs.ScopeNotFoundException - if a specified scope don't exists.WorkspaceFolderNotFoundException - if a specified user workspace is not found.HomeNotFoundException - if a specified user home is not found.void removeScope(String scope) throws InternalErrorException
scope - the scope to remove.InternalErrorException - if an error occurs removing the specified scope.boolean copyWorkspaceContent(String sourceScope, String sourceUser, String destinationScope, String destinationUser, ContentCopyMode mode) throws InternalErrorException, ScopeNotFoundException, UserNotFoundException, HomeNotFoundException, WorkspaceFolderNotFoundException
sourceScope - the source scope.sourceUser - the source user.destinationScope - the destination scope.destinationUser - the destination user.mode - the copy mode.true if the copy have terminated successfully.InternalErrorException - if an error occurs.ScopeNotFoundException - if a specified scope don't exists.UserNotFoundException - if a specified user don't exists.HomeNotFoundException - if a specified user home is not found.WorkspaceFolderNotFoundException - if a specified user workspace is not found.Copyright © 2020. All Rights Reserved.