public class GroupData extends DataObject
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT
Identifies the
default group. |
static String |
DESCRIPTION
Identifies the
ExperimenterGroupI.DESCRIPTION field. |
static String |
GROUP_EXPERIMENTER_MAP
Identifies the
ExperimenterGroupI.GROUPEXPERIMENTERMAP field. |
static String |
GUEST
Identifies the
Guest group. |
static 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 String |
PERMISSIONS_GROUP_READ_LINK_SHORT_TEXT
Indicates that the group is
Group i.e. |
static String |
PERMISSIONS_GROUP_READ_LINK_TEXT
Indicates that the group is
Group i.e. |
static String |
PERMISSIONS_GROUP_READ_SHORT_TEXT
Indicates that the group is
Group i.e. |
static 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 String |
PERMISSIONS_GROUP_READ_WRITE_SHORT_TEXT
Indicates that the group is
Group i.e. |
static 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 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 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 String |
PERMISSIONS_PUBLIC_READ_WRITE_TEXT
Indicates that the group is
Public i.e. |
static String |
SYSTEM
Identifies the
System group. |
static 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 |
---|---|
String |
getDescription()
Returns the description of the group.
|
Set<ExperimenterData> |
getExperimenters()
Returns the experimenters contained in this group.
|
long |
getGroupId()
Overridden to return the id of the object.
|
Set<ExperimenterData> |
getLeaders()
Returns the experimenters contained in this group.
|
Set<ExperimenterData> |
getMembersOnly()
Returns the list of experimenters that are not owners of the group.
|
String |
getName()
Returns the name of the group.
|
void |
setDescription(String description)
Sets the name of the group.
|
void |
setExperimenters(Set<ExperimenterData> newValue)
Sets the experimenters contained in this group.
|
void |
setName(String name)
Sets the name of the group.
|
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, 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 String PERMISSIONS_PRIVATE_TEXT
Private
i.e. RW----.public static final String PERMISSIONS_GROUP_READ_TEXT
Group
i.e. RWR---.public static final String PERMISSIONS_GROUP_READ_LINK_TEXT
Group
i.e. RWRA--.public static final String PERMISSIONS_GROUP_READ_WRITE_TEXT
Group
i.e. RWRW--.public static final String PERMISSIONS_PUBLIC_READ_TEXT
Public
i.e. RWRWR-.public static final String PERMISSIONS_PUBLIC_READ_WRITE_TEXT
Public
i.e. RWRWRW.public static final String PERMISSIONS_GROUP_READ_SHORT_TEXT
Group
i.e. RWR---.public static final String PERMISSIONS_GROUP_READ_LINK_SHORT_TEXT
Group
i.e. RWRA--.public static final String PERMISSIONS_GROUP_READ_WRITE_SHORT_TEXT
Group
i.e. RWRW--.public static final String NAME
ExperimenterGroupI.NAME
field.public static final String DESCRIPTION
ExperimenterGroupI.DESCRIPTION
field.public static final String GROUP_EXPERIMENTER_MAP
ExperimenterGroupI.GROUPEXPERIMENTERMAP
field.public static final String USER
User
group.public static final String SYSTEM
System
group.public static final String GUEST
Guest
group.public static final String DEFAULT
default
group.public GroupData()
public GroupData(omero.model.ExperimenterGroup group)
group
- Back pointer to the ExperimenterGroup
model object.
Mustn't be null
.IllegalArgumentException
- If the object is null
.public String getName()
public void setName(String name)
name
- The name of the group. Mustn't be null
.IllegalArgumentException
- If the name is null
.public String getDescription()
public void setDescription(String description)
description
- The description of the group. Mustn't be null
.IllegalArgumentException
- If the name is null
.public Set<ExperimenterData> getLeaders()
public Set<ExperimenterData> getExperimenters()
public Set<ExperimenterData> getMembersOnly()
public long getGroupId()
getGroupId
in class DataObject
DataObject.getGroupId()
public void setExperimenters(Set<ExperimenterData> newValue)
newValue
- The set of experimenters.
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.