Package | Description |
---|---|
com.sas.lsaf.content.repository |
Classes and interfaces to manage content in the repository.
|
com.sas.lsaf.content.repository.signature |
Service and class definitions for signing files and getting signatures.
|
Modifier and Type | Method and Description |
---|---|
RepositoryFile |
RepositoryService.checkin(String path,
RepositoryCheckinSpecification checkinSpecification)
Checks in the file from the current user's workspace to the repository.
|
RepositoryFile |
RepositoryService.checkout(String path)
Checks out the file from the repository.
|
RepositoryItem |
RepositoryService.copy(String sourcePath,
String destinationPath)
Copies the repository object from the source path to the destination path.
|
void |
RepositoryService.copyLatestFileVersionToWorkspace(String path)
Copies the latest version of the repository file to your workspace.
|
void |
RepositoryService.copySpecificFileVersionToWorkspace(String path,
String version)
Copies the version of the repository file to your workspace.
|
RepositoryContext |
RepositoryService.createContext(String path,
String typeId)
Creates a context in the repository.
|
RepositoryFile |
RepositoryService.createFile(String path,
String localFilePath,
String comment,
boolean createParentFolders)
Creates an unversioned file in the repository.
|
RepositoryFolder |
RepositoryService.createFolder(String path,
boolean createParentFolders)
Creates a folder in the repository.
|
RepositoryFile |
RepositoryService.createVersionedFile(String path,
String localFilePath,
String comment,
String startingVersion,
boolean createParentFolders)
Creates a versioned file in the repository.
|
List<String> |
RepositoryService.delete(String path)
Logically deletes the object (moves it to the recycle bin).
|
List<VersionDeleteInfo> |
RepositoryService.deleteVersions(String path,
Set<String> versions)
Permanently deletes the versions of the file at the specified path.
|
RepositoryFile |
RepositoryService.disableVersioning(String path,
String comment)
Disables versioning support for the repository file.
|
void |
BatchRepositoryService.downloadAsZip(Set<String> paths,
String localFilePath,
boolean overwrite)
Downloads the files from a specified set of paths to a the zip file.
|
void |
RepositoryService.downloadFile(String path,
String version,
String outputFilePath)
Downloads the file to a local file.
|
RepositoryFile |
RepositoryService.enableVersioning(String path,
String startingVersion,
String comment)
Enables versioning for the repository file.
|
List<RepositoryItem> |
RepositoryService.getChildren(String path)
Gets the children of the container path.
|
List<RepositoryItem> |
RepositoryService.getChildrenByType(String path,
String typeId)
Gets the children of the container path.
|
RepositoryContext |
RepositoryService.getContext(String path)
Gets the repository context at the path.
|
RepositoryContext |
RepositoryService.getContextById(String id)
Gets the repository context by its unique identifier.
|
RepositoryFile |
RepositoryService.getFile(String path)
Gets the repository file at the path.
|
RepositoryFile |
RepositoryService.getFileVersion(String path,
String version)
Gets the specific version of a versioned file.
|
List<RepositoryFileVersionInfo> |
RepositoryService.getFileVersionInfos(String path)
Gets the list of the version information that represents each version of the repository file.
|
List<RepositoryFile> |
RepositoryService.getFileVersions(String path)
Gets the list of versions of the repository file.
|
RepositoryFolder |
RepositoryService.getFolder(String path)
Gets the repository folder at the path.
|
RepositoryItem |
RepositoryService.getItem(String path)
Gets the repository object at the path.
|
RepositoryContext |
RepositoryService.getParentMembershipContext(String path)
Gets the nearest parent context with the membership capability for the repository path.
|
RepositoryContext |
RepositoryService.getTopLevelContextByName(String name)
Gets a top-level context by name.
|
RepositoryFile |
RepositoryService.lockFile(String path)
Locks the specified repository file, prevents users from modifying the file in any way.
|
RepositoryItem |
RepositoryService.move(String sourcePath,
String destinationPath)
Moves the repository object from the source path to the destination path.
|
List<String> |
RepositoryService.permanentlyDelete(String path)
Permanently deletes the specified object.
|
RepositoryItem |
RepositoryService.rename(String path,
String name)
Renames the repository object.
|
List<RepositoryStateChangeResult> |
RepositoryService.setState(String path,
RepositoryItem.State state,
String comment,
boolean recurse)
Sets the state of a repository context.
|
RepositoryFile |
RepositoryService.undoCheckout(String path)
Undoes the checkout of the file.
|
RepositoryFile |
RepositoryService.unlockFile(String path)
Unlocks the repository file.
|
RepositoryFile |
RepositoryService.updateFileContents(String path,
RepositoryCheckinSpecification checkinSpecification,
String localFileLocation)
Updates the repository file with the specified file or creates a new version of the file, if the file is
versioned.
|
RepositoryItem |
RepositoryService.updateItem(RepositoryItem item)
Updates the editable attributes of a repository object.
|
Modifier and Type | Method and Description |
---|---|
Set<Signature> |
SignatureService.getSignatures(String path)
Gets all of the signatures that are associated with a file.
|
Set<Signature> |
SignatureService.getSignaturesByVersion(String path,
String version)
Gets all of the the signatures for a specific version of a file.
|
Set<Signature> |
SignatureService.getSignaturesForLatestVersion(String path)
Gets all of the signatures for the latest version of a file.
|
RepositoryFile.SigningStatus |
SignatureService.getSigningStatus(String path)
Describes the overall signature status of the file.
|
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>