Package | Description |
---|---|
com.sas.hls.resource.repository |
Provides the classes and interfaces needed to manipulate resources in the repository.
|
com.sas.hls.resource.workspace |
Provides the classes and interfaces to manipulate resources in the current workspace.
|
com.sas.hls.sassession |
Service and class definitions for querying SAS sessions.
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryResourceService.checkoutFileToWorkspaceAndDownload(String path,
String localFilePath)
Checkout the specified resource from the repository to the current user's workspace, and then download the
content of the workspace file to the specified local file path.
|
void |
RepositoryResourceService.getCurrentFileVersionToWorkspace(String path)
Deprecated.
As of Java API 1.7. Replaced with
RepositoryResourceService.getLatestFileVersionToWorkspace(String) . |
void |
RepositoryResourceService.getFileVersionToWorkspace(String path,
String version)
Get the specified version of the repository file and bring it into your workspace.
|
void |
RepositoryResourceService.getLatestFileVersionToWorkspace(String path)
Get the latest version of the specified repository file and bring it into your workspace.
|
Modifier and Type | Method and Description |
---|---|
WorkspaceResource |
WorkspaceResourceService.copy(String sourcePath,
String destinationPath)
Copy the file or folder from the source path to the destination path.
|
WorkspaceFile |
WorkspaceResourceService.createFile(String path,
String localFilePath,
boolean createParentFolders)
Create a new file in the workspace.
|
WorkspaceFolder |
WorkspaceResourceService.createFolder(String path,
boolean createParentFolders)
Create a folder at the given location.
|
void |
WorkspaceResourceService.delete(String path)
Delete the specified resource in the workspace.
|
void |
WorkspaceResourceService.downloadFile(String path,
String outputFilePath)
Download the contents of a specified workspace file to the specified local file.
|
List<WorkspaceResource> |
WorkspaceResourceService.getChildren(String path)
Return the children of the specified workspace folder.
|
WorkspaceResource |
WorkspaceResourceService.getResource(String path)
Get a client representation of the specified resource in the workspace.
|
WorkspaceResource |
WorkspaceResourceService.move(String sourcePath,
String destinationFolderPath)
Move the file or folder from one location to another.
|
WorkspaceResource |
WorkspaceResourceService.rename(String path,
String name)
Rename the workspace resource.
|
WorkspaceFile |
WorkspaceResourceService.updateFileContents(String path,
String localFilePath)
Replace the current content of the workspace file with the content of the specified local file.
|
Modifier and Type | Method and Description |
---|---|
String |
SasSessionService.getListingContents(String identifier)
Get the listing contents for the specified SAS session if the size of the file does not exceed 5 megabytes (5242880 bytes).
|
long |
SasSessionService.getListingSize(String identifier)
Get the size of the listing file for the specified SAS session in bytes.
|
String |
SasSessionService.getLogContents(String identifier)
Get the log contents for the specified SAS session if the size of the file does not exceed 5 megabytes (5242880 bytes).
|
long |
SasSessionService.getLogSize(String identifier)
Get the size of the log file for the specified SAS session in bytes.
|
WorkspaceResource |
SasSessionService.saveListingToCurrentUserWorkspace(String identifier,
String lstPath)
Save the listing file for the specified SAS session to the current user's workspace in the specified location.
|
WorkspaceResource |
SasSessionService.saveLogToCurrentUserWorkspace(String identifier,
String logPath)
Save the log file for the specified SAS session to the current user's workspace in the specified location.
|
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA