public interface Experimenter extends RemoteObject
| Modifier and Type | Method and Description |
|---|---|
ExperimenterData |
asDataObject()
Returns an
ExperimenterData corresponding to the handled object. |
Group |
getDefaultGroup()
Returns the default Group for this Experimenter
|
String |
getEmail()
Returns the e-mail of the experimenter.
|
String |
getFirstName()
Returns the first name of the experimenter.
|
List<Group> |
getGroups()
Returns the groups the experimenter is a member of.
|
String |
getInstitution()
Returns the institution where the experimenter works.
|
String |
getLastName()
Returns the last name of the experimenter.
|
String |
getMiddleName()
Returns the middle name of the experimenter.
|
String |
getUserName()
Returns the last name of the experimenter.
|
boolean |
isActive()
Returns
true if the experimenter is active, false otherwise. |
boolean |
isLDAP()
Returns
true if the user is connected via LDAP. |
boolean |
isMemberOfGroup(long groupId)
Checks if supplied group id matches any group to which the current experimenter belongs to.
|
void |
setEmail(String email)
Sets the e-mail of the experimenter.
|
void |
setFirstName(String firstName)
Sets the first name of the experimenter.
|
void |
setInstitution(String institution)
Sets the institution where the experimenter works.
|
void |
setLastName(String lastName)
Sets the last name of the experimenter.
|
void |
setMiddleName(String middleName)
Sets the middle name of the experimenter.
|
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, distinct, flatten, getCreated, getElementsOf, getGroupId, getId, getOwner, getUpdated, saveAndUpdateExperimenterData asDataObject()
ExperimenterData corresponding to the handled object.asDataObject in interface RemoteObjectString getFirstName()
void setFirstName(String firstName)
firstName - The value to set.String getLastName()
void setLastName(String lastName)
lastName - The value to set.String getUserName()
String getEmail()
void setEmail(String email)
email - The value to set.String getInstitution()
void setInstitution(String institution)
institution - The value to set.List<Group> getGroups()
Group getDefaultGroup()
String getMiddleName()
void setMiddleName(String middleName)
middleName - The value to set.boolean isActive()
true if the experimenter is active, false otherwise.boolean isMemberOfGroup(long groupId)
groupId - The ID of the group.true/false depending on the matching id foundboolean isLDAP()
true if the user is connected via LDAP.Copyright © 2020–2023 GReD. All rights reserved.