001
014
015 package com.liferay.portal.kernel.googleapps;
016
017 import com.liferay.portal.kernel.util.StringPool;
018
019
022 public class GUser {
023
024 public String getFirstName() {
025 return _firstName;
026 }
027
028 public String getFullName() {
029 return _firstName.concat(StringPool.SPACE).concat(_lastName);
030 }
031
032 public String getLastName() {
033 return _lastName;
034 }
035
036 public long getUserId() {
037 return _userId;
038 }
039
040 public boolean isActive() {
041 return _active;
042 }
043
044 public boolean isAdministrator() {
045 return _administrator;
046 }
047
048 public boolean isAgreedToTermsOfUse() {
049 return _agreedToTermsOfUse;
050 }
051
052 public void setActive(boolean active) {
053 _active = active;
054 }
055
056 public void setAdministrator(boolean administrator) {
057 _administrator = administrator;
058 }
059
060 public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse) {
061 _agreedToTermsOfUse = agreedToTermsOfUse;
062 }
063
064 public void setFirstName(String firstName) {
065 _firstName = firstName;
066 }
067
068 public void setLastName(String lastName) {
069 _lastName = lastName;
070 }
071
072 public void setUserId(long userId) {
073 _userId = userId;
074 }
075
076 private boolean _active;
077 private boolean _administrator;
078 private boolean _agreedToTermsOfUse;
079 private String _firstName;
080 private String _lastName;
081 private long _userId;
082
083 }