public interface AssetOnboardingFileSystem
| Modifier and Type | Method and Description |
|---|---|
List<String> |
addDataFileAssetToCatalog(String userId,
String displayName,
String description,
String pathName)
Creates a new file asset and links it to the folder structure implied in the path name.
|
List<String> |
addDataFolderAssetToCatalog(String userId,
String displayName,
String description,
String pathName)
Creates a new folder asset that is identified as a data asset.
|
void |
attachDataFileAssetToFolder(String userId,
String folderGUID,
String fileGUID)
Link an existing file asset to a folder.
|
void |
attachFolderToFileSystem(String userId,
String fileSystemGUID,
String folderGUID)
Links a folder to a file system.
|
String |
createFileSystemInCatalog(String userId,
String uniqueName,
String displayName,
String description,
String type,
String version,
String patchLevel,
String source,
String format,
String encryption,
Map<String,String> additionalProperties)
Files live on a file system.
|
List<String> |
createFolderStructureInCatalog(String userId,
String pathName)
Creates a new folder asset for each element in the pathName.
|
List<String> |
createFolderStructureInCatalog(String userId,
String parentGUID,
String pathName)
Creates a new folder asset for each element in the pathName that is linked from the parent entity.
|
void |
detachDataFileAssetFromFolder(String userId,
String folderGUID,
String fileGUID)
Remove a link between a file asset and a folder.
|
void |
detachFolderFromFileSystem(String userId,
String fileSystemGUID,
String folderGUID)
Removed the link between a folder and a file system.
|
FileSystemElement |
getFileSystemByGUID(String userId,
String fileSystemGUID)
Retrieve a FileSystemProperties asset by its unique identifier (GUID).
|
FileSystemElement |
getFileSystemByUniqueName(String userId,
String uniqueName)
Retrieve a FileSystemProperties asset by its unique name.
|
List<String> |
getFileSystems(String userId,
int startingFrom,
int maxPageSize)
Retrieve a list of defined FileSystems assets.
|
FolderElement |
getFolderByGUID(String userId,
String folderGUID)
Retrieve a FolderProperties asset by its unique identifier (GUID).
|
FolderElement |
getFolderByPathName(String userId,
String pathName)
Retrieve a folder by its fully qualified path name.
|
List<String> |
getFolderFiles(String userId,
String folderGUID,
int startingFrom,
int maxPageSize)
Get the data files inside a folder - both those that are nested and those that are linked.
|
List<String> |
getNestedFolders(String userId,
String parentGUID,
int startingFrom,
int maxPageSize)
Return the list of folders nested inside a folder.
|
void |
moveDataFileInCatalog(String userId,
String folderGUID,
String fileGUID)
Move a file from its current parent folder to a new parent folder - this changes the file's qualified name
but not its unique identifier (guid).
|
void |
moveDataFolderInCatalog(String userId,
String folderGUID,
String dataFolderGUID)
Move a data folder from its current parent folder to a new parent folder - this changes the folder's qualified name
but not its unique identifier (guid).
|
String createFileSystemInCatalog(String userId, String uniqueName, String displayName, String description, String type, String version, String patchLevel, String source, String format, String encryption, Map<String,String> additionalProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling useruniqueName - qualified name for the file systemdisplayName - short display namedescription - description of the file systemtype - type of file systemversion - version of file systempatchLevel - patchLevel of software supporting the file systemsource - supplier of the software for this file systemformat - format of files on this file systemencryption - encryption type - null for unencryptedadditionalProperties - additional propertiesInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemList<String> createFolderStructureInCatalog(String userId, String parentGUID, String pathName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userparentGUID - root object to connect the folder topathName - pathname of the folder (or folders)InvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemList<String> createFolderStructureInCatalog(String userId, String pathName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userpathName - pathname of the folder (or folders)InvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid attachFolderToFileSystem(String userId, String fileSystemGUID, String folderGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userfileSystemGUID - unique identifier of the file system in the catalogfolderGUID - unique identifier of the folder in the catalogInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid detachFolderFromFileSystem(String userId, String fileSystemGUID, String folderGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userfileSystemGUID - unique identifier of the file system in the catalogfolderGUID - unique identifier of the folder in the catalogInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemList<String> addDataFileAssetToCatalog(String userId, String displayName, String description, String pathName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdisplayName - display name for the file in the catalogdescription - description of the file in the catalogpathName - pathname of the data fileInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemList<String> addDataFolderAssetToCatalog(String userId, String displayName, String description, String pathName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdisplayName - display name for the file in the catalogdescription - description of the file in the catalogpathName - pathname of the data folderInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid attachDataFileAssetToFolder(String userId, String folderGUID, String fileGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userfolderGUID - unique identifier of the folderfileGUID - unique identifier of the fileInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid detachDataFileAssetFromFolder(String userId, String folderGUID, String fileGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userfolderGUID - unique identifier of the folderfileGUID - unique identifier of the fileInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid moveDataFileInCatalog(String userId, String folderGUID, String fileGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userfolderGUID - new parent folderfileGUID - unique identifier of the file to moveInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid moveDataFolderInCatalog(String userId, String folderGUID, String dataFolderGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userfolderGUID - new parent folderdataFolderGUID - unique identifier of the file to moveInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemFileSystemElement getFileSystemByGUID(String userId, String fileSystemGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userfileSystemGUID - unique identifier used to locate the file systemInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemFileSystemElement getFileSystemByUniqueName(String userId, String uniqueName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling useruniqueName - unique name ofr the file systemInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemList<String> getFileSystems(String userId, int startingFrom, int maxPageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userstartingFrom - starting point in the listmaxPageSize - maximum number of resultsInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemFolderElement getFolderByGUID(String userId, String folderGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userfolderGUID - unique identifier used to locate the folderInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemFolderElement getFolderByPathName(String userId, String pathName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userpathName - path nameInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemList<String> getNestedFolders(String userId, String parentGUID, int startingFrom, int maxPageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userparentGUID - unique identifier of the parent folder or file systemstartingFrom - starting point in the listmaxPageSize - maximum number of resultsInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemList<String> getFolderFiles(String userId, String folderGUID, int startingFrom, int maxPageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userfolderGUID - unique identifier of the parent folderstartingFrom - starting point in the listmaxPageSize - maximum number of resultsInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.