public class GroupData extends DataObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT
Identifies the
default group. |
static java.lang.String |
DESCRIPTION
Identifies the
ExperimenterGroupI.DESCRIPTION field. |
static java.lang.String |
GROUP_EXPERIMENTER_MAP
Identifies the
ExperimenterGroupI.GROUPEXPERIMENTERMAP field. |
static java.lang.String |
GUEST
Identifies the
Guest group. |
static java.lang.String |
NAME
Identifies the
ExperimenterGroupI.NAME field. |
static int |
PERMISSIONS_GROUP_READ
Indicates that the group is
Group i.e. |
static int |
PERMISSIONS_GROUP_READ_LINK
Indicates that the group is
Group i.e. |
static java.lang.String |
PERMISSIONS_GROUP_READ_LINK_SHORT_TEXT
Indicates that the group is
Group i.e. |
static java.lang.String |
PERMISSIONS_GROUP_READ_LINK_TEXT
Indicates that the group is
Group i.e. |
static java.lang.String |
PERMISSIONS_GROUP_READ_SHORT_TEXT
Indicates that the group is
Group i.e. |
static java.lang.String |
PERMISSIONS_GROUP_READ_TEXT
Indicates that the group is
Group i.e. |
static int |
PERMISSIONS_GROUP_READ_WRITE
Indicates that the group is
Group i.e. |
static java.lang.String |
PERMISSIONS_GROUP_READ_WRITE_SHORT_TEXT
Indicates that the group is
Group i.e. |
static java.lang.String |
PERMISSIONS_GROUP_READ_WRITE_TEXT
Indicates that the group is
Group i.e. |
static int |
PERMISSIONS_PRIVATE
Indicates that the group is
Private i.e. |
static java.lang.String |
PERMISSIONS_PRIVATE_TEXT
Indicates that the group is
Private i.e. |
static int |
PERMISSIONS_PUBLIC_READ
Indicates that the group is
Public i.e. |
static java.lang.String |
PERMISSIONS_PUBLIC_READ_TEXT
Indicates that the group is
Public i.e. |
static int |
PERMISSIONS_PUBLIC_READ_WRITE
Indicates that the group is
Public i.e. |
static java.lang.String |
PERMISSIONS_PUBLIC_READ_WRITE_TEXT
Indicates that the group is
Public i.e. |
static java.lang.String |
SYSTEM
Identifies the
System group. |
static java.lang.String |
USER
Identifies the
User group. |
Constructor and Description |
---|
GroupData()
Creates a new instance.
|
GroupData(omero.model.ExperimenterGroup group)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the description of the group.
|
java.util.Set<ExperimenterData> |
getExperimenters()
Returns the experimenters contained in this group.
|
long |
getGroupId()
Overridden to return the id of the object.
|
java.util.Set<ExperimenterData> |
getLeaders()
Returns the experimenters contained in this group.
|
java.util.Set<ExperimenterData> |
getMembersOnly()
Returns the list of experimenters that are not owners of the group.
|
java.lang.String |
getName()
Returns the name of the group.
|
void |
setDescription(java.lang.String description)
Sets the name of the group.
|
void |
setExperimenters(java.util.Set<ExperimenterData> newValue)
Sets the experimenters contained in this group.
|
void |
setName(java.lang.String name)
Sets the name of the group.
|
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlaneInfo, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getDetails, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString
public static final int PERMISSIONS_PRIVATE
Private
i.e. RW----.public static final int PERMISSIONS_GROUP_READ
Group
i.e. RWR---.public static final int PERMISSIONS_GROUP_READ_LINK
Group
i.e. RWRA--.public static final int PERMISSIONS_GROUP_READ_WRITE
Group
i.e. RWRW--.public static final int PERMISSIONS_PUBLIC_READ
Public
i.e. RWRWR-.public static final int PERMISSIONS_PUBLIC_READ_WRITE
Public
i.e. RWRWRW.public static final java.lang.String PERMISSIONS_PRIVATE_TEXT
Private
i.e. RW----.public static final java.lang.String PERMISSIONS_GROUP_READ_TEXT
Group
i.e. RWR---.public static final java.lang.String PERMISSIONS_GROUP_READ_LINK_TEXT
Group
i.e. RWRA--.public static final java.lang.String PERMISSIONS_GROUP_READ_WRITE_TEXT
Group
i.e. RWRW--.public static final java.lang.String PERMISSIONS_PUBLIC_READ_TEXT
Public
i.e. RWRWR-.public static final java.lang.String PERMISSIONS_PUBLIC_READ_WRITE_TEXT
Public
i.e. RWRWRW.public static final java.lang.String PERMISSIONS_GROUP_READ_SHORT_TEXT
Group
i.e. RWR---.public static final java.lang.String PERMISSIONS_GROUP_READ_LINK_SHORT_TEXT
Group
i.e. RWRA--.public static final java.lang.String PERMISSIONS_GROUP_READ_WRITE_SHORT_TEXT
Group
i.e. RWRW--.public static final java.lang.String NAME
ExperimenterGroupI.NAME
field.public static final java.lang.String DESCRIPTION
ExperimenterGroupI.DESCRIPTION
field.public static final java.lang.String GROUP_EXPERIMENTER_MAP
ExperimenterGroupI.GROUPEXPERIMENTERMAP
field.public static final java.lang.String USER
User
group.public static final java.lang.String SYSTEM
System
group.public static final java.lang.String GUEST
Guest
group.public static final java.lang.String DEFAULT
default
group.public GroupData()
public GroupData(omero.model.ExperimenterGroup group)
group
- Back pointer to the ExperimenterGroup
model object.
Mustn't be null
.java.lang.IllegalArgumentException
- If the object is null
.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the group. Mustn't be null
.java.lang.IllegalArgumentException
- If the name is null
.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description of the group. Mustn't be null
.java.lang.IllegalArgumentException
- If the name is null
.public java.util.Set<ExperimenterData> getLeaders()
public java.util.Set<ExperimenterData> getExperimenters()
public java.util.Set<ExperimenterData> getMembersOnly()
public long getGroupId()
getGroupId
in class DataObject
DataObject.getGroupId()
public void setExperimenters(java.util.Set<ExperimenterData> newValue)
newValue
- The set of experimenters.