public class FileSystemHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HOST |
static int |
REGISTRY_PORT |
static String |
VIRTUALFILEPREFIX |
static String |
VIRTUALFOLDERPREFIX |
static String |
VIRTUALVERSIONFOLDERPREFIX |
| Constructor and Description |
|---|
FileSystemHandler(ClientPrimaryDataDirectory rootDirectory)
Constructor authenticate user, start RMI client and load root directory.
|
| Modifier and Type | Method and Description |
|---|---|
ClientPrimaryDataEntity |
getEntity(String path)
Returns a
ClientPrimaryDataEntity-Object represented by
path or null if it doesn't exist. |
static ClientPrimaryDataEntityVersion |
getVersion(ClientPrimaryDataEntity entity,
long version)
Get a
PrimaryDataEntityVersion for a specific version represented
by version. |
void |
removecache(String path) |
public static String VIRTUALVERSIONFOLDERPREFIX
public static String VIRTUALFILEPREFIX
public static String VIRTUALFOLDERPREFIX
public static String HOST
public static int REGISTRY_PORT
public FileSystemHandler(ClientPrimaryDataDirectory rootDirectory) throws RemoteException, NotBoundException, de.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataDirectoryException, de.ipk_gatersleben.bit.bi.edal.primary_data.security.EdalAuthenticateException, de.ipk_gatersleben.bit.bi.edal.primary_data.file.EdalException
RemoteExceptionNotBoundExceptionde.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataDirectoryExceptionde.ipk_gatersleben.bit.bi.edal.primary_data.security.EdalAuthenticateExceptionde.ipk_gatersleben.bit.bi.edal.primary_data.file.EdalExceptionpublic void removecache(String path)
public ClientPrimaryDataEntity getEntity(String path) throws RemoteException, de.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataDirectoryException
ClientPrimaryDataEntity-Object represented by
path or null if it doesn't exist.path - the path to the PrimayDataEntityPrimayDataEntity-Object or nullde.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataDirectoryExceptionRemoteExceptionpublic static ClientPrimaryDataEntityVersion getVersion(ClientPrimaryDataEntity entity, long version) throws RemoteException
PrimaryDataEntityVersion for a specific version represented
by version.entity - the ClientPrimaryDataEntity to get the version fromversion - the string representation of the versionRemoteExceptionCopyright © 2013 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.