@Entity public class MolgenisUser extends AbstractEntity
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTIVATIONCODE |
static String |
ACTIVE |
static String |
ADDRESS |
static String |
AFFILIATION |
static String |
CITY |
static String |
COUNTRY |
static String |
DEPARTMENT |
static String |
EMAIL |
static String |
FAX |
static String |
FIRSTNAME |
static String |
ID |
static String |
LASTNAME |
static String |
MIDINITIALS |
static String |
PASSWORD_ |
static String |
PHONE |
static String |
ROLE |
static String |
SUPERUSER |
static String |
TITLE |
static String |
TOLLFREEPHONE |
static String |
USERNAME |
| Constructor and Description |
|---|
MolgenisUser() |
MolgenisUser(MolgenisUser copyMe)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
MolgenisUser |
create(Entity entity) |
boolean |
equals(Object obj) |
static List<? extends MolgenisUser> |
find(Database db,
QueryRule... rules)
Shorthand for db.find(MolgenisUser.class, org.molgenis.framework.db.QueryRule ...
|
static MolgenisUser |
findByEmail(Database db,
String email) |
static MolgenisUser |
findById(Database db,
Integer id) |
static MolgenisUser |
findByUsername(Database db,
String username) |
Object |
get(String name)
Generic getter.
|
String |
getActivationCode()
Get the Used as alternative authentication mechanism to verify user email and/or if user has lost password..
|
String |
getActivationCode(Database db)
Deprecated.
|
Boolean |
getActive()
Get the Boolean to indicate if this account can be used to login.
|
Boolean |
getActive(Database db)
Deprecated.
|
String |
getAddress()
Get the The address of the Contact..
|
String |
getAddress(Database db)
Deprecated.
|
String |
getAffiliation()
Get the Affiliation.
|
String |
getAffiliation(Database db)
Deprecated.
|
String |
getCity()
Get the Added from the old definition of MolgenisUser.
|
String |
getCity(Database db)
Deprecated.
|
String |
getCountry()
Get the Added from the old definition of MolgenisUser.
|
String |
getCountry(Database db)
Deprecated.
|
String |
getDepartment()
Get the Added from the old definition of MolgenisUser.
|
String |
getDepartment(Database db)
Deprecated.
|
String |
getEmail()
Get the The email address of the Contact..
|
String |
getEmail(Database db)
Deprecated.
|
String |
getFax()
Get the The fax number of the Contact..
|
String |
getFax(Database db)
Deprecated.
|
Vector<String> |
getFields() |
Vector<String> |
getFields(boolean skipAutoIds)
Get the names of all public properties of MolgenisUser.
|
String |
getFields(String sep)
Deprecated.
|
String |
getFirstName()
Get the First Name.
|
String |
getFirstName(Database db)
Deprecated.
|
Integer |
getId()
Get the automatically generated internal id, only for internal use..
|
String |
getIdField() |
Object |
getIdValue() |
List<String> |
getLabelFields() |
String |
getLastName()
Get the Last Name.
|
String |
getLastName(Database db)
Deprecated.
|
String |
getMidInitials()
Get the Mid Initials.
|
String |
getMidInitials(Database db)
Deprecated.
|
String |
getPassword()
Get the big fixme: password type.
|
String |
getPassword(Database db)
Deprecated.
|
String |
getPhone()
Get the The telephone number of the Contact including the suitable area codes..
|
String |
getPhone(Database db)
Deprecated.
|
String |
getRole()
Get the Indicate role of the contact, e.g.
|
String |
getRole(Database db)
Deprecated.
|
Boolean |
getSuperuser()
Get the superuser.
|
Boolean |
getSuperuser(Database db)
Deprecated.
|
String |
getTitle()
Get the An academic title, e.g.
|
String |
getTitle(Database db)
Deprecated.
|
String |
getTollFreePhone()
Get the A toll free phone number for the Contact, including suitable area codes..
|
String |
getTollFreePhone(Database db)
Deprecated.
|
String |
getUsername()
Get the username.
|
String |
getUsername(Database db)
Deprecated.
|
String |
getValues(String sep)
Deprecated.
|
String |
getXrefIdFieldName(String fieldName) |
int |
hashCode() |
static Query<? extends MolgenisUser> |
query(Database db)
Shorthand for db.query(MolgenisUser.class).
|
void |
set(Entity entity,
boolean strict) |
void |
setActivationCode(String activationCode)
Set the Used as alternative authentication mechanism to verify user email and/or if user has lost password..
|
void |
setActive(Boolean active)
Set the Boolean to indicate if this account can be used to login.
|
void |
setAddress(String address)
Set the The address of the Contact..
|
void |
setAffiliation(String affiliation)
Set the Affiliation.
|
void |
setCity(String city)
Set the Added from the old definition of MolgenisUser.
|
void |
setCountry(String country)
Set the Added from the old definition of MolgenisUser.
|
void |
setDepartment(String department)
Set the Added from the old definition of MolgenisUser.
|
void |
setEmail(String email)
Set the The email address of the Contact..
|
void |
setFax(String fax)
Set the The fax number of the Contact..
|
void |
setFirstName(String firstName)
Set the First Name.
|
void |
setId(Integer id)
Set the automatically generated internal id, only for internal use..
|
void |
setLastName(String lastName)
Set the Last Name.
|
void |
setMidInitials(String midInitials)
Set the Mid Initials.
|
void |
setPassword(String password_)
Set the big fixme: password type.
|
void |
setPhone(String phone)
Set the The telephone number of the Contact including the suitable area codes..
|
void |
setRole(String role)
Set the Indicate role of the contact, e.g.
|
void |
setSuperuser(Boolean superuser)
Set the superuser.
|
void |
setTitle(String title)
Set the An academic title, e.g.
|
void |
setTollFreePhone(String tollFreePhone)
Set the A toll free phone number for the Contact, including suitable area codes..
|
void |
setUsername(String username)
Set the username.
|
String |
toString() |
String |
toString(boolean verbose) |
void |
validate() |
get__Type, get__TypeLabel, get__TypeOptions, getLabelValue, getValues, isObjectRepresentation, isReadonly, set__Type, set, set, setReadonly, setValuesFromString, string2datepublic static final String ID
public static final String USERNAME
public static final String PASSWORD_
public static final String ACTIVATIONCODE
public static final String ACTIVE
public static final String SUPERUSER
public static final String FIRSTNAME
public static final String MIDINITIALS
public static final String LASTNAME
public static final String TITLE
public static final String AFFILIATION
public static final String DEPARTMENT
public static final String ROLE
public static final String ADDRESS
public static final String PHONE
public static final String EMAIL
public static final String FAX
public static final String TOLLFREEPHONE
public static final String CITY
public static final String COUNTRY
public MolgenisUser()
public MolgenisUser(MolgenisUser copyMe) throws Exception
Exceptionpublic static Query<? extends MolgenisUser> query(Database db)
public static List<? extends MolgenisUser> find(Database db, QueryRule... rules) throws DatabaseException
DatabaseExceptionpublic static MolgenisUser findById(Database db, Integer id) throws DatabaseException
DatabaseExceptionpublic static MolgenisUser findByEmail(Database db, String email) throws DatabaseException
DatabaseExceptionpublic static MolgenisUser findByUsername(Database db, String username) throws DatabaseException
DatabaseExceptionpublic Integer getId()
public void setId(Integer id)
id - public String getUsername()
@Deprecated public String getUsername(Database db)
public void setUsername(String username)
username - public String getPassword()
@Deprecated public String getPassword(Database db)
public void setPassword(String password_)
password_ - public String getActivationCode()
@Deprecated public String getActivationCode(Database db)
public void setActivationCode(String activationCode)
activationCode - public Boolean getActive()
@Deprecated public Boolean getActive(Database db)
public void setActive(Boolean active)
active - public Boolean getSuperuser()
@Deprecated public Boolean getSuperuser(Database db)
public void setSuperuser(Boolean superuser)
superuser - public String getFirstName()
@Deprecated public String getFirstName(Database db)
public void setFirstName(String firstName)
firstName - public String getMidInitials()
@Deprecated public String getMidInitials(Database db)
public void setMidInitials(String midInitials)
midInitials - public String getLastName()
@Deprecated public String getLastName(Database db)
public void setLastName(String lastName)
lastName - public String getTitle()
@Deprecated public String getTitle(Database db)
public void setTitle(String title)
title - public String getAffiliation()
@Deprecated public String getAffiliation(Database db)
public void setAffiliation(String affiliation)
affiliation - public String getDepartment()
@Deprecated public String getDepartment(Database db)
public void setDepartment(String department)
department - public String getRole()
@Deprecated public String getRole(Database db)
public void setRole(String role)
role - public String getAddress()
@Deprecated public String getAddress(Database db)
public void setAddress(String address)
address - public String getPhone()
@Deprecated public String getPhone(Database db)
public void setPhone(String phone)
phone - public String getEmail()
@Deprecated public String getEmail(Database db)
public void setEmail(String email)
email - public String getFax()
@Deprecated public String getFax(Database db)
public void setFax(String fax)
fax - public String getTollFreePhone()
@Deprecated public String getTollFreePhone(Database db)
public void setTollFreePhone(String tollFreePhone)
tollFreePhone - public String getCity()
@Deprecated public String getCity(Database db)
public void setCity(String city)
city - public String getCountry()
@Deprecated public String getCountry(Database db)
public void setCountry(String country)
country - public void validate()
throws DatabaseException
DatabaseExceptionpublic String toString(boolean verbose)
public Vector<String> getFields(boolean skipAutoIds)
public String getIdField()
@Deprecated public String getFields(String sep)
public Object getIdValue()
@Deprecated public String getValues(String sep)
getValues in interface EntitygetValues in class AbstractEntitypublic MolgenisUser create(Entity entity) throws Exception
ExceptionCopyright © 2013. All Rights Reserved.