|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.schedassist.model.AbstractCalendarAccount
public abstract class AbstractCalendarAccount
Abstract super type for ICalendarAccount.
| Field Summary | |
|---|---|
protected String |
calendarUniqueId
|
protected String |
displayName
|
protected boolean |
eligible
|
protected String |
emailAddress
|
protected String |
username
|
| Constructor Summary | |
|---|---|
AbstractCalendarAccount()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
protected List<String> |
getAttributeListSafely(String attributeName)
|
abstract Map<String,List<String>> |
getAttributes()
|
String |
getAttributeValue(String attributeName)
Get the value of the specified single-valued attribute on the account. |
List<String> |
getAttributeValues(String attributeName)
Get the list of values of the specified multi-valued attribute on the account. |
abstract String |
getCalendarLoginId()
Get the ID (as a String) used to authenticate with the calendar system. |
String |
getCalendarUniqueId()
Get the unique identifier (as a String) for this account in
the calendar system. |
String |
getDisplayName()
The "display name" for the account. |
String |
getEmailAddress()
|
protected String |
getSingleAttributeValue(List<String> attributeValues)
|
String |
getUsername()
The common "username" for the account. |
int |
hashCode()
|
boolean |
isDelegate()
|
boolean |
isEligible()
|
void |
setCalendarUniqueId(String calendarUniqueId)
|
void |
setDisplayName(String displayName)
|
void |
setEligible(boolean eligible)
|
void |
setEmailAddress(String emailAddress)
|
void |
setUsername(String username)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String calendarUniqueId
protected String emailAddress
protected String displayName
protected String username
protected boolean eligible
| Constructor Detail |
|---|
public AbstractCalendarAccount()
| Method Detail |
|---|
public String getCalendarUniqueId()
ICalendarAccountString) for this account in
the calendar system.
May or may not be identical to ICalendarAccount.getCalendarLoginId(), depending
on the calendar system (or account type).
getCalendarUniqueId in interface ICalendarAccountString) for this account in the calendar system.public String getEmailAddress()
getEmailAddress in interface ICalendarAccountpublic String getDisplayName()
ICalendarAccount
getDisplayName in interface ICalendarAccountpublic String getUsername()
ICalendarAccountICalendarAccount.getCalendarLoginId(), depending
on the calendar system (or account type).
getUsername in interface ICalendarAccountpublic boolean isEligible()
isEligible in interface ICalendarAccountpublic void setCalendarUniqueId(String calendarUniqueId)
calendarUniqueId - the calendarUniqueId to setpublic void setEmailAddress(String emailAddress)
emailAddress - the emailAddress to setpublic void setDisplayName(String displayName)
displayName - the name to setpublic void setUsername(String username)
username - the username to setpublic void setEligible(boolean eligible)
eligible - the eligible to setpublic boolean isDelegate()
isDelegate in interface ICalendarAccountprotected List<String> getAttributeListSafely(String attributeName)
attributeName -
protected String getSingleAttributeValue(List<String> attributeValues)
attributeValues -
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic final String getAttributeValue(String attributeName)
ICalendarAccount
getAttributeValue in interface ICalendarAccountpublic abstract Map<String,List<String>> getAttributes()
getAttributes in interface ICalendarAccountpublic abstract String getCalendarLoginId()
ICalendarAccountString) used to authenticate with the calendar system.
getCalendarLoginId in interface ICalendarAccountString) used to authenticate with the calendar system.public final List<String> getAttributeValues(String attributeName)
ICalendarAccount
getAttributeValues in interface ICalendarAccount
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||