Package omero.cmd
Class Chown2
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.cmd.Request
-
- omero.cmd.GraphQuery
-
- omero.cmd.GraphModify2
-
- omero.cmd.Chown2
-
- All Implemented Interfaces:
Ice.Object
,java.io.Serializable
,java.lang.Cloneable
- Direct Known Subclasses:
Chown2I
public class Chown2 extends GraphModify2
Change the ownership of model objects. The user must be an administrator with theChown
AdminPrivilege
, or they must be an owner of the objects' group, with the target user a member of the objects' group.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
__ids
static long
serialVersionUID
java.util.List<java.lang.Long>
targetUsers
The users who should have all their data targeted.long
userId
The ID of the experimenter to which to give the model objects.-
Fields inherited from class omero.cmd.GraphModify2
childOptions, dryRun
-
Fields inherited from class omero.cmd.GraphQuery
targetObjects
-
-
Constructor Summary
Constructors Constructor Description Chown2()
Chown2(java.util.Map<java.lang.String,java.util.List<java.lang.Long>> targetObjects, java.util.List<ChildOption> childOptions, boolean dryRun, long userId, java.util.List<java.lang.Long> targetUsers)
-
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)
Chown2
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
-
userId
public long userId
The ID of the experimenter to which to give the model objects.
-
targetUsers
public java.util.List<java.lang.Long> targetUsers
The users who should have all their data targeted.
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Chown2
public Chown2()
-
Chown2
public Chown2(java.util.Map<java.lang.String,java.util.List<java.lang.Long>> targetObjects, java.util.List<ChildOption> childOptions, boolean dryRun, long userId, java.util.List<java.lang.Long> targetUsers)
-
-
Method Detail
-
ice_factory
public static Ice.ObjectFactory ice_factory()
-
ice_isA
public boolean ice_isA(java.lang.String s)
- Specified by:
ice_isA
in interfaceIce.Object
- Overrides:
ice_isA
in classGraphModify2
-
ice_isA
public boolean ice_isA(java.lang.String s, Ice.Current __current)
- Specified by:
ice_isA
in interfaceIce.Object
- Overrides:
ice_isA
in classGraphModify2
-
ice_ids
public java.lang.String[] ice_ids()
- Specified by:
ice_ids
in interfaceIce.Object
- Overrides:
ice_ids
in classGraphModify2
-
ice_ids
public java.lang.String[] ice_ids(Ice.Current __current)
- Specified by:
ice_ids
in interfaceIce.Object
- Overrides:
ice_ids
in classGraphModify2
-
ice_id
public java.lang.String ice_id()
- Specified by:
ice_id
in interfaceIce.Object
- Overrides:
ice_id
in classGraphModify2
-
ice_id
public java.lang.String ice_id(Ice.Current __current)
- Specified by:
ice_id
in interfaceIce.Object
- Overrides:
ice_id
in classGraphModify2
-
ice_staticId
public static java.lang.String ice_staticId()
-
__writeImpl
protected void __writeImpl(IceInternal.BasicStream __os)
- Overrides:
__writeImpl
in classGraphModify2
-
__readImpl
protected void __readImpl(IceInternal.BasicStream __is)
- Overrides:
__readImpl
in classGraphModify2
-
clone
public Chown2 clone()
- Specified by:
clone
in interfaceIce.Object
- Overrides:
clone
in classGraphModify2
-
-