Package | Description |
---|---|
com.sas.hls.messaging.subscription |
Service for creating and retrieving subscriptions.
|
com.sas.hls.resource.repository |
Provides the classes and interfaces needed to manipulate resources in the repository.
|
Modifier and Type | Method and Description |
---|---|
Subscription |
SubscriptionService.createSubscription(String path,
SubscribableEvent event,
Principal principal,
boolean cascade)
Create a subscription to the specified event on the object represented by the specified path, for the given
principal.
|
Set<Subscription> |
SubscriptionService.createSubscriptions(String path,
SubscribableEvent event,
Set<Principal> principals,
boolean cascade)
Create a subscription to the specified event on the object represented by the specified path, for the given
principals.
|
Set<Subscription> |
SubscriptionService.getSubscriptionsByPathAndEvent(String path,
SubscribableEvent event)
Get the subscriptions for the specified path and specified event.
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryResourceService.checkinFileFromWorkspace(String path,
ResourceCheckinSpecification checkinSpecification)
Check in the contents of this resource from the current user's workspace to the repository.
|
void |
RepositoryResourceService.checkoutFileToWorkspace(String path)
Checkout the specified resource from the repository and into the current user's workspace.
|
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.
|
RepositoryResource |
RepositoryResourceService.copy(String sourcePath,
String destinationPath)
Copy the file or folder from the source path to the destination path.
|
RepositoryFile |
RepositoryResourceService.createFile(String path,
String localFilePath,
String comment,
boolean createParentFolders)
Create an unversioned file in the repository.
|
RepositoryFolder |
RepositoryResourceService.createFolder(String path,
boolean createParentFolder)
Create a container at the given location in the repository.
|
Signature |
SignatureService.createSignature(String path,
CreateSignatureInfo createSignatureInfo)
Create an electronic signature for the current version of a file (only the current version of a file can be
electronically signed).
|
RepositoryFile |
RepositoryResourceService.createVersionedFile(String path,
String localFilePath,
String comment,
String startingVersion,
boolean createParentFolders)
Create a versioned file in the repository.
|
void |
RepositoryResourceService.delete(String path)
Logically delete the specified resource (i.e.
|
RepositoryFile |
RepositoryResourceService.disableVersioningOnFile(String path,
String comment)
Disable versioning support for the specified RepositoryFile.
|
void |
RepositoryResourceService.downloadFile(String path,
String version,
String outputFilePath)
Download the current contents of a specified ServerResource to the specified local file.
|
RepositoryFile |
RepositoryResourceService.enableVersioningOnFile(String path,
String comment,
String startingVersion)
Turn on versioning support for the specified RepositoryFile.
|
List<RepositoryResource> |
RepositoryResourceService.getChildren(String parent)
Return the children of the specified resource.
|
void |
RepositoryResourceService.getCurrentFileVersionToWorkspace(String path)
Deprecated.
As of Java API 1.7. Replaced with
RepositoryResourceService.getLatestFileVersionToWorkspace(String) . |
RepositoryFile |
RepositoryResourceService.getFileVersion(String path,
String version)
Get a client representation of the specified resource.
|
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.
|
RepositoryResource |
RepositoryResourceService.getResource(String path)
Get a client representation of the specified repository resource.
|
Set<Signature> |
SignatureService.getSignatures(String path)
Retrieve all the electronic signatures associated to a file in the repository.
|
Set<Signature> |
SignatureService.getSignaturesByVersion(String path,
String version)
Retrieve the electronic signatures for a specific version of a file in the repository.
|
Set<Signature> |
SignatureService.getSignaturesForLatestVersion(String path)
Retrieve the electronic signatures for the latest version of a file in the repository.
|
Set<SynchronizationInfo> |
RepositoryResourceService.getSynchronizationInfos(String folderPath,
boolean includeSubFolders)
Retrieves the synchronization information for files within a folder.
|
List<String> |
RepositoryResourceService.getVersionLabels(String path)
Get the list of labels for each version of the specified repository file stored in the repository.
|
List<RepositoryFile> |
RepositoryResourceService.getVersions(String path)
Get the list of stored versions of the specified repository file.
|
RepositoryFile |
RepositoryResourceService.lockFile(String path)
Lock the repository file
|
RepositoryResource |
RepositoryResourceService.move(String sourcePath,
String destinationFolderPath)
Move the file or folder located by the source path to the destination folder.
|
List<String> |
RepositoryResourceService.permanentlyDelete(String path)
Permanently delete the specified resource
|
RepositoryResource |
RepositoryResourceService.rename(String path,
String name)
Rename the repository resource.
|
RepositoryFile |
RepositoryResourceService.unlockFile(String path)
Unlock the repository file
|
void |
RepositoryResourceService.updateContentInWorkspaceAndCheckin(String path,
String localFilePath,
ResourceCheckinSpecification ciSpec)
Save the local file contents specified into the current user's workspace, and then check the workspace file into
the repository.
|
RepositoryFile |
RepositoryResourceService.updateFileContents(String path,
ResourceCheckinSpecification ciSpec,
String localFileLocation)
Replace the contents of a RepositoryFile with the provided content and make the new version number be as
specified.
|
RepositoryResource |
RepositoryResourceService.updateResource(RepositoryResource repositoryResource)
Update the attributes on a repository resource.
|
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA