public class FilesAndFoldersHandler<FILESYSTEM,FOLDER,FILE> extends Object
| Constructor and Description |
|---|
FilesAndFoldersHandler(OpenMetadataAPIGenericConverter<FILESYSTEM> fileSystemConverter,
Class<FILESYSTEM> fileSystemBeanClass,
OpenMetadataAPIGenericConverter<FOLDER> folderConverter,
Class<FOLDER> folderBeanClass,
OpenMetadataAPIGenericConverter<FILE> fileConverter,
Class<FILE> fileBeanClass,
String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
RepositoryHandler repositoryHandler,
OMRSRepositoryHelper repositoryHelper,
String localServerUserId,
OpenMetadataServerSecurityVerifier securityVerifier,
List<String> supportedZones,
List<String> defaultZones,
List<String> publishZones,
AuditLog auditLog)
Construct the handler information needed to interact with the repository services
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
addAvroFileToCatalog(String userId,
String externalSourceGUID,
String externalSourceName,
String fileSystemGUID,
String fileSystemName,
String displayName,
String description,
String fullPath,
String methodName)
Add a simple asset description linked to a connection object for an Avro file.
|
List<String> |
addCSVFileToCatalog(String userId,
String externalSourceGUID,
String externalSourceName,
String fileSystemGUID,
String fileSystemName,
String displayName,
String description,
String fullPath,
List<String> columnHeaders,
Character delimiterCharacter,
Character quoteCharacter,
String methodName)
Add a simple asset description linked to a connection object for a CSV file.
|
List<String> |
addDataFileAssetToCatalog(String userId,
String externalSourceGUID,
String externalSourceName,
String fileSystemGUID,
String fileSystemName,
String displayName,
String description,
String pathName,
String methodName)
Creates a new file asset and links it to the folder structure implied in the path name.
|
List<String> |
addDataFolderAssetToCatalog(String userId,
String externalSourceGUID,
String externalSourceName,
String fileSystemGUID,
String fileSystemName,
String displayName,
String description,
String pathName,
String methodName)
Creates a new folder asset that is identified as a data asset.
|
List<String> |
addFileToCatalog(String userId,
String externalSourceGUID,
String externalSourceName,
String fileSystemGUID,
String fileSystemName,
String fullPath,
String displayName,
String description,
Map<String,String> additionalProperties,
String connectorClassName,
String typeName,
Map<String,Object> extendedProperties,
String methodName)
Add a simple asset description linked to a connection object for a file.
|
void |
attachDataFileAssetToFolder(String userId,
String externalSourceGUID,
String externalSourceName,
String folderGUID,
String folderGUIDParameterName,
String fileGUID,
String fileGUIDParameterName,
String methodName)
Link an existing file asset to a folder.
|
void |
attachFolderToFileSystem(String userId,
String externalSourceGUID,
String externalSourceName,
String fileSystemGUID,
String fileSystemGUIDParameterName,
String folderGUID,
String folderGUIDParameterName,
String methodName)
Links a folder to a file system.
|
String |
createFileSystem(String userId,
String externalSourceGUID,
String externalSourceName,
String uniqueName,
String displayName,
String description,
String type,
String version,
String patchLevel,
String source,
String format,
String encryption,
Map<String,String> additionalProperties,
Map<String,String> vendorProperties,
String methodName)
Files live on a file system.
|
List<String> |
createFolderStructureInCatalog(String userId,
String externalSourceGUID,
String externalSourceName,
String connectToGUID,
String pathName,
String methodName)
Creates a new folder asset for each element in the pathName that is linked from the anchor entity.
|
List<String> |
createFolderStructureInCatalog(String userId,
String externalSourceGUID,
String externalSourceName,
String fileSystemGUID,
String fileSystemName,
String pathName,
String methodName)
Creates a new folder asset for each element in the pathName.
|
void |
detachDataFileAssetFromFolder(String userId,
String externalSourceGUID,
String externalSourceName,
String folderGUID,
String folderGUIDParameterName,
String fileGUID,
String fileGUIDParameterName,
String methodName)
Remove a link between a file asset and a folder.
|
void |
detachFolderFromFileSystem(String userId,
String externalSourceGUID,
String externalSourceName,
String fileSystemGUID,
String fileSystemGUIDParameterName,
String folderGUID,
String folderGUIDParameterName,
String methodName)
Removed the link between a folder and a file system.
|
List<FILE> |
findDataFileByPathName(String userId,
String pathName,
String pathNameParameterName,
int startingFrom,
int pageSize,
String methodName)
Retrieve a data file by its fully qualified path name.
|
List<FILE> |
findDataFilesByName(String userId,
String name,
String nameParameterName,
int startingFrom,
int pageSize,
String methodName)
Retrieve data files by the supplied wildcard name.
|
List<FOLDER> |
findFolderByName(String userId,
String name,
String methodName)
Retrieve folder by the supplied wildcard name.
|
List<FOLDER> |
findFolderByPathName(String userId,
String pathName,
String methodName)
Retrieve a folder by its fully qualified path name.
|
FILE |
getDataFileByGUID(String userId,
String dataFileGUID,
String dataFileGUIDParameterName,
String methodName)
Retrieve a Folder asset by its unique identifier (GUID).
|
FILE |
getDataFileByPathName(String userId,
String pathName,
String pathNameParameterName,
String methodName)
Retrieve a data file by its fully qualified path name.
|
FILESYSTEM |
getFileSystemByGUID(String userId,
String softwareServerCapabilityGUID,
String guidParameterName,
String methodName)
Retrieve a filesystem by its unique identifier (GUID).
|
FILESYSTEM |
getFileSystemByUniqueName(String userId,
String uniqueName,
String parameterName,
String methodName)
Retrieve a filesystem by its unique name.
|
List<String> |
getFileSystems(String userId,
int startingFrom,
int pageSize,
String methodName)
Retrieve a list of unique identifiers for defined filesystems.
|
FOLDER |
getFolderByGUID(String userId,
String folderGUID,
String methodName)
Retrieve a Folder asset by its unique identifier (GUID).
|
FOLDER |
getFolderByPathName(String userId,
String pathName,
String methodName)
Retrieve a folder by its fully qualified path name.
|
List<String> |
getFolderFiles(String userId,
String folderGUID,
String folderGUIDParameterName,
int startingFrom,
int pageSize,
String methodName)
Get the files inside a folder - both those that are nested and those that are linked.
|
String |
getFolderGUIDByPathName(String userId,
String pathName,
String methodName)
Retrieve return the unique identifier of a folder located by its fully qualified path name.
|
List<String> |
getNestedFolders(String userId,
String parentFolderGUID,
String parentFolderParameterName,
int startingFrom,
int pageSize,
String methodName)
Return the list of folders nested inside a folder.
|
void |
moveDataFileInCatalog(String userId,
String externalSourceGUID,
String externalSourceName,
String newParentFolder,
String newParentFolderGUIDParameterName,
String fileGUID,
String fileGUIDParameterName,
String methodName)
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 externalSourceGUID,
String externalSourceName,
String newParentFolderGUID,
String newParentFolderGUIDParameterName,
String movingFolderGUID,
String movingFolderGUIDParameterName,
String methodName)
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).
|
public FilesAndFoldersHandler(OpenMetadataAPIGenericConverter<FILESYSTEM> fileSystemConverter, Class<FILESYSTEM> fileSystemBeanClass, OpenMetadataAPIGenericConverter<FOLDER> folderConverter, Class<FOLDER> folderBeanClass, OpenMetadataAPIGenericConverter<FILE> fileConverter, Class<FILE> fileBeanClass, String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper, String localServerUserId, OpenMetadataServerSecurityVerifier securityVerifier, List<String> supportedZones, List<String> defaultZones, List<String> publishZones, AuditLog auditLog)
fileSystemConverter - specific converter for the FILESYSTEM bean classfileSystemBeanClass - name of bean class that is represented by the generic class FILESYSTEMfolderConverter - specific converter for the FOLDER bean classfolderBeanClass - name of bean class that is represented by the generic class FOLDERfileConverter - specific converter for the FILE bean classfileBeanClass - name of bean class that is represented by the generic class FILEserviceName - name of this serviceserverName - name of the local serverinvalidParameterHandler - handler for managing parameter errorsrepositoryHandler - manages calls to the repository servicesrepositoryHelper - provides utilities for manipulating the repository services objectslocalServerUserId - userId for this serversecurityVerifier - open metadata security services verifiersupportedZones - list of zones that the access service is allowed to serve Asset instances from.defaultZones - list of zones that the access service should set in all new Asset instances.publishZones - list of zones that the access service sets up in published Asset instances.auditLog - destination for audit log events.public String createFileSystem(String userId, String externalSourceGUID, String externalSourceName, String uniqueName, String displayName, String description, String type, String version, String patchLevel, String source, String format, String encryption, Map<String,String> additionalProperties, Map<String,String> vendorProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourceuniqueName - 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 propertiesvendorProperties - properties about the vendor and/or their productmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<String> createFolderStructureInCatalog(String userId, String externalSourceGUID, String externalSourceName, String connectToGUID, String pathName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourceconnectToGUID - root object to connect the folder topathName - pathname of the folder (or folders)methodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<String> createFolderStructureInCatalog(String userId, String externalSourceGUID, String externalSourceName, String fileSystemGUID, String fileSystemName, String pathName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcefileSystemGUID - unique identifier of the software server capability that represents the root of the path name - null to use pathnamefileSystemName - unique name of the software server capability that represents the root of the path name - null to use pathnamepathName - pathname of the folder (or folders)methodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void attachFolderToFileSystem(String userId, String externalSourceGUID, String externalSourceName, String fileSystemGUID, String fileSystemGUIDParameterName, String folderGUID, String folderGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcefileSystemGUID - unique identifier of the file system in the catalogfileSystemGUIDParameterName - parameter name for the fileSystemGUIDfolderGUID - unique identifier of the folder in the catalogfolderGUIDParameterName - parameter name for the folderGUIDmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void detachFolderFromFileSystem(String userId, String externalSourceGUID, String externalSourceName, String fileSystemGUID, String fileSystemGUIDParameterName, String folderGUID, String folderGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcefileSystemGUID - unique identifier of the file system in the catalogfileSystemGUIDParameterName - parameter name for the fileSystemGUIDfolderGUID - unique identifier of the folder in the catalogfolderGUIDParameterName - parameter name for the folderGUIDmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void attachDataFileAssetToFolder(String userId, String externalSourceGUID, String externalSourceName, String folderGUID, String folderGUIDParameterName, String fileGUID, String fileGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcefolderGUID - unique identifier of the folderfolderGUIDParameterName - parameter providing folderGUIDfileGUID - unique identifier of the filefileGUIDParameterName - parameter providing fileGUIDmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void detachDataFileAssetFromFolder(String userId, String externalSourceGUID, String externalSourceName, String folderGUID, String folderGUIDParameterName, String fileGUID, String fileGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcefolderGUID - unique identifier of the folderfolderGUIDParameterName - parameter providing folderGUIDfileGUID - unique identifier of the filefileGUIDParameterName - parameter providing fileGUIDmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void moveDataFileInCatalog(String userId, String externalSourceGUID, String externalSourceName, String newParentFolder, String newParentFolderGUIDParameterName, String fileGUID, String fileGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcenewParentFolder - unique identifier of the new parent foldernewParentFolderGUIDParameterName - parameter providing newParentFolderfileGUID - unique identifier of the filefileGUIDParameterName - parameter providing fileGUIDmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void moveDataFolderInCatalog(String userId, String externalSourceGUID, String externalSourceName, String newParentFolderGUID, String newParentFolderGUIDParameterName, String movingFolderGUID, String movingFolderGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcenewParentFolderGUID - new parent foldernewParentFolderGUIDParameterName - name of parameter supplying newParentFolderGUIDmovingFolderGUID - unique identifier of the data folder to movemovingFolderGUIDParameterName - name of parameter supplying movingFolderGUIDmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<String> addDataFileAssetToCatalog(String userId, String externalSourceGUID, String externalSourceName, String fileSystemGUID, String fileSystemName, String displayName, String description, String pathName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcefileSystemGUID - guid of the software server capability entity that represented the file system or file managerfileSystemName - name of the software server capability entity that represented the file system or file managerdisplayName - display name for the folder in the catalogdescription - description of the folder in the catalogpathName - pathname of the filemethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<String> addDataFolderAssetToCatalog(String userId, String externalSourceGUID, String externalSourceName, String fileSystemGUID, String fileSystemName, String displayName, String description, String pathName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcefileSystemGUID - guid of the software server capability entity that represented the file system or file managerfileSystemName - name of the software server capability entity that represented the file system or file managerdisplayName - display name for the folder in the catalogdescription - description of the folder in the catalogpathName - pathname of the filemethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<String> addFileToCatalog(String userId, String externalSourceGUID, String externalSourceName, String fileSystemGUID, String fileSystemName, String fullPath, String displayName, String description, Map<String,String> additionalProperties, String connectorClassName, String typeName, Map<String,Object> extendedProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling user (assumed to be the owner)externalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcefileSystemGUID - guid of the software server capability entity that represented the file system or file managerfileSystemName - name of the software server capability entity that represented the file system or file managerfullPath - unique path and file name for filedisplayName - short display name for file (defaults to the file name without the path)description - description of the fileadditionalProperties - additional properties from the userconnectorClassName - qualified class name for the connector provider for this type of filetypeName - name of the type (default is File)extendedProperties - any additional properties for the file typemethodName - calling methodInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<String> addAvroFileToCatalog(String userId, String externalSourceGUID, String externalSourceName, String fileSystemGUID, String fileSystemName, String displayName, String description, String fullPath, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling user (assumed to be the owner)externalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcefileSystemGUID - guid of the software server capability entity that represented the file system or file managerfileSystemName - name of the software server capability entity that represented the file system or file managerdisplayName - display name for the file in the catalogdescription - description of the file in the catalogfullPath - full path of the file - used to access the file through the connectormethodName - calling methodInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<String> addCSVFileToCatalog(String userId, String externalSourceGUID, String externalSourceName, String fileSystemGUID, String fileSystemName, String displayName, String description, String fullPath, List<String> columnHeaders, Character delimiterCharacter, Character quoteCharacter, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling user (assumed to be the owner)externalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcefileSystemGUID - guid of the software server capability entity that represented the file system or file managerfileSystemName - name of the software server capability entity that represented the file system or file managerdisplayName - display name for the file in the catalogdescription - description of the file in the catalogfullPath - full path of the file - used to access the file through the connectorcolumnHeaders - does the first line of the file contain the column names. If not pass the list of column headers.delimiterCharacter - what is the delimiter character - null for default of commaquoteCharacter - what is the character to group a field that contains delimiter charactersmethodName - calling methodInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic FILESYSTEM getFileSystemByGUID(String userId, String softwareServerCapabilityGUID, String guidParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usersoftwareServerCapabilityGUID - unique identifier used to locate the elementguidParameterName - name of parameter providing the GUIDmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic FILESYSTEM getFileSystemByUniqueName(String userId, String uniqueName, String parameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling useruniqueName - unique name for the file systemparameterName - name of parameter providing the parameter namemethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<String> getFileSystems(String userId, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userstartingFrom - starting point in the listpageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic FOLDER getFolderByGUID(String userId, String folderGUID, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userfolderGUID - unique identifier used to locate the foldermethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic String getFolderGUIDByPathName(String userId, String pathName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userpathName - path namemethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic FOLDER getFolderByPathName(String userId, String pathName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userpathName - path namemethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<FOLDER> findFolderByPathName(String userId, String pathName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userpathName - path namemethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<FOLDER> findFolderByName(String userId, String name, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling username - wildcard namemethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<String> getNestedFolders(String userId, String parentFolderGUID, String parentFolderParameterName, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userparentFolderGUID - unique identifier of the anchor folder or file systemparentFolderParameterName - name of parameter providing parentFolderGUIDstartingFrom - starting point in the listpageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<String> getFolderFiles(String userId, String folderGUID, String folderGUIDParameterName, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userfolderGUID - unique identifier of the anchor folderfolderGUIDParameterName - name of parameter providing folderGUIDstartingFrom - starting point in the listpageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic FILE getDataFileByGUID(String userId, String dataFileGUID, String dataFileGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdataFileGUID - unique identifier used to locate the folderdataFileGUIDParameterName - name of parameter providing dataFileGUIDmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic FILE getDataFileByPathName(String userId, String pathName, String pathNameParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userpathName - full path name of data file used in its qualified namepathNameParameterName - name of parameter providing the pathNamemethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<FILE> findDataFileByPathName(String userId, String pathName, String pathNameParameterName, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userpathName - path namepathNameParameterName - name of parameter providing the pathNamestartingFrom - place to start returning results frompageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<FILE> findDataFilesByName(String userId, String name, String nameParameterName, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling username - wildcard namenameParameterName - name of parameter providing thestartingFrom - place to start returning results frompageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCopyright © 2018–2020 ODPi. All rights reserved.