ch.systemsx.cisd.openbis.dss.generic.shared.utils
Class AbstractDatasetDropboxHandler
java.lang.Object
ch.systemsx.cisd.openbis.dss.generic.shared.utils.AbstractDatasetDropboxHandler
- All Implemented Interfaces:
- ch.systemsx.cisd.openbis.dss.generic.shared.IPostRegistrationDatasetHandler, java.io.Serializable
public abstract class AbstractDatasetDropboxHandler
- extends java.lang.Object
- implements java.io.Serializable, ch.systemsx.cisd.openbis.dss.generic.shared.IPostRegistrationDatasetHandler
Class which is able to create a copy of incoming data for additional processing. The copy has a
changed name to trace back the dataset to which the original data belong.
The processor uses following properties: DATASET_CODE_SEPARATOR_PROPERTY
.
- See Also:
- Serialized Form
Field Summary |
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATASET_CODE_SEPARATOR_PROPERTY
public static final 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.
- See Also:
- Constant Field Values
AbstractDatasetDropboxHandler
public AbstractDatasetDropboxHandler(java.util.Properties properties)
AbstractDatasetDropboxHandler
public AbstractDatasetDropboxHandler(java.util.Properties properties,
ch.systemsx.cisd.common.filesystem.IFileOperations fileOperations)
handle
public final Status handle(java.io.File originalData,
DataSetInformation dataSetInformation,
java.util.Map<java.lang.String,java.lang.String> parameterBindings)
- Specified by:
handle
in interface ch.systemsx.cisd.openbis.dss.generic.shared.IPostRegistrationDatasetHandler
copyToDirectoryAs
public void copyToDirectoryAs(java.io.File source,
java.io.File destDir,
java.lang.String newName)
undoLastOperation
public void undoLastOperation()
- Specified by:
undoLastOperation
in interface ch.systemsx.cisd.openbis.dss.generic.shared.IPostRegistrationDatasetHandler