Package fr.igred.omero.meta
Interface Group
-
- All Superinterfaces:
RemoteObject
- All Known Implementing Classes:
GroupWrapper
public interface Group extends RemoteObject
Interface to handle Groups on OMERO.
-
-
Field Summary
Fields Modifier and Type Field Description static intPERMISSIONS_GROUP_READIndicates that the group isGroupi.e.static intPERMISSIONS_GROUP_READ_LINKIndicates that the group isGroupi.e.static intPERMISSIONS_GROUP_READ_WRITEIndicates that the group isGroupi.e.static intPERMISSIONS_PRIVATEIndicates that the group isPrivatei.e.static intPERMISSIONS_PUBLIC_READIndicates that the group isPublici.e.static intPERMISSIONS_PUBLIC_READ_WRITEIndicates that the group isPublici.e.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GroupDataasDataObject()Returns aGroupDatacorresponding to the handled object.java.lang.StringgetDescription()Returns the description of the group.java.util.List<Experimenter>getExperimenters()Returns the experimenters contained in this group.java.util.List<Experimenter>getLeaders()Returns the leaders of this group.java.util.List<Experimenter>getMembersOnly()Returns the list of experimenters that are not owners of the group.java.lang.StringgetName()Returns the name of the group.intgetPermissionsLevel()Returns the permissions level.voidsetDescription(java.lang.String description)Sets the description of the group.voidsetName(java.lang.String name)Sets the name of the group.-
Methods inherited from interface fr.igred.omero.RemoteObject
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate
-
-
-
-
Field Detail
-
PERMISSIONS_PRIVATE
static final int PERMISSIONS_PRIVATE
Indicates that the group isPrivatei.e. RW----.- See Also:
- Constant Field Values
-
PERMISSIONS_GROUP_READ
static final int PERMISSIONS_GROUP_READ
Indicates that the group isGroupi.e. RWR---.- See Also:
- Constant Field Values
-
PERMISSIONS_GROUP_READ_LINK
static final int PERMISSIONS_GROUP_READ_LINK
Indicates that the group isGroupi.e. RWRA--.- See Also:
- Constant Field Values
-
PERMISSIONS_GROUP_READ_WRITE
static final int PERMISSIONS_GROUP_READ_WRITE
Indicates that the group isGroupi.e. RWRW--.- See Also:
- Constant Field Values
-
PERMISSIONS_PUBLIC_READ
static final int PERMISSIONS_PUBLIC_READ
Indicates that the group isPublici.e. RWRWR-.- See Also:
- Constant Field Values
-
PERMISSIONS_PUBLIC_READ_WRITE
static final int PERMISSIONS_PUBLIC_READ_WRITE
Indicates that the group isPublici.e. RWRWRW.- See Also:
- Constant Field Values
-
-
Method Detail
-
asDataObject
GroupData asDataObject()
Returns aGroupDatacorresponding to the handled object.- Specified by:
asDataObjectin interfaceRemoteObject- Returns:
- See above.
-
getName
java.lang.String getName()
Returns the name of the group.- Returns:
- See above.
-
setName
void setName(java.lang.String name)
Sets the name of the group.- Parameters:
name- The name of the group. Mustn't benull.- Throws:
java.lang.IllegalArgumentException- If the name isnull.
-
getDescription
java.lang.String getDescription()
Returns the description of the group.- Returns:
- See above.
-
setDescription
void setDescription(java.lang.String description)
Sets the description of the group.- Parameters:
description- The description of the group. Mustn't benull.- Throws:
java.lang.IllegalArgumentException- If the name isnull.
-
getLeaders
java.util.List<Experimenter> getLeaders()
Returns the leaders of this group.- Returns:
- See above.
-
getExperimenters
java.util.List<Experimenter> getExperimenters()
Returns the experimenters contained in this group.- Returns:
- See above.
-
getMembersOnly
java.util.List<Experimenter> getMembersOnly()
Returns the list of experimenters that are not owners of the group.- Returns:
- See above.
-
getPermissionsLevel
int getPermissionsLevel()
Returns the permissions level.- Returns:
- See above.
-
-