|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.nrao.sss.model.user.ObjectId edu.nrao.sss.model.user.User
@Deprecated public class User
Outdated; use new NRAO User package.
Field Summary | |
---|---|
static int |
AUTH_TOKEN_SIZE
Deprecated. |
static String |
XML_VERSION
Deprecated. |
Constructor Summary | |
---|---|
User()
Deprecated. |
Method Summary | |
---|---|
void |
addToAffiliations(Institution institution)
Deprecated. |
void |
addToContactCollection(Contact contact)
|
void |
addToGroups(UserGroup userGroup)
Deprecated. |
void |
addToNotes(UserNote userNote)
Deprecated. |
void |
addToTypes(UserType userType)
Deprecated. |
protected String |
contactInfoXML(boolean showAll)
|
void |
copy(edu.nrao.sss.model.user.ContactCollection contactCollection)
|
void |
copy(edu.nrao.sss.model.user.UpdateDetails updateDetails)
|
void |
copy(User user)
Deprecated. |
boolean |
equals(Object obj)
Deprecated. |
String |
getAccountName()
Deprecated. |
List<Contact> |
getAddresses()
|
Set<Institution> |
getAffiliations()
Deprecated. |
short |
getAipsNumber()
Deprecated. |
String |
getAuthenticationToken()
Deprecated. |
Collection<Contact> |
getContactCollection()
|
UserContactLevel |
getContactLevel()
Deprecated. |
List<Contact> |
getContactsOfType(Contact.ContactType contactType)
|
AddressCountry |
getCountry()
|
Address |
getDefaultAddress()
|
Email |
getDefaultEmail()
|
Fax |
getDefaultFax()
|
Institution |
getDefaultInstitution()
Deprecated. |
Phone |
getDefaultPhone()
|
URL |
getDefaultURL()
|
List<Contact> |
getEmails()
|
String |
getEncodedId()
|
String |
getEncryptedPassword()
Deprecated. |
EntryStatus |
getEntryStatus()
Deprecated. |
List<Contact> |
getFaxes()
|
String |
getFirstName()
Deprecated. |
String |
getFormalName()
Deprecated. |
String |
getFormalNameLastNameFirst()
Deprecated. |
Character |
getGender()
Deprecated. |
short |
getGraduationYear()
Deprecated. |
Set<UserGroup> |
getGroups()
Deprecated. |
Date |
getLastLogin()
Deprecated. |
String |
getLastName()
Deprecated. |
Date |
getLastObservation()
Deprecated. |
String |
getMiddleName()
Deprecated. |
Collection<UserNote> |
getNotes()
Deprecated. |
int |
getOutOfDateReporterId()
Deprecated. |
List<Contact> |
getPhones()
|
String |
getPreferredName()
Deprecated. |
UserPrefix |
getPrefix()
Deprecated. |
UserSuffix |
getSuffix()
Deprecated. |
TimeZone |
getTimezone()
Deprecated. |
Set<UserType> |
getTypes()
Deprecated. |
AddressCountry |
getUnknownAffiliationCountry()
Deprecated. |
String |
getUnknownAffiliationName()
Deprecated. |
int |
getUpdatedBy()
|
Date |
getUpdatedOn()
|
List<Contact> |
getURLs()
|
String |
getUserName()
Deprecated. |
String |
getUserNameLastNameFirst()
Deprecated. |
boolean |
isAffiliatedWith(Institution inst)
Deprecated. |
int |
isDomestic()
Deprecated. |
boolean |
isRememberLogin()
Deprecated. |
boolean |
isType(UserType userType)
Deprecated. |
boolean |
isUserInGroup(UserGroup userGroup)
Deprecated. |
boolean |
passwordEquals(String password)
Deprecated. |
void |
removeFromTypes(UserType userType)
Deprecated. |
void |
setAccountName(String accountName)
Deprecated. |
void |
setAffiliations(Set<Institution> affiliations)
Deprecated. |
void |
setAipsNumber(short aipsNumber)
Deprecated. |
void |
setAuthenticationToken(String authenticationToken)
Deprecated. |
void |
setContactCollection(Collection<Contact> contactCollection)
|
void |
setContactLevel(UserContactLevel contactLevel)
Deprecated. |
void |
setDefaultInstitution(Institution defaultInstitution)
Deprecated. |
void |
setEncryptedPassword(String encryptedPassword)
Deprecated. |
void |
setEntryStatus(EntryStatus entryStatus)
Deprecated. |
void |
setFirstName(String firstName)
Deprecated. |
void |
setGender(Character gender)
Deprecated. |
void |
setGraduationYear(short graduationYear)
Deprecated. |
void |
setGroups(Set<UserGroup> groups)
Deprecated. |
void |
setLastLogin(Date lastLogin)
Deprecated. |
void |
setLastName(String lastName)
Deprecated. |
void |
setLastObservation(Date lastObservation)
Deprecated. |
void |
setMiddleName(String middleName)
Deprecated. |
void |
setNewPassword(String plainPassword)
Deprecated. |
String |
setNewRandomPassword()
Deprecated. |
void |
setNotes(Collection<UserNote> notes)
Deprecated. |
void |
setOutOfDateReporterId(int outOfDateReporterId)
Deprecated. |
void |
setPreferredName(String preferredName)
Deprecated. |
void |
setPrefix(UserPrefix prefix)
Deprecated. |
void |
setRememberLogin(boolean rememberLogin)
Deprecated. |
void |
setSuffix(UserSuffix suffix)
Deprecated. |
void |
setTimezone(TimeZone timezone)
Deprecated. |
void |
setTypes(Set<UserType> types)
Deprecated. |
void |
setUnknownAffiliationCountry(AddressCountry unknownAffiliationCountry)
Deprecated. |
void |
setUnknownAffiliationName(String unknownAffiliationName)
Deprecated. |
void |
setUpdatedBy(int updatedBy)
|
void |
setUpdatedOn(Date updatedOn)
|
String |
toXML()
Deprecated. Provide an XML description of the object. |
String |
toXML(boolean showAll)
Deprecated. |
Methods inherited from class edu.nrao.sss.model.user.ObjectId |
---|
getId, hashCode, isNew, setId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int AUTH_TOKEN_SIZE
public static final String XML_VERSION
Constructor Detail |
---|
public User() throws InfrastructureException
InfrastructureException
Method Detail |
---|
public void addToAffiliations(Institution institution)
public void addToGroups(UserGroup userGroup)
public void addToNotes(UserNote userNote)
public void addToTypes(UserType userType)
public void copy(User user) throws InfrastructureException
InfrastructureException
public boolean equals(Object obj)
equals
in class ObjectId
public String getAccountName()
public Set<Institution> getAffiliations()
public short getAipsNumber()
public String getAuthenticationToken()
public UserContactLevel getContactLevel()
public Institution getDefaultInstitution()
public String getEncryptedPassword()
public EntryStatus getEntryStatus()
public String getFirstName()
public String getFormalName()
public String getFormalNameLastNameFirst()
public Character getGender()
public short getGraduationYear()
public Set<UserGroup> getGroups()
public Date getLastLogin()
public String getLastName()
public Date getLastObservation()
public String getMiddleName()
public Collection<UserNote> getNotes()
public int getOutOfDateReporterId()
public String getPreferredName()
public UserPrefix getPrefix()
public UserSuffix getSuffix()
public TimeZone getTimezone()
public Set<UserType> getTypes()
public AddressCountry getUnknownAffiliationCountry()
public String getUnknownAffiliationName()
public String getUserName()
public String getUserNameLastNameFirst()
public boolean isAffiliatedWith(Institution inst)
public int isDomestic()
public boolean isRememberLogin()
public boolean isType(UserType userType)
public boolean isUserInGroup(UserGroup userGroup)
public boolean passwordEquals(String password) throws InfrastructureException
InfrastructureException
public void removeFromTypes(UserType userType)
public void setAccountName(String accountName)
public void setAffiliations(Set<Institution> affiliations)
public void setAipsNumber(short aipsNumber)
public void setAuthenticationToken(String authenticationToken)
public void setContactLevel(UserContactLevel contactLevel)
public void setDefaultInstitution(Institution defaultInstitution)
public void setEncryptedPassword(String encryptedPassword)
public void setEntryStatus(EntryStatus entryStatus)
public void setFirstName(String firstName)
public void setGender(Character gender)
public void setGraduationYear(short graduationYear)
public void setGroups(Set<UserGroup> groups)
public void setLastLogin(Date lastLogin)
public void setLastName(String lastName)
public void setLastObservation(Date lastObservation)
public void setMiddleName(String middleName)
public void setNewPassword(String plainPassword) throws InfrastructureException
InfrastructureException
public String setNewRandomPassword() throws InfrastructureException
InfrastructureException
public void setNotes(Collection<UserNote> notes)
public void setOutOfDateReporterId(int outOfDateReporterId)
public void setPreferredName(String preferredName)
public void setPrefix(UserPrefix prefix)
public void setRememberLogin(boolean rememberLogin)
public void setSuffix(UserSuffix suffix)
public void setTimezone(TimeZone timezone)
public void setTypes(Set<UserType> types)
public void setUnknownAffiliationCountry(AddressCountry unknownAffiliationCountry)
public void setUnknownAffiliationName(String unknownAffiliationName)
public String toXML()
XMLable
toXML
in interface XMLable
public String toXML(boolean showAll)
public void addToContactCollection(Contact contact)
public void copy(edu.nrao.sss.model.user.ContactCollection contactCollection)
protected String contactInfoXML(boolean showAll)
public List<Contact> getAddresses()
public Collection<Contact> getContactCollection()
public List<Contact> getContactsOfType(Contact.ContactType contactType)
public AddressCountry getCountry()
public Address getDefaultAddress()
public Email getDefaultEmail()
public Fax getDefaultFax()
public Phone getDefaultPhone()
public URL getDefaultURL()
public List<Contact> getEmails()
public List<Contact> getFaxes()
public List<Contact> getPhones()
public List<Contact> getURLs()
public void setContactCollection(Collection<Contact> contactCollection)
public String getEncodedId()
public int getUpdatedBy()
public Date getUpdatedOn()
public void copy(edu.nrao.sss.model.user.UpdateDetails updateDetails)
public void setUpdatedBy(int updatedBy) throws IllegalArgumentException
IllegalArgumentException
public void setUpdatedOn(Date updatedOn) throws NullPointerException
NullPointerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |