Package omero.cmd

Class 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 the Chown 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 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.
    • 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)