deleteFiles(SetMultimap)
will be removed in OMERO 5.2, so use the
new graphs implementation@Deprecated public class Deletion extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Deletion.Builder
Deprecated.
Inner class which can be used to generate a Deletion.
|
Constructor and Description |
---|
Deletion(org.springframework.context.ApplicationContext specs,
DeleteStepFactory factory,
AbstractFileSystemService afs,
OmeroContext ctx)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
deleteFiles()
Deprecated.
For each Report use the map of tables to deleted ids to remove the files
under Files, Pixels and Thumbnails if the ids no longer exist in the db.
|
void |
deleteFiles(com.google.common.collect.SetMultimap<String,Long> deleteTargets)
Deprecated.
For each Report use the map of tables to deleted ids to remove the files
under Files, Pixels and Thumbnails if the ids no longer exist in the db.
|
boolean |
error()
Deprecated.
|
void |
execute(int step)
Deprecated.
|
void |
finish()
Deprecated.
Should be called within the transaction boundaries but as the last
processing step.
|
long |
getActualDeletes()
Deprecated.
|
String |
getError()
Deprecated.
|
long |
getScheduledDeletes()
Deprecated.
|
long |
getStart()
Deprecated.
|
int |
getSteps()
Deprecated.
|
long |
getStop()
Deprecated.
|
Map<String,long[]> |
getUndeletedFiles()
Deprecated.
|
String |
getWarning()
Deprecated.
|
int |
start(EventContext ec,
SqlAction sql,
org.hibernate.Session session,
String type,
long id,
Map<String,String> options)
Deprecated.
Returns the number of steps that are available.
|
void |
stop()
Deprecated.
|
public Deletion(org.springframework.context.ApplicationContext specs, DeleteStepFactory factory, AbstractFileSystemService afs, OmeroContext ctx)
public int getSteps()
public long getStart()
public long getStop()
public String getError()
public String getWarning()
public long getActualDeletes()
public long getScheduledDeletes()
public int start(EventContext ec, SqlAction sql, org.hibernate.Session session, String type, long id, Map<String,String> options) throws GraphException
GraphException
public void stop()
public boolean error()
public void finish() throws GraphException
GraphException
public void deleteFiles()
public void deleteFiles(com.google.common.collect.SetMultimap<String,Long> deleteTargets)
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.