|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.starhope.appius.util.SimpleDataRecord<UserRecord>
org.starhope.appius.user.UserRecord
public class UserRecord
The record describing an user in the game — whether a theoretical user account (like the System User), an actual human user's account, or an NPC.
Field Summary | |
---|---|
private UserActiveState |
active
Whether the user account is OK (active), canceled, or banned |
private AgeBracket |
ageGroup
The age bracket to which this user belongs: currently kid (0-12), teen (13-17), or adult (18+). |
private Date |
approvedDate
The date on which the account was approved (by parent) or eMail was validated (by self). |
private AvatarClass |
avatarClass
The type of avatar in play |
private Colour |
baseColour
The base colour of the avatar |
private Date |
birthDate
The user's date of birth. |
private boolean |
canBetaTest
True if the user can sign in to a Beta server |
private boolean |
canContact
if true, the user has given his/her consent to receive marketing messages by eMail |
private boolean |
canEnterChatZone
True if the user can enter a zone where people can chat freely. |
private boolean |
canEnterMenuZone
True if the user can enter a zone where dialogue is chosen from menus. |
private boolean |
canTalk
True if the user is allowed to type chat. |
private Colour |
chatBG
background colour for chat text |
private Colour |
chatFG
foreground colour for chat text |
private String |
dialect
the dialect of the user's language in which s/he prefers
to see messages |
private Date |
emailPlusDate
For kids, this is the date on which eMail Plus secondary eMail is sent out. |
private Colour |
extraColour
The extra colour of the avatar. |
private String |
givenName
the user's actual, given name |
private Inventory |
inv
The user's inventory. |
private boolean |
isEphemeral
Whether or not changes to the class will be flushed. |
private int |
kickedByUserID
The user ID who kicked this user offline. |
private String |
kickedReasonCode
The reason that this user is kicked offline or banned. |
private Timestamp |
kickedUntil
The date at which the user is no longer kicked offline. |
private String |
language
the language in which the user prefers to receive messages |
private String |
lastZoneName
the last zone on which the user had been logged on; or, their current zone, if we can see Smartfox from here. |
private String |
login
The user's current, active login name. |
private String |
mail
the user's eMail address |
private Date |
mailConfirmed
the date on which the user's mail address was confirmed (or null, if it hasn't been) |
private Date |
mailConfirmSent
the date that eMail confirmation was sent out |
private Timestamp |
nameApprovedAt
The timestamp of Lifeguard approval of the user's name (or null, if it hasn't been approved yet) |
private int |
nameApprovedByUserID
The user ID of the moderator who approved this user's name |
(package private) Timestamp |
nameRequestedAt
The time at which this user entered his/her request for a new name. |
protected boolean |
needsNaming
If true, the user hasn't picked a name for this account (but it may have a system-assigned random one), so we need to nag them to pick a name. |
private static long |
nextSerial
class property for generating unique serials for instances |
private boolean |
notable
true, if this is a notable NPC/character |
private boolean |
parentApprovedName
Whether the user's parent has approved the name yet. |
private int |
parentID
Pointer to the parent of this user, if the user's age bracket is "kid" |
private String |
passRecoveryA
answer to the password recovery question |
private String |
passRecoveryQ
password recovery question |
private String |
password
WRITEME |
protected String |
referer
The 1-4 character code representing the source of a referral which resulted in this user signing up. |
private Timestamp |
registeredAt
Time when the user originally registered |
protected String |
requestedName
The user name which the user has requested, but has not yet been approved. |
private long |
serial
unique instance serial number |
private static long |
serialVersionUID
Java Serialisation Unique ID |
protected int |
staffLevel
The level of staff authority possessed by this user. |
private SecurityCapability |
sysOpCapability
The security capability to act like a system operator |
protected double |
travelRate
The rate of movement (in pixels per second) of this user. |
protected UserHouse |
userHouse
The set of rooms in this user's house (and yard). |
protected int |
userID
The user's numeric ID, for database purposes. |
Fields inherited from class org.starhope.appius.util.SimpleDataRecord |
---|
myLoader, timeLastChanged, timeLastSaved |
Constructor Summary | |
---|---|
UserRecord()
Nil constructor. |
|
UserRecord(Date birthDate1,
String avatarTitle,
String userNameRequest,
String passwordAnswer,
String passwordQuestion,
String password2)
WRITEME: Document this constructor brpocock@star-hope.org |
|
UserRecord(RecordLoader<UserRecord> userRecordLoader)
WRITEME: Document this constructor brpocock@star-hope.org |
Method Summary | |
---|---|
void |
approveName(AbstractUser abstractUser)
WRITEME: Document this method brpocock@star-hope.org |
private void |
assertStaffLevel(int staffLevelNeeded)
assert that the user should have the requisite staff level; otherwise, throw an exception |
void |
ban(AbstractUser bannedBy,
String bannedReason)
Ban a user, preventing any future access to the server. |
boolean |
canApproveSelf()
If the user is a teen (13+) or adult, they are allowed to approve their own account. |
boolean |
canBetaTest()
|
boolean |
canContact()
WRITEME: Document this method brpocock@star-hope.org |
boolean |
canEnterChatZone()
WRITEME: Document this method brpocock@star-hope.org |
boolean |
canEnterMenuZone()
WRITEME: Document this method brpocock@star-hope.org |
boolean |
canLogIn(String passGuess)
Determine whether the user can log in with the given password. |
boolean |
canMakePurchase()
Only adults are allowed to make purchases. |
boolean |
canTalk()
WRITEME: Document this method brpocock@star-hope.org |
boolean |
checkPassword(String passwordGuess)
|
UserRecord |
copyProtoype(UserRecord prototype)
WRITEME: Document this method brpocock@star-hope.org |
String |
generateSystemName()
Generate a new "anonymous user name" for the user. |
int |
getAge()
Get the current age of the user. |
AgeBracket |
getAgeGroup()
|
Date |
getApprovedDate()
|
AvatarClass |
getAvatarClass()
|
Colour |
getBaseColor()
|
Date |
getBirthDate()
|
int |
getCacheableID()
Note that all records must have either a numeric ID ( DataRecord.getCacheableID() or a string identifier (
DataRecord.getCacheableIdent() or both. |
String |
getCacheableIdent()
Note that all records must have either a numeric ID ( DataRecord.getCacheableID() or a string identifier (
DataRecord.getCacheableIdent() or both. |
Colour |
getChatBG()
|
Colour |
getChatFG()
|
BigDecimal |
getCurrency(Currency ident)
|
String |
getDebugName()
Returns a specific string identifying this user in a convenient form for debugging. |
String |
getDialect()
|
String |
getDisplayName()
|
Date |
getEmailPlusDate()
|
Collection<UserEnrolment> |
getEnrolments()
get all enrolments in which this user is enrolled. |
Colour |
getExtraColor()
|
String |
getForgotPasswordAnswer()
Deprecated. use getPasswordRecoveryAnswer() |
String |
getForgotPasswordQuestion()
Deprecated. use getPasswordRecoveryQuestion() |
String |
getGivenName()
|
UserHouse |
getHouse()
|
Inventory |
getInv()
|
int |
getKickedByUserID()
get the user ID who kicked this user offline. |
String |
getKickedReasonCode()
get the reason code for which the user was kicked offline; see WRITEME? |
Timestamp |
getKickedUntil()
WRITEME: Document this method brpocock@star-hope.org |
String |
getLanguage()
|
String |
getLastZoneName()
|
String |
getLogin()
|
String |
getMail()
|
Date |
getMailConfirmed()
|
Date |
getMailConfirmSent()
|
Timestamp |
getNameApprovedAt()
|
int |
getNameApprovedByUserID()
|
Timestamp |
getNameRequestedAt()
|
private Parent |
getParent()
WRITEME: Document this method brpocock@star-hope.org |
int |
getParentID()
WRITEME: Document this method brpocock@star-hope.org |
(package private) String |
getPassword()
|
String |
getPasswordRecoveryAnswer()
|
String |
getPasswordRecoveryQuestion()
|
String |
getReferer()
|
Timestamp |
getRegisteredAt()
|
Date |
getRegisteredDate()
|
String |
getRegisteredDateString()
|
String |
getRequestedName()
|
String |
getResponsibleMail()
Get the eMail address of a responsible person: either the player, or the parent. |
long |
getSerial()
Internal serial number for tracking user records through the cache |
int |
getStaffLevel()
|
String |
getSubversionRevision()
Return the Subversion revision level of this class's source code file, as supplied via the special "$Rev: " sequence. |
private String |
getSystemNameAdjective()
|
private String |
getSystemNameNoun()
|
double |
getTravelRate()
|
int |
getUserID()
|
String |
getUserNameOrRequest()
return the user's login name, if they have one; or the name that they have requested, if it hasn't been approved yet. |
private Wallet |
getWallet()
|
boolean |
hasStaffLevel(int staffLevelNeeded)
Returns true if the user has the asserted staff level, or a staff level which includes it. |
boolean |
isActive()
|
boolean |
isApproved()
WRITEME: Document this method brpocock@star-hope.org |
boolean |
isBanned()
|
boolean |
isBirthday()
|
boolean |
isCanceled()
|
boolean |
isEphemeral()
|
boolean |
isKicked()
Returns true if the user has been kicked offline (and the time has not yet elapsed). |
boolean |
isNotable()
|
boolean |
isPaidMember()
|
boolean |
isParentApprovedName()
|
Timestamp |
kick(AbstractUser kickedBy,
String kickedReason,
Timestamp allowBack)
Kick the user offline, until a certain date & time. |
void |
liftBan(AbstractUser authority)
|
(package private) AbstractUser |
myUser()
find the user backed by this user record |
boolean |
needsNaming()
|
boolean |
needsParent()
Kid accounts (under 13) require parental confirmation. |
void |
parentApprovedAccount(boolean whether)
|
void |
parentApprovedName(boolean whether)
|
void |
requestNewUserName(String userNameRequested)
Post a request to the lifeguards to get approval of a user name |
void |
setActive(UserActiveState state)
Sets the active state to the given state |
AgeBracket |
setAgeGroup()
set the age bracket of the user record, based upon the specified date of birth. |
void |
setAgeGroup(AgeBracket ageGroup1)
|
void |
setAgeGroupToSystem()
Declares this to be an inhuman, ergo ageless, user account. |
void |
setApproved()
set the date on which the user's account was approved, to the current time. |
void |
setApprovedDate(Date date)
|
void |
setAvatarClass(AvatarClass avatarClass1)
|
void |
setBaseColor(Colour newBaseColor)
|
void |
setBirthDate(Date birthDate1)
|
void |
setCanBetaTest(boolean canBetaTest1)
|
void |
setCanContact(boolean b)
set whether the user acquiesces to be contacted |
void |
setCanEnterChatZone(boolean newCanEnterChatZone)
|
void |
setCanEnterMenuZone(boolean newCanEnterMenuZone)
|
void |
setCanTalk(boolean newCanTalk)
|
void |
setChatBG(Colour newChatBG)
|
void |
setChatFG(Colour newChatFG)
|
void |
setCurrency(Currency units,
BigDecimal bigDecimal)
set the user's quantity of currency of a given type |
void |
setCurrencyIfUnknown(Currency units,
BigDecimal bigDecimal)
set the user's currency of a given type, only if it is not already known |
void |
setEmailPlusDate(Date emailPlusDate1)
|
void |
setEphemeral(boolean newEphemeral)
|
void |
setExtraColor(Colour newExtraColor)
|
void |
setGivenName(String newName)
|
void |
setKickedByUserID(int kickerID)
|
void |
setKickedReasonCode(String reason)
|
void |
setKickedUntil(Timestamp kickedUntilTime)
|
void |
setLanguage(String newLanguage,
String newDialect)
|
void |
setLastZoneName(String lastZoneName1)
|
void |
setLogin(String newLogin)
set the user's login name |
void |
setMail(String newMail)
|
void |
setMailConfirmed(Date mailConfirmed1)
Sets the user capabilities to allow talking, and permits the user entry into both chat zones and menu-chat-only zones. |
void |
setMailConfirmSent(Date dateConfirmationSent)
|
void |
setMailConfirmSent(long when)
|
void |
setNameApprovedByUserID(int userWhoApproved)
|
void |
setNeedsNaming(boolean needsNaming1)
|
void |
setNotable(boolean really)
|
void |
setParentApprovedName(boolean parentApprovedName1)
|
(package private) void |
setParentID(int id)
WRITEME: Document this method brpocock@star-hope.org |
void |
setPassword(String newPass)
WRITEME WRITEME: Document this method brpocock@star-hope.org |
void |
setPasswordRecovery(String question,
String answer)
Set the question & answer pair to be used to trigger forgotten password recovery |
void |
setReferer(String theReferer)
Set the referrer from whom we were sent this new user. |
void |
setRegisteredAt(Timestamp newRegisteredAt)
|
void |
setRequestedName(String requestedName1)
|
void |
setStaffLevel(int staffLevel1)
|
void |
setTravelRate(double travelRate1)
|
void |
setTravelRatePrivately(double rate)
WRITEME: Document this method brpocock@star-hope.org |
void |
setUserID(int userID1)
|
String |
toString()
|
Methods inherited from class org.starhope.appius.util.SimpleDataRecord |
---|
changed, checkStale, compareTo, equals, finalize, getRecordLoader, getTimeLastChanged, getTimeLastSaved, hashCode, isBeingLoaded, markAsLoaded, markAsSaved, markForReload, onRemove, onRetrieve, onStore, save, setRecordLoader |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static long nextSerial
private static final long serialVersionUID
private UserActiveState active
private AgeBracket ageGroup
private Date approvedDate
private AvatarClass avatarClass
private Colour baseColour
private Date birthDate
private boolean canBetaTest
private boolean canContact
private boolean canEnterChatZone
private boolean canEnterMenuZone
private boolean canTalk
private Colour chatBG
private Colour chatFG
private String dialect
language
in which s/he prefers
to see messages
private Date emailPlusDate
private Colour extraColour
private String givenName
private Inventory inv
private boolean isEphemeral
private int kickedByUserID
private String kickedReasonCode
private Timestamp kickedUntil
private String language
private String lastZoneName
private String login
private String mail
private Date mailConfirmed
private Date mailConfirmSent
the date that eMail confirmation was sent out
XXX: save in database
private Timestamp nameApprovedAt
private int nameApprovedByUserID
Timestamp nameRequestedAt
protected boolean needsNaming
private boolean notable
private boolean parentApprovedName
private int parentID
private String passRecoveryA
private String passRecoveryQ
private String password
protected String referer
private Timestamp registeredAt
protected String requestedName
private final long serial
protected int staffLevel
private final SecurityCapability sysOpCapability
protected double travelRate
protected UserHouse userHouse
protected int userID
Constructor Detail |
---|
public UserRecord()
public UserRecord(Date birthDate1, String avatarTitle, String userNameRequest, String passwordAnswer, String passwordQuestion, String password2) throws AlreadyUsedException, ForbiddenUserException
birthDate1
- WRITEMEavatarTitle
- WRITEMEuserNameRequest
- WRITEMEpassword2
- passwordQuestion
- passwordAnswer
-
ForbiddenUserException
- WRITEME
AlreadyUsedException
- WRITEMEpublic UserRecord(RecordLoader<UserRecord> userRecordLoader)
userRecordLoader
- loaderMethod Detail |
---|
public void approveName(AbstractUser abstractUser) throws PrivilegeRequiredException, AlreadyUsedException
abstractUser
- WRITEME
PrivilegeRequiredException
- WRITEME
AlreadyUsedException
- if the user's name has been used by
someone else alreadyprivate void assertStaffLevel(int staffLevelNeeded) throws PrivilegeRequiredException
staffLevelNeeded
- WRITEME
PrivilegeRequiredException
- WRITEMEpublic void ban(AbstractUser bannedBy, String bannedReason) throws PrivilegeRequiredException
bannedBy
- The moderator by which the user was banned.bannedReason
- the reason for which the user was banned
PrivilegeRequiredException
- if the user does not have
moderator-level (or better) privilegespublic boolean canApproveSelf()
public boolean canBetaTest()
public boolean canContact()
public boolean canEnterChatZone()
public boolean canEnterMenuZone()
public boolean canLogIn(String passGuess)
passGuess
- The user's attempted password
public boolean canMakePurchase()
Only adults are allowed to make purchases. Determine whether this user is allowed to make purchases, or if we should ask them to get their parents to buy things for them.
In the future, this might not be just a test to check whether the user is an adult. We might, for example, have kids with gift cards that will be able to make some purchases on their own.
public boolean canTalk()
public boolean checkPassword(String passwordGuess)
passwordGuess
- the password to be checked
public UserRecord copyProtoype(UserRecord prototype)
Copyable
copyProtoype
in interface Copyable<UserRecord>
prototype
- WRITEME
Copyable.copyProtoype(org.starhope.appius.util.DataRecord)
public String generateSystemName()
public int getAge()
public AgeBracket getAgeGroup()
public Date getApprovedDate()
public AvatarClass getAvatarClass()
public Colour getBaseColor()
public Date getBirthDate()
public int getCacheableID()
DataRecord
DataRecord.getCacheableID()
or a string identifier (
DataRecord.getCacheableIdent()
or both.
getCacheableID
in interface DataRecord
DataRecord.getCacheableID()
public String getCacheableIdent() throws NotFoundException
DataRecord
DataRecord.getCacheableID()
or a string identifier (
DataRecord.getCacheableIdent()
or both.
getCacheableIdent
in interface DataRecord
NotFoundException
- if there's neither a login nor a
requested nameDataRecord.getCacheableIdent()
public Colour getChatBG()
public Colour getChatFG()
public BigDecimal getCurrency(Currency ident)
ident
- the currency identifier
public String getDebugName()
public String getDialect()
public String getDisplayName()
AbstractPerson.getDisplayName()
public Date getEmailPlusDate()
public Collection<UserEnrolment> getEnrolments()
public Colour getExtraColor()
@Deprecated public String getForgotPasswordAnswer()
getPasswordRecoveryAnswer()
@Deprecated public String getForgotPasswordQuestion()
getPasswordRecoveryQuestion()
public String getGivenName()
public UserHouse getHouse()
public Inventory getInv()
public int getKickedByUserID()
public String getKickedReasonCode()
public Timestamp getKickedUntil()
public String getLanguage()
public String getLastZoneName()
public String getLogin()
public String getMail()
public Date getMailConfirmed()
public Date getMailConfirmSent()
public Timestamp getNameApprovedAt()
public int getNameApprovedByUserID()
public Timestamp getNameRequestedAt()
private Parent getParent()
public int getParentID()
String getPassword()
public String getPasswordRecoveryAnswer()
public String getPasswordRecoveryQuestion()
public String getReferer()
public Timestamp getRegisteredAt()
public Date getRegisteredDate()
the time registered
public String getRegisteredDateString()
getRegisteredDate()
public String getRequestedName()
public String getResponsibleMail()
Get the eMail address of a responsible person: either the player, or the parent.
Currently, kids 13-17 return their own mail.
public long getSerial()
public int getStaffLevel()
public String getSubversionRevision()
HasSubversionRevision
Return the Subversion revision level of this class's source code file, as supplied via the special "$Rev: " sequence.
As an example,the Subversion revision string for this file is "$Rev: 1968 $"
@Override public String getSubversionRevision () { return "$Rev: "; }
getSubversionRevision
in interface HasSubversionRevision
HasSubversionRevision.getSubversionRevision()
private String getSystemNameAdjective()
private String getSystemNameNoun()
public double getTravelRate()
public int getUserID()
public String getUserNameOrRequest()
private Wallet getWallet()
public boolean hasStaffLevel(int staffLevelNeeded)
staffLevelNeeded
- The minimum staff level for which we are
testing.
public boolean isActive()
public boolean isApproved()
public boolean isBanned()
public boolean isBirthday()
public boolean isCanceled()
public boolean isEphemeral()
public boolean isKicked()
public boolean isNotable()
public boolean isPaidMember()
public boolean isParentApprovedName()
public Timestamp kick(AbstractUser kickedBy, String kickedReason, Timestamp allowBack) throws PrivilegeRequiredException
kickedBy
- The user who is kicking this user offlinekickedReason
- The reason for which s/he is being kickedallowBack
- The time at which this user is permitted to be
online again.
PrivilegeRequiredException
- if the person trying to kick
this user off doesn't have moderator privilegespublic void liftBan(AbstractUser authority) throws PrivilegeRequiredException
authority
- by whose authority is the ban to be lifted?
PrivilegeRequiredException
- if that user lacks authority
to lift the banAbstractUser myUser()
public boolean needsNaming()
public boolean needsParent()
public void parentApprovedAccount(boolean whether)
whether
- if true, the parents have approved the account; if
false, they did not (cancel the account)public void parentApprovedName(boolean whether)
whether
- True if the parent has approved the name; false if
they disapprove and want a system suggested name.public void requestNewUserName(String userNameRequested) throws AlreadyUsedException, ForbiddenUserException
Post a request to the lifeguards to get approval of a user name
Does not work, is not used
userNameRequested
- The user name which the user has
requested
ForbiddenUserException
- if the user name is forbidden
(e.g. obscene or previously denied for any reason)
AlreadyUsedException
- if someone has already requested or
used itpublic void setActive(UserActiveState state)
state
- the new state (OK, CAN, BAN)@Setter(getter="getAgeGroup") @OpEd(isAdvanced=true, label="Age Group", advice="Age group is normally set automatically by setting the age. However, NPC:s must have their age group set to System (\u201cX\u201d).", needCap="CAP_NPC") public AgeBracket setAgeGroup()
public void setAgeGroup(AgeBracket ageGroup1)
ageGroup1
- the ageGroup to setpublic void setAgeGroupToSystem()
public void setApproved()
public void setApprovedDate(Date date)
date
- the approvedDate to setpublic void setAvatarClass(AvatarClass avatarClass1)
avatarClass1
- the avatarClass to setpublic void setBaseColor(Colour newBaseColor)
newBaseColor
- the baseColor to setpublic void setBirthDate(Date birthDate1)
birthDate1
- the birthDate to setpublic void setCanBetaTest(boolean canBetaTest1)
canBetaTest1
- the canBetaTest to setpublic void setCanContact(boolean b)
b
- true, if the user will let us contact him/herpublic void setCanEnterChatZone(boolean newCanEnterChatZone)
newCanEnterChatZone
- the canEnterChatZone to setpublic void setCanEnterMenuZone(boolean newCanEnterMenuZone)
newCanEnterMenuZone
- the canEnterMenuZone to setpublic void setCanTalk(boolean newCanTalk)
newCanTalk
- the canTalk to setpublic void setChatBG(Colour newChatBG)
newChatBG
- the chatBG to setpublic void setChatFG(Colour newChatFG)
newChatFG
- the chatFG to setpublic void setCurrency(Currency units, BigDecimal bigDecimal)
units
- currency unitsbigDecimal
- the amount to setpublic void setCurrencyIfUnknown(Currency units, BigDecimal bigDecimal)
units
- currency unitsbigDecimal
- the amount to setpublic void setEmailPlusDate(Date emailPlusDate1)
emailPlusDate1
- the emailPlusDate to setpublic void setEphemeral(boolean newEphemeral)
newEphemeral
- the isEphemeral to setpublic void setExtraColor(Colour newExtraColor)
newExtraColor
- the extraColor to setpublic void setGivenName(String newName)
newName
- the givenName to setpublic void setKickedByUserID(int kickerID)
kickerID
- the kickedByUserID to setpublic void setKickedReasonCode(String reason)
reason
- the kickedReasonCode to setpublic void setKickedUntil(Timestamp kickedUntilTime)
kickedUntilTime
- the kickedUntil to setpublic void setLanguage(String newLanguage, String newDialect)
newLanguage
- the new languagenewDialect
- the new dialectpublic void setLastZoneName(String lastZoneName1)
lastZoneName1
- the lastZoneName to setpublic void setLogin(String newLogin)
newLogin
- the user's new login namepublic void setMail(String newMail)
newMail
- the mail to setpublic void setMailConfirmed(Date mailConfirmed1)
mailConfirmed1
- the date and time at which the user's mail
was confirmed.public void setMailConfirmSent(Date dateConfirmationSent)
dateConfirmationSent
- the mailConfirmSent to setpublic void setMailConfirmSent(long when)
when
- when the confirmation eMail was sent outpublic void setNameApprovedByUserID(int userWhoApproved)
userWhoApproved
- the nameApprovedByUserID to setpublic void setNeedsNaming(boolean needsNaming1)
needsNaming1
- the needsNaming to setpublic void setNotable(boolean really)
really
- true, if this is a notable NPC/characterpublic void setParentApprovedName(boolean parentApprovedName1)
parentApprovedName1
- the parentApprovedName to setvoid setParentID(int id)
id
- parent idpublic void setPassword(String newPass)
newPass
- WRITEMEpublic void setPasswordRecovery(String question, String answer)
question
- the questionanswer
- the answerpublic void setReferer(String theReferer)
Set the referrer from whom we were sent this new user. This value can only be set once, and is permanent for that user. The valid referrer values are stored in a table. (WRITEME twheys@gmail.com what table?)
Yes, referer is misspelled in homage to HTTP
theReferer
- a four-character identifierpublic void setRegisteredAt(Timestamp newRegisteredAt)
newRegisteredAt
- the registeredAt to setpublic void setRequestedName(String requestedName1)
requestedName1
- the requestedName to setpublic void setStaffLevel(int staffLevel1)
staffLevel1
- the staffLevel to setpublic void setTravelRate(double travelRate1)
travelRate1
- the travelRate to setpublic void setTravelRatePrivately(double rate)
rate
- RATEpublic void setUserID(int userID1)
userID1
- the userID to setpublic String toString()
toString
in class SimpleDataRecord<UserRecord>
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |