|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.bc.gov.webade.user.AbstractWebADEUserInfo
Default implementation of the WebADEUserInfo. Each setter can only be called once, after which the set methods will throw a RuntimeException.
| Field Summary |
| Fields inherited from interface ca.bc.gov.webade.user.WebADEUserInfo |
CONTACT_ADDRESS_CITY, CONTACT_ADDRESS_COUNTRY, CONTACT_ADDRESS_LINE_1, CONTACT_ADDRESS_LINE_2, CONTACT_ADDRESS_POSTAL_CODE, CONTACT_ADDRESS_PROVINCE, CONTACT_ADDRESS_UNSTRUCTURED, DEPARTMENT, DISPLAY_NAME, EMAIL_ADDRESS, EXPIRY_DATE, FIRST_NAME, IS_VISIBLE, LAST_NAME, MIDDLE_INITIAL, PHONE_NUMBER, PREFERRED_NAME, USER_CREDENTIALS |
| Constructor Summary | |
AbstractWebADEUserInfo()
Default Constructor. |
|
AbstractWebADEUserInfo(AbstractWebADEUserInfo user)
Copy constructor. |
|
AbstractWebADEUserInfo(UserCredentials userCredentials)
User Credentials Constructor. |
|
| Method Summary | |
abstract java.lang.Object |
clone()
Clones the WebADEUserInfo object. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String[] |
getAttributeNames()
Returns the set of attribute names for user attributes supported by this object instance. |
java.lang.Object |
getAttributeValue(java.lang.String attributeName)
Returns the value for the attribute with the given name. |
java.lang.String |
getContactAddressCity()
|
java.lang.String |
getContactAddressCountry()
|
java.lang.String |
getContactAddressLine1()
|
java.lang.String |
getContactAddressLine2()
|
java.lang.String |
getContactAddressPostalCode()
|
java.lang.String |
getContactAddressProvince()
|
java.lang.String |
getContactAddressUnstructured()
|
java.lang.String |
getDepartment()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getEmailAddress()
|
java.util.Date |
getExpiryDate()
Deprecated. Expiry Date is no longer supported by the BCeID web service. |
java.lang.String |
getFirstName()
|
java.lang.String |
getLastName()
|
java.lang.String |
getMiddleInitial()
|
java.lang.String |
getPhoneNumber()
|
java.lang.String |
getPreferredName()
|
UserCredentials |
getUserCredentials()
|
boolean |
hasAttribute(java.lang.String attributeName)
Returns whether this object instance supports the attribute with the given name. |
int |
hashCode()
|
boolean |
isReadOnly()
|
boolean |
isVisible()
|
void |
setContactAddressCity(java.lang.String contactAddressCity)
Sets this user's contactAddressCity attribute to the given value. |
void |
setContactAddressCountry(java.lang.String contactAddressCountry)
Sets this user's contactAddressCountry attribute to the given value. |
void |
setContactAddressLine1(java.lang.String contactAddressLine1)
Sets this user's contactAddressLine1 attribute to the given value. |
void |
setContactAddressLine2(java.lang.String contactAddressLine2)
Sets this user's contactAddressLine2 attribute to the given value. |
void |
setContactAddressPostalCode(java.lang.String contactAddressPostalCode)
Sets this user's contactAddressPostalCode attribute to the given value. |
void |
setContactAddressProvince(java.lang.String contactAddressProvince)
Sets this user's contactAddressProvince attribute to the given value. |
void |
setContactAddressUnstructured(java.lang.String contactAddressUnstructured)
Sets this user's contactAddressUnstructured attribute to the given value. |
void |
setDepartment(java.lang.String department)
Sets this user's department attribute to the given value. |
void |
setDisplayName(java.lang.String displayName)
Sets this user's displayName attribute to the given value. |
void |
setEmailAddress(java.lang.String emailAddress)
Sets this user's emailAddress attribute to the given value. |
void |
setExpiryDate(java.util.Date expiryDate)
Deprecated. Expiry Date is no longer supported by the BCeID web service. |
void |
setFirstName(java.lang.String firstName)
Sets this user's firstName attribute to the given value. |
void |
setLastName(java.lang.String lastName)
Sets this user's lastName attribute to the given value. |
void |
setMiddleInitial(java.lang.String middleInitial)
Sets this user's middleInitial attribute to the given value. |
void |
setPhoneNumber(java.lang.String phoneNumber)
Sets this user's phoneNumber attribute to the given value. |
void |
setPreferredName(java.lang.String preferredName)
Sets this user's preferredName attribute to the given value. |
void |
setReadOnly()
Sets the attributes of this object are non-editable. |
void |
setUserCredentials(UserCredentials userCredentials)
Sets this instance's user credentials to the given settings. |
void |
setVisible(boolean visible)
Sets this user's visible flag attribute to the given value. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AbstractWebADEUserInfo()
public AbstractWebADEUserInfo(UserCredentials userCredentials)
userCredentials - The user credentials to set for this user.public AbstractWebADEUserInfo(AbstractWebADEUserInfo user)
user - The user object to copy.| Method Detail |
public final UserCredentials getUserCredentials()
getUserCredentials in interface WebADEUserInfoWebADEUserInfo.getUserCredentials()public final java.lang.String getDisplayName()
getDisplayName in interface WebADEUserInfoWebADEUserInfo.getDisplayName()public final java.lang.String getLastName()
getLastName in interface WebADEUserInfoWebADEUserInfo.getLastName()public final java.lang.String getFirstName()
getFirstName in interface WebADEUserInfoWebADEUserInfo.getFirstName()public final java.lang.String getMiddleInitial()
getMiddleInitial in interface WebADEUserInfoWebADEUserInfo.getMiddleInitial()public final java.lang.String getEmailAddress()
getEmailAddress in interface WebADEUserInfoWebADEUserInfo.getEmailAddress()public final java.lang.String getPhoneNumber()
getPhoneNumber in interface WebADEUserInfoWebADEUserInfo.getPhoneNumber()public final java.lang.String getPreferredName()
getPreferredName in interface WebADEUserInfoWebADEUserInfo.getPreferredName()public final java.lang.String getDepartment()
getDepartment in interface WebADEUserInfoWebADEUserInfo.getDepartment()public final java.lang.String getContactAddressLine1()
getContactAddressLine1 in interface WebADEUserInfoWebADEUserInfo.getContactAddressLine1()public final java.lang.String getContactAddressLine2()
getContactAddressLine2 in interface WebADEUserInfoWebADEUserInfo.getContactAddressLine2()public final java.lang.String getContactAddressCity()
getContactAddressCity in interface WebADEUserInfoWebADEUserInfo.getContactAddressCity()public final java.lang.String getContactAddressProvince()
getContactAddressProvince in interface WebADEUserInfoWebADEUserInfo.getContactAddressProvince()public final java.lang.String getContactAddressCountry()
getContactAddressCountry in interface WebADEUserInfoWebADEUserInfo.getContactAddressCountry()public final java.lang.String getContactAddressPostalCode()
getContactAddressPostalCode in interface WebADEUserInfoWebADEUserInfo.getContactAddressPostalCode()public final java.lang.String getContactAddressUnstructured()
getContactAddressUnstructured in interface WebADEUserInfoWebADEUserInfo.getContactAddressUnstructured()public final java.util.Date getExpiryDate()
getExpiryDate in interface WebADEUserInfoWebADEUserInfo.getExpiryDate()public final boolean isVisible()
isVisible in interface WebADEUserInfoWebADEUserInfo.isVisible()public java.lang.String[] getAttributeNames()
WebADEUserInfo
getAttributeNames in interface WebADEUserInfoWebADEUserInfo.getAttributeNames()public java.lang.Object getAttributeValue(java.lang.String attributeName)
WebADEUserInfo
getAttributeValue in interface WebADEUserInfoattributeName - The name constant assigned to the user attribute.
WebADEUserInfo.getAttributeValue(java.lang.String)public boolean hasAttribute(java.lang.String attributeName)
WebADEUserInfo
hasAttribute in interface WebADEUserInfoattributeName - The name constant assigned to the target user attribute.
WebADEUserInfo.hasAttribute(java.lang.String)public final void setDisplayName(java.lang.String displayName)
displayName - The displayName to set.public final void setEmailAddress(java.lang.String emailAddress)
emailAddress - The emailAddress to set.public final void setExpiryDate(java.util.Date expiryDate)
expiryDate - The expiryDate to set.public final void setFirstName(java.lang.String firstName)
firstName - The firstName to set.public final void setLastName(java.lang.String lastName)
lastName - The lastName to set.public final void setMiddleInitial(java.lang.String middleInitial)
middleInitial - The middleInitial to set.public final void setPhoneNumber(java.lang.String phoneNumber)
phoneNumber - The phoneNumber to set.public final void setPreferredName(java.lang.String preferredName)
preferredName - The preferredName to set.public final void setDepartment(java.lang.String department)
department - The department to set.public final void setContactAddressLine1(java.lang.String contactAddressLine1)
contactAddressLine1 - The contactAddressLine1 to set.public final void setContactAddressLine2(java.lang.String contactAddressLine2)
contactAddressLine2 - The contactAddressLine2 to set.public final void setContactAddressCity(java.lang.String contactAddressCity)
contactAddressCity - The contactAddressCity to set.public final void setContactAddressProvince(java.lang.String contactAddressProvince)
contactAddressProvince - The contactAddressProvince to set.public final void setContactAddressCountry(java.lang.String contactAddressCountry)
contactAddressCountry - The contactAddressCountry to set.public final void setContactAddressPostalCode(java.lang.String contactAddressPostalCode)
contactAddressPostalCode - The contactAddressPostalCode to set.public final void setContactAddressUnstructured(java.lang.String contactAddressUnstructured)
contactAddressUnstructured - The contactAddressUnstructured to set.public final void setUserCredentials(UserCredentials userCredentials)
userCredentials - The user's credentials to set.public final void setVisible(boolean visible)
visible - The visible to set.public final void setReadOnly()
setReadOnly in interface WebADEUserInfopublic final boolean isReadOnly()
isReadOnly in interface WebADEUserInfopublic abstract java.lang.Object clone()
clone in interface WebADEUserInfopublic java.lang.String toString()
public boolean equals(java.lang.Object obj)
Object.equals(java.lang.Object)public int hashCode()
Object.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||