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 in the system.
|
Modifier and Type | Method and Description |
---|---|
RepositoryFile |
RepositoryService.checkin(String path,
RepositoryCheckinSpecification checkinSpecification)
Checks in the contents of 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 at the specified location 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 at the specified location 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 (moved to the recycle bin).
|
RepositoryFile |
RepositoryService.disableVersioning(String path,
String comment)
Disables versioning support for the repository file.
|
void |
BatchRepositoryService.downloadAsZip(Set<String> paths,
String localFilePath,
boolean overwrite)
Uses the repository paths in the selected set and downloads them to the zip file that is specified in local path.
|
void |
RepositoryService.downloadFile(String path,
String version,
String outputFilePath)
Downloads the current contents of the file to a local file.
|
RepositoryFile |
RepositoryService.enableVersioning(String path,
String startingVersion,
String comment)
Enables versioning support 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 entire list of versions of the 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 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.
|
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 contents of a repository file with the provided content or creates a new version of the file, if the
file is versioned.
|
RepositoryItem |
RepositoryService.updateItem(RepositoryItem item)
Updates the editable attributes on a repository object.
|
Modifier and Type | Method and Description |
---|---|
Set<Signature> |
SignatureService.getSignatures(String path)
Gets all of the signatures associated with a file.
|
Set<Signature> |
SignatureService.getSignaturesByVersion(String path,
String version)
Gets the signatures for a specific version of a file.
|
Set<Signature> |
SignatureService.getSignaturesForLatestVersion(String path)
Gets the signatures for the latest version of a file.
|
RepositoryFile.SigningStatus |
SignatureService.getSigningStatus(String path)
Describes the overall signature status of the file.
|
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA