public interface Group extends RemoteObject
Modifier and Type | Field and Description |
---|---|
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 int |
PERMISSIONS_GROUP_READ_WRITE
Indicates that the group is
Group i.e. |
static int |
PERMISSIONS_PRIVATE
Indicates that the group is
Private i.e. |
static int |
PERMISSIONS_PUBLIC_READ
Indicates that the group is
Public i.e. |
static int |
PERMISSIONS_PUBLIC_READ_WRITE
Indicates that the group is
Public i.e. |
Modifier and Type | Method and Description |
---|---|
GroupData |
asDataObject()
Returns a
GroupData corresponding to the handled object. |
String |
getDescription()
Returns the description of the group.
|
List<Experimenter> |
getExperimenters()
Returns the experimenters contained in this group.
|
List<Experimenter> |
getLeaders()
Returns the leaders of this group.
|
List<Experimenter> |
getMembersOnly()
Returns the list of experimenters that are not owners of the group.
|
String |
getName()
Returns the name of the group.
|
int |
getPermissionsLevel()
Returns the permissions level.
|
void |
setDescription(String description)
Sets the description of the group.
|
void |
setName(String name)
Sets the name of the group.
|
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, distinct, flatten, getCreated, getElementsOf, getGroupId, getId, getOwner, getUpdated, saveAndUpdate
static final int PERMISSIONS_PRIVATE
Private
i.e. RW----.static final int PERMISSIONS_GROUP_READ
Group
i.e. RWR---.static final int PERMISSIONS_GROUP_READ_LINK
Group
i.e. RWRA--.static final int PERMISSIONS_GROUP_READ_WRITE
Group
i.e. RWRW--.static final int PERMISSIONS_PUBLIC_READ
Public
i.e. RWRWR-.static final int PERMISSIONS_PUBLIC_READ_WRITE
Public
i.e. RWRWRW.GroupData asDataObject()
GroupData
corresponding to the handled object.asDataObject
in interface RemoteObject
String getName()
void setName(String name)
name
- The name of the group. Mustn't be null
.IllegalArgumentException
- If the name is null
.String getDescription()
void setDescription(String description)
description
- The description of the group. Mustn't be null
.IllegalArgumentException
- If the name is null
.List<Experimenter> getLeaders()
List<Experimenter> getExperimenters()
List<Experimenter> getMembersOnly()
int getPermissionsLevel()
Copyright © 2020–2023 GReD. All rights reserved.