public abstract class AbstractDatasetDropboxHandler
extends java.lang.Object
implements java.io.Serializable, ch.systemsx.cisd.openbis.dss.generic.shared.IPostRegistrationDatasetHandler
The processor uses following properties: DATASET_CODE_SEPARATOR_PROPERTY
.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATASET_CODE_SEPARATOR_PROPERTY
Property name which is used to specify the text which will be used to separate the sample
code and dataset code in the name of the file which will be created in the dropbox.
|
Constructor and Description |
---|
AbstractDatasetDropboxHandler(java.util.Properties properties) |
AbstractDatasetDropboxHandler(java.util.Properties properties,
ch.systemsx.cisd.common.filesystem.IFileOperations fileOperations) |
Modifier and Type | Method and Description |
---|---|
void |
copyToDirectoryAs(java.io.File source,
java.io.File destDir,
java.lang.String newName) |
Status |
handle(java.io.File originalData,
DataSetInformation dataSetInformation,
java.util.Map<java.lang.String,java.lang.String> parameterBindings)
Handles specified original data file by using specified data set information and parameter
bindings.
|
void |
undoLastOperation()
Reverts the previous invocation of
IPostRegistrationDatasetHandler.handle(File, DataSetInformation, Map) . |
public static final java.lang.String DATASET_CODE_SEPARATOR_PROPERTY
public AbstractDatasetDropboxHandler(java.util.Properties properties)
public AbstractDatasetDropboxHandler(java.util.Properties properties, ch.systemsx.cisd.common.filesystem.IFileOperations fileOperations)
public final Status handle(java.io.File originalData, DataSetInformation dataSetInformation, java.util.Map<java.lang.String,java.lang.String> parameterBindings)
ch.systemsx.cisd.openbis.dss.generic.shared.IPostRegistrationDatasetHandler
originalData
is already the path inside the data store.handle
in interface ch.systemsx.cisd.openbis.dss.generic.shared.IPostRegistrationDatasetHandler
Status
of the operation.public void copyToDirectoryAs(java.io.File source, java.io.File destDir, java.lang.String newName)
public void undoLastOperation()
ch.systemsx.cisd.openbis.dss.generic.shared.IPostRegistrationDatasetHandler
IPostRegistrationDatasetHandler.handle(File, DataSetInformation, Map)
.undoLastOperation
in interface ch.systemsx.cisd.openbis.dss.generic.shared.IPostRegistrationDatasetHandler