|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.schedassist.model.AbstractScheduleOwner
public abstract class AbstractScheduleOwner
Abstract IScheduleOwner implementation.
All ICalendarAccount methods are implemented by delegating to the
internal ICalendarAccount required by the sole constructor.
| Constructor Summary | |
|---|---|
AbstractScheduleOwner(ICalendarAccount calendarAccount)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
ICalendarAccount |
getCalendarAccount()
|
abstract long |
getId()
Internal identifier within the Scheduling Assistant for an IScheduleOwner. |
abstract String |
getPreference(Preferences preference)
|
abstract Map<Preferences,String> |
getPreferences()
|
int |
getPreferredDefaultVisitorLimit()
|
String |
getPreferredLocation()
Short cut method to return the owner's value for Preferences.LOCATION. |
MeetingDurations |
getPreferredMeetingDurations()
Short cut method to return the owner's value for Preferences.DURATIONS. |
int |
getPreferredMinimumDuration()
Short cut method to return the owner's min value for Preferences.DURATIONS as an integer. |
VisibleWindow |
getPreferredVisibleWindow()
Short cut method to return the owner's value for Preferences.VISIBLE_WINDOW. |
Reminders |
getRemindersPreference()
Short cut method to return the owner's value for Preferences.REMINDERS. |
int |
hashCode()
|
boolean |
hasMeetingLimit()
Short cut method to determine whether this owner restricts the number of appointments that a visitor can create within a visible window. |
boolean |
isExceedingMeetingLimit(int visibleScheduleAttendingCount)
Short cut method to check if an attendee count for an event exceeds the owner's preferences. |
boolean |
isReflectSchedule()
Short cut method backed by Preferences.REFLECT_SCHEDULE. |
boolean |
isSamePerson(IScheduleVisitor visitor)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractScheduleOwner(ICalendarAccount calendarAccount)
calendarAccount - | Method Detail |
|---|
public abstract long getId()
IScheduleOwnerIScheduleOwner.
getId in interface IScheduleOwnerpublic abstract String getPreference(Preferences preference)
getPreference in interface IScheduleOwnerString value for the specified Preferencespublic abstract Map<Preferences,String> getPreferences()
getPreferences in interface IScheduleOwnerString values for their chosen Preferencespublic ICalendarAccount getCalendarAccount()
getCalendarAccount in interface IScheduleOwnerICalendarAccount that registered this accountpublic final String getPreferredLocation()
IScheduleOwnerPreferences.LOCATION.
getPreferredLocation in interface IScheduleOwnerpublic final Reminders getRemindersPreference()
IScheduleOwnerPreferences.REMINDERS.
getRemindersPreference in interface IScheduleOwnerReminderspublic final MeetingDurations getPreferredMeetingDurations()
IScheduleOwnerPreferences.DURATIONS.
getPreferredMeetingDurations in interface IScheduleOwnerMeetingDurationspublic final VisibleWindow getPreferredVisibleWindow()
IScheduleOwnerPreferences.VISIBLE_WINDOW.
getPreferredVisibleWindow in interface IScheduleOwnerVisibleWindowpublic final int getPreferredMinimumDuration()
IScheduleOwnerPreferences.DURATIONS as an integer.
getPreferredMinimumDuration in interface IScheduleOwnerPreferences.DURATIONS as an integer.public final boolean isSamePerson(IScheduleVisitor visitor)
isSamePerson in interface IScheduleOwnerIScheduleVisitor represent the same ICalendarAccountpublic final boolean hasMeetingLimit()
IScheduleOwner
hasMeetingLimit in interface IScheduleOwnerPreferences.MEETING_LIMIT is not equal to -1Preferences.MEETING_LIMITpublic final boolean isExceedingMeetingLimit(int visibleScheduleAttendingCount)
IScheduleOwner
isExceedingMeetingLimit in interface IScheduleOwnervisibleScheduleAttendingCount - the number of available attendees for an event
Preferences.MEETING_LIMITpublic final int getPreferredDefaultVisitorLimit()
getPreferredDefaultVisitorLimit in interface IScheduleOwnerPreferences.DEFAULT_VISITOR_LIMIT.public final boolean isReflectSchedule()
IScheduleOwnerPreferences.REFLECT_SCHEDULE.
isReflectSchedule in interface IScheduleOwnerpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||