|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectportlets.compoze.groupware.model.AbstractModel
portlets.compoze.groupware.model.calendar.CalendarModel
portlets.compoze.groupware.model.calendar.AddAppointmentModel
portlets.compoze.groupware.model.calendar.EditAppointmentModel
This class represents the data model for the edit appointment page (edit_appointment.jsp
).
Field Summary |
Fields inherited from class portlets.compoze.groupware.model.calendar.AddAppointmentModel |
ALL_DAY_OPTION_ALL_DAY, ALL_DAY_OPTION_TIME, REPEAT_OPTION_DO_NOT_REPEAT, REPEAT_OPTION_REPEAT_ANNUAL, REPEAT_OPTION_REPEAT_INTERVAL, REPEAT_OPTION_REPEAT_MONTHLY, REPEAT_OPTION_REPEAT_MONTHLY_BY_DAY, REPEAT_OPTION_REPEAT_WEEKLY, UNTIL_OPTION_ALWAYS, UNTIL_OPTION_FOR, UNTIL_OPTION_OCCURRENCES, UNTIL_OPTION_UNTIL_DATE |
Constructor Summary | |
EditAppointmentModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities,
FeatureGroup featureGroup,
GroupwarePreferences groupwarePrefs,
CalendarPreferences calendarPrefs,
Accounts accounts)
Constructor. |
Method Summary | |
Appointment |
getAppointment()
Gets the appointment to edit. |
int |
getDay(java.util.Date givenDate)
Gets the day. |
boolean |
getEmailCommaSeparator()
Gets the recipients email comma separator flag. |
java.lang.String |
getFileNames()
Gets the file names. |
int |
getHourOfDay(java.util.Date givenDate)
Gets the hour of day. |
java.util.Date |
getInstanceDate()
Gets the instance date. |
int |
getMinute(java.util.Date givenDate)
Gets the minute. |
int |
getMonth(java.util.Date givenDate)
Gets the month. |
portlets.compoze.groupware.controls.provider.Provider |
getProvider()
Gets the provider. |
java.util.Date |
getUntilDate(java.util.Date givenDate)
Gets the until date. |
int |
getYear(java.util.Date givenDate)
Gets the year. |
boolean |
isOpenSeries()
Checks if the appointment is the an open series. |
void |
setAppointment(Appointment apt)
Sets the appointment to edit. |
void |
setEmailCommaSeparator(boolean bEmailCommaSeparator)
Sets the recipients email comma separator flag. |
void |
setFileNames(java.lang.String sFileNames)
Sets the file names. |
void |
setInstanceDate(java.util.Date instanceDate)
Sets the instance date. |
void |
setOpenSeries(boolean bFlag)
Sets if the appointment is the an open series. |
void |
setProvider(portlets.compoze.groupware.controls.provider.Provider provider)
Sets the provider. |
Methods inherited from class portlets.compoze.groupware.model.calendar.AddAppointmentModel |
getAppointmentType, getStartDate, getStartDateDayString, getStartDateMonth, getStartDateYearString, getUntilDateDayString, getUntilDateMonth, getUntilDateYearString, setAppointmentType, setStartDate |
Methods inherited from class portlets.compoze.groupware.model.calendar.CalendarModel |
getCalendarPreferences |
Methods inherited from class portlets.compoze.groupware.model.AbstractModel |
getAccounts, getActualTitle, getFeatureGroup, getGroupwarePreferences, getImAccount, getProviderCapabilities, getTitle, getTitleArgs, getTitleCrumbTrailKeys, isImAvailable, setActualTitle, setImAccount, setImAvailable, setTitle, setTitleArgs, setTitleCrumbTrailKeys |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EditAppointmentModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities, FeatureGroup featureGroup, GroupwarePreferences groupwarePrefs, CalendarPreferences calendarPrefs, Accounts accounts)
capabilities
- the capabilities of the provider (may not be null
)featureGroup
- the feature group (may not be null
)groupwarePrefs
- the groupware preferences (may not be null
)calendarPrefs
- the calendar preferences (may not be null
)Method Detail |
public void setOpenSeries(boolean bFlag)
bFlag
- true
if the appointment is an open series; false
otherwisepublic boolean isOpenSeries()
true
if the appointment is an open series; false
otherwisepublic Appointment getAppointment()
public void setAppointment(Appointment apt)
apt
- the appointmentpublic java.util.Date getInstanceDate()
public void setInstanceDate(java.util.Date instanceDate)
instanceDate
- the instance datepublic int getHourOfDay(java.util.Date givenDate)
givenDate
- the given date
public int getMinute(java.util.Date givenDate)
givenDate
- the given date
public int getMonth(java.util.Date givenDate)
givenDate
- the given date
public int getDay(java.util.Date givenDate)
givenDate
- the given date
public int getYear(java.util.Date givenDate)
givenDate
- the given date
public java.util.Date getUntilDate(java.util.Date givenDate)
getUntilDate
in class AddAppointmentModel
public java.lang.String getFileNames()
null
for nonepublic void setFileNames(java.lang.String sFileNames)
sFileNames
- the file names or null
for nonepublic boolean getEmailCommaSeparator()
getEmailCommaSeparator
in class AddAppointmentModel
true
if using comma as the email separator for recipients or false
otherwisepublic void setEmailCommaSeparator(boolean bEmailCommaSeparator)
setEmailCommaSeparator
in class AddAppointmentModel
bEmailCommaSeparator
- the email comma separator flagpublic void setProvider(portlets.compoze.groupware.controls.provider.Provider provider)
provider
- the provider (may not be null
)public portlets.compoze.groupware.controls.provider.Provider getProvider()
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |