Package fr.igred.omero.meta
Interface Experimenter
-
- All Superinterfaces:
RemoteObject
- All Known Implementing Classes:
ExperimenterWrapper
public interface Experimenter extends RemoteObject
Interface to handle Experimenters on OMERO.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExperimenterData
asDataObject()
Returns anExperimenterData
corresponding to the handled object.Group
getDefaultGroup()
Returns the default Group for this Experimenterjava.lang.String
getEmail()
Returns the e-mail of the experimenter.java.lang.String
getFirstName()
Returns the first name of the experimenter.java.util.List<Group>
getGroups()
Returns the groups the experimenter is a member of.java.lang.String
getInstitution()
Returns the institution where the experimenter works.java.lang.String
getLastName()
Returns the last name of the experimenter.java.lang.String
getMiddleName()
Returns the middle name of the experimenter.java.lang.String
getUserName()
Returns the last name of the experimenter.boolean
isActive()
Returnstrue
if the experimenter is active,false
otherwise.boolean
isLDAP()
Returnstrue
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(java.lang.String email)
Sets the e-mail of the experimenter.void
setFirstName(java.lang.String firstName)
Sets the first name of the experimenter.void
setInstitution(java.lang.String institution)
Sets the institution where the experimenter works.void
setLastName(java.lang.String lastName)
Sets the last name of the experimenter.void
setMiddleName(java.lang.String middleName)
Sets the middle name of the experimenter.-
Methods inherited from interface fr.igred.omero.RemoteObject
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate
-
-
-
-
Method Detail
-
asDataObject
ExperimenterData asDataObject()
Returns anExperimenterData
corresponding to the handled object.- Specified by:
asDataObject
in interfaceRemoteObject
- Returns:
- See above.
-
getFirstName
java.lang.String getFirstName()
Returns the first name of the experimenter.- Returns:
- see above.
-
setFirstName
void setFirstName(java.lang.String firstName)
Sets the first name of the experimenter.- Parameters:
firstName
- The value to set.
-
getLastName
java.lang.String getLastName()
Returns the last name of the experimenter.- Returns:
- see above.
-
setLastName
void setLastName(java.lang.String lastName)
Sets the last name of the experimenter.- Parameters:
lastName
- The value to set.
-
getUserName
java.lang.String getUserName()
Returns the last name of the experimenter.- Returns:
- see above.
-
getEmail
java.lang.String getEmail()
Returns the e-mail of the experimenter.- Returns:
- see above.
-
setEmail
void setEmail(java.lang.String email)
Sets the e-mail of the experimenter.- Parameters:
email
- The value to set.
-
getInstitution
java.lang.String getInstitution()
Returns the institution where the experimenter works.- Returns:
- see above.
-
setInstitution
void setInstitution(java.lang.String institution)
Sets the institution where the experimenter works.- Parameters:
institution
- The value to set.
-
getGroups
java.util.List<Group> getGroups()
Returns the groups the experimenter is a member of.- Returns:
- See above.
-
getDefaultGroup
Group getDefaultGroup()
Returns the default Group for this Experimenter- Returns:
- See above.
-
getMiddleName
java.lang.String getMiddleName()
Returns the middle name of the experimenter.- Returns:
- see above.
-
setMiddleName
void setMiddleName(java.lang.String middleName)
Sets the middle name of the experimenter.- Parameters:
middleName
- The value to set.
-
isActive
boolean isActive()
Returnstrue
if the experimenter is active,false
otherwise.- Returns:
- See above.
-
isMemberOfGroup
boolean isMemberOfGroup(long groupId)
Checks if supplied group id matches any group to which the current experimenter belongs to.- Parameters:
groupId
- The ID of the group.- Returns:
- boolean
true
/false
depending on the matching id found
-
isLDAP
boolean isLDAP()
Returnstrue
if the user is connected via LDAP.- Returns:
- See above.
-
-