Package omero.cmd
Class ManageImageBinaries
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.cmd.Request
-
- omero.cmd.ManageImageBinaries
-
- All Implemented Interfaces:
Ice.Object
,java.io.Serializable
,java.lang.Cloneable
- Direct Known Subclasses:
ManageImageBinariesI
public class ManageImageBinaries extends Request
Queries and modifies the various binary artifacts which may be linked to anImage
. This can be useful, e.g., after converting pre-OMERO-5 archived original files intoFileset
. The command works in several stages: 1. loads anImage
by id, failing if none present. 2. renames Pixels file to '*_bak' 3. deletes existing Pyramidfiles if present; This command can be run multiple times with different settings to iteratively test if the migration is working.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
__ids
boolean
deletePyramid
boolean
deleteThumbnails
long
imageId
static long
serialVersionUID
boolean
togglePixels
-
Constructor Summary
Constructors Constructor Description ManageImageBinaries()
ManageImageBinaries(long imageId, boolean togglePixels, boolean deletePyramid, boolean deleteThumbnails)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
__readImpl(IceInternal.BasicStream __is)
protected void
__writeImpl(IceInternal.BasicStream __os)
ManageImageBinaries
clone()
static Ice.ObjectFactory
ice_factory()
java.lang.String
ice_id()
java.lang.String
ice_id(Ice.Current __current)
java.lang.String[]
ice_ids()
java.lang.String[]
ice_ids(Ice.Current __current)
boolean
ice_isA(java.lang.String s)
boolean
ice_isA(java.lang.String s, Ice.Current __current)
static java.lang.String
ice_staticId()
-
-
-
Field Detail
-
__ids
public static final java.lang.String[] __ids
-
imageId
public long imageId
-
togglePixels
public boolean togglePixels
-
deletePyramid
public boolean deletePyramid
-
deleteThumbnails
public boolean deleteThumbnails
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
ice_factory
public static Ice.ObjectFactory ice_factory()
-
ice_isA
public boolean ice_isA(java.lang.String s)
-
ice_isA
public boolean ice_isA(java.lang.String s, Ice.Current __current)
-
ice_ids
public java.lang.String[] ice_ids()
-
ice_ids
public java.lang.String[] ice_ids(Ice.Current __current)
-
ice_id
public java.lang.String ice_id()
-
ice_id
public java.lang.String ice_id(Ice.Current __current)
-
ice_staticId
public static java.lang.String ice_staticId()
-
__writeImpl
protected void __writeImpl(IceInternal.BasicStream __os)
- Overrides:
__writeImpl
in classRequest
-
__readImpl
protected void __readImpl(IceInternal.BasicStream __is)
- Overrides:
__readImpl
in classRequest
-
clone
public ManageImageBinaries clone()
-
-