Package | Description |
---|---|
com.sas.lsaf.content.workspace |
Classes and interfaces to manage content in the current user's workspace.
|
Modifier and Type | Method and Description |
---|---|
WorkspaceItem |
WorkspaceService.copy(String sourcePath,
String destinationPath)
Copies the workspace folder or file from the source path to the destination path.
|
WorkspaceFile |
WorkspaceService.createFile(String path,
String localFilePath,
boolean createParentFolders)
Creates a file in the workspace.
|
WorkspaceFolder |
WorkspaceService.createFolder(String path,
boolean createParentFolders)
Creates a folder in the workspace.
|
void |
WorkspaceService.delete(String path)
Delete the specified folder or file in the workspace.
|
void |
BatchWorkspaceService.downloadAsZip(Set<String> paths,
String localFilePath,
boolean overwrite)
Takes the workspace paths in the selected set and downloads them to the specified zip file .
|
void |
WorkspaceService.downloadFile(String path,
String outputFilePath)
Downloads the contents the workspace file to the specified local file system path.
|
SynchronizationInfo.CheckoutStatus |
WorkspaceService.getCheckoutStatus(String path)
Gets an enumeration value that describes the
checkout status of the file. |
List<WorkspaceItem> |
WorkspaceService.getChildren(String path)
Gets the immediate children of the workspace folder.
|
WorkspaceItem |
WorkspaceService.getItem(String path)
Gets a client representation of the item in the workspace.
|
void |
WorkspaceService.markForAdd(String path)
Marks a file for addition to the repository.
|
WorkspaceItem |
WorkspaceService.move(String sourcePath,
String destinationPath)
Moves the workspace folder or file from one location to another.
|
WorkspaceItem |
WorkspaceService.rename(String path,
String name)
Renames the workspace folder or file.
|
WorkspaceFile |
WorkspaceService.updateFileContents(String path,
String localFilePath)
Replaces the content of the workspace file with the content of the specified local file system file.
|
<i>Copyright (c) 2022, SAS Institute Inc., Cary, NC, USA</i>