Class representing user.
More...
Class representing user.
Class representing user
- Author
- idytrych
Definition at line 51 of file User.java.
cz.vutbr.fit.knot.annotations.entity.User.User |
( |
| ) |
|
cz.vutbr.fit.knot.annotations.entity.User.User |
( |
Integer |
id | ) |
|
Constructor of reference objects for searching purposes - no initialization needed
- Parameters
-
Definition at line 100 of file User.java.
cz.vutbr.fit.knot.annotations.entity.User.User |
( |
String |
login, |
|
|
String |
name, |
|
|
String |
email, |
|
|
String |
password |
|
) |
| |
Constructor
- Parameters
-
login | User's login |
name | User's full name |
email | User's e-mail |
password | User's password |
Definition at line 112 of file User.java.
cz.vutbr.fit.knot.annotations.entity.User.User |
( |
Integer |
id, |
|
|
String |
login, |
|
|
String |
name, |
|
|
String |
email, |
|
|
String |
password |
|
) |
| |
Constructor
- Parameters
-
Definition at line 128 of file User.java.
void cz.vutbr.fit.knot.annotations.entity.User.addGroup |
( |
UserGroup |
group | ) |
|
Join user to user group
- Parameters
-
Definition at line 195 of file User.java.
boolean cz.vutbr.fit.knot.annotations.entity.User.equals |
( |
Object |
object | ) |
|
Compares this with other object and returns, whether objects are same type and have same id.
- Parameters
-
object | Object to compare with |
- Returns
- If object is same type and have same id, returns true, false otherwise
Definition at line 340 of file User.java.
String cz.vutbr.fit.knot.annotations.entity.User.getComeFrom |
( |
| ) |
|
Gets address of system from which user come
- Returns
- Returns address of system from which user come
Definition at line 276 of file User.java.
String cz.vutbr.fit.knot.annotations.entity.User.getEmail |
( |
| ) |
|
Gets e-mail of user
- Returns
- Returns e-mail of user
Definition at line 240 of file User.java.
List<UserGroup> cz.vutbr.fit.knot.annotations.entity.User.getGroups |
( |
| ) |
|
Gets user groups to which user belongs
- Returns
- Returns user groups to which user belongs
Definition at line 159 of file User.java.
ArrayList<UserGroup> cz.vutbr.fit.knot.annotations.entity.User.getGroupsAL |
( |
| ) |
|
Gets user groups to which user belongs as ArrayList
- Returns
- Returns user groups to which user belongs as ArrayList
Definition at line 177 of file User.java.
Integer cz.vutbr.fit.knot.annotations.entity.User.getId |
( |
| ) |
|
Gets id of user
- Returns
- Returns id of user
Definition at line 141 of file User.java.
String cz.vutbr.fit.knot.annotations.entity.User.getImage |
( |
| ) |
|
Gets URI where is user image located
- Returns
- URI where is user image located
Definition at line 312 of file User.java.
String cz.vutbr.fit.knot.annotations.entity.User.getLogin |
( |
| ) |
|
Gets login of user
- Returns
- Returns login of user
Definition at line 204 of file User.java.
String cz.vutbr.fit.knot.annotations.entity.User.getName |
( |
| ) |
|
Gets full name of user
- Returns
- Returns full name of user
Definition at line 222 of file User.java.
String cz.vutbr.fit.knot.annotations.entity.User.getPassword |
( |
| ) |
|
Gets password of user
- Returns
- Returns password of user
Definition at line 258 of file User.java.
String cz.vutbr.fit.knot.annotations.entity.User.getURI |
( |
| ) |
|
Gets user's URI (base URI + user id)
- Returns
- Returns user's URI
Definition at line 294 of file User.java.
String cz.vutbr.fit.knot.annotations.entity.User.getURIV2 |
( |
| ) |
|
Gets user's URI (base URI + user id)
- Returns
- Returns user's URI
Definition at line 303 of file User.java.
int cz.vutbr.fit.knot.annotations.entity.User.hashCode |
( |
| ) |
|
void cz.vutbr.fit.knot.annotations.entity.User.setComeFrom |
( |
String |
comeFrom | ) |
|
Sets address of system from which user come
- Parameters
-
comeFrom | Address of system from which user come |
Definition at line 285 of file User.java.
void cz.vutbr.fit.knot.annotations.entity.User.setEmail |
( |
String |
email | ) |
|
Sets e-mail of user
- Parameters
-
Definition at line 249 of file User.java.
void cz.vutbr.fit.knot.annotations.entity.User.setGroups |
( |
List< UserGroup > |
groups | ) |
|
Setting user groups to which user belongs
- Parameters
-
groups | User groups to which user belongs |
Definition at line 168 of file User.java.
void cz.vutbr.fit.knot.annotations.entity.User.setGroups |
( |
ArrayList< UserGroup > |
groups | ) |
|
Setting user groups to which user belongs
- Parameters
-
groups | User groups to which user belongs |
Definition at line 186 of file User.java.
void cz.vutbr.fit.knot.annotations.entity.User.setId |
( |
Integer |
id | ) |
|
Sets id of user
- Parameters
-
Definition at line 150 of file User.java.
void cz.vutbr.fit.knot.annotations.entity.User.setImage |
( |
String |
image | ) |
|
Sets URI where is user image located
- Parameters
-
image | URI where is user image located |
Definition at line 321 of file User.java.
void cz.vutbr.fit.knot.annotations.entity.User.setLogin |
( |
String |
login | ) |
|
Sets login of user
- Parameters
-
Definition at line 213 of file User.java.
void cz.vutbr.fit.knot.annotations.entity.User.setName |
( |
String |
name | ) |
|
Sets full name of user
- Parameters
-
Definition at line 231 of file User.java.
void cz.vutbr.fit.knot.annotations.entity.User.setPassword |
( |
String |
password | ) |
|
Sets password of user
- Parameters
-
Definition at line 267 of file User.java.
String cz.vutbr.fit.knot.annotations.entity.User.toString |
( |
| ) |
|
String cz.vutbr.fit.knot.annotations.entity.User.toXMLString |
( |
| ) |
|
Returns serialized informations about user in XML
- Returns
- Returns serialized informations about user in XML
Definition at line 361 of file User.java.
String cz.vutbr.fit.knot.annotations.entity.User.toXMLStringV2 |
( |
| ) |
|
Returns serialized informations about user in XML for protocol V2
- Returns
- Returns serialized informations about user in XML for protocol V2
Definition at line 370 of file User.java.
String cz.vutbr.fit.knot.annotations.entity.User.toXMLStringWG |
( |
| ) |
|
Returns serialized informations about user in XML with list of user groups
- Returns
- Returns serialized informations about user in XML with list of user groups
Definition at line 379 of file User.java.
String cz.vutbr.fit.knot.annotations.entity.User.comeFrom |
|
private |
Address of system from which user come
Definition at line 78 of file User.java.
String cz.vutbr.fit.knot.annotations.entity.User.email |
|
private |
List<UserGroup> cz.vutbr.fit.knot.annotations.entity.User.groups |
Groups to which user belongs
Definition at line 86 of file User.java.
Integer cz.vutbr.fit.knot.annotations.entity.User.id |
|
private |
String cz.vutbr.fit.knot.annotations.entity.User.image |
|
private |
URI where is user image located
Definition at line 82 of file User.java.
String cz.vutbr.fit.knot.annotations.entity.User.login |
|
private |
String cz.vutbr.fit.knot.annotations.entity.User.name |
|
private |
String cz.vutbr.fit.knot.annotations.entity.User.password |
|
private |
final long cz.vutbr.fit.knot.annotations.entity.User.serialVersionUID = 1L |
|
staticprivate |
The documentation for this class was generated from the following file:
- src/java/cz/vutbr/fit/knot/annotations/entity/User.java