|
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
This class represents the data model for the add appointment page (add_appointment.jsp
).
Field Summary | |
static int |
ALL_DAY_OPTION_ALL_DAY
This represents the 'all day' all day option. |
static int |
ALL_DAY_OPTION_TIME
This represents the 'time' all day option. |
static int |
REPEAT_OPTION_DO_NOT_REPEAT
This represents the 'do not repeat' repeat option. |
static int |
REPEAT_OPTION_REPEAT_ANNUAL
This represents the 'repeat annual' repeat option. |
static int |
REPEAT_OPTION_REPEAT_INTERVAL
This represents the 'repeat interval' repeat option. |
static int |
REPEAT_OPTION_REPEAT_MONTHLY
This represents the 'repeat monthly' repeat option. |
static int |
REPEAT_OPTION_REPEAT_MONTHLY_BY_DAY
This represents the 'repeat monthly by day' repeat option. |
static int |
REPEAT_OPTION_REPEAT_WEEKLY
This represents the 'repeat weekly' repeat option. |
static int |
UNTIL_OPTION_ALWAYS
This represents the 'always' until option. |
static int |
UNTIL_OPTION_FOR
This represents the 'for' until option. |
static int |
UNTIL_OPTION_OCCURRENCES
This represents the 'occurrences' until option. |
static int |
UNTIL_OPTION_UNTIL_DATE
This represents the 'until date' until option. |
Constructor Summary | |
AddAppointmentModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities,
FeatureGroup featureGroup,
GroupwarePreferences groupwarePrefs,
CalendarPreferences calendarPrefs,
Accounts accounts)
Constructor. |
Method Summary | |
AppointmentType |
getAppointmentType()
Gets the appointment type. |
boolean |
getEmailCommaSeparator()
Gets the recipients email comma separator flag. |
java.util.Date |
getStartDate()
Gets the start date. |
java.lang.String |
getStartDateDayString(java.util.Date givenDate)
Gets the start date day string. |
int |
getStartDateMonth(java.util.Date givenDate)
Gets the start date month. |
java.lang.String |
getStartDateYearString(java.util.Date givenDate)
Gets the start date year string. |
java.util.Date |
getUntilDate(java.util.Date givenDate)
Gets the until date. |
java.lang.String |
getUntilDateDayString(java.util.Date givenDate)
Gets the until date day string. |
int |
getUntilDateMonth(java.util.Date givenDate)
Gets the until date month. |
java.lang.String |
getUntilDateYearString(java.util.Date givenDate)
Gets the until date year string. |
void |
setAppointmentType(AppointmentType type)
Sets the appointment type. |
void |
setEmailCommaSeparator(boolean bEmailCommaSeparator)
Sets the recipients email comma separator flag. |
void |
setStartDate(java.util.Date givenDate)
Sets the start date. |
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 |
Field Detail |
public static final int REPEAT_OPTION_DO_NOT_REPEAT
public static final int REPEAT_OPTION_REPEAT_INTERVAL
public static final int REPEAT_OPTION_REPEAT_ANNUAL
public static final int REPEAT_OPTION_REPEAT_WEEKLY
public static final int REPEAT_OPTION_REPEAT_MONTHLY
public static final int REPEAT_OPTION_REPEAT_MONTHLY_BY_DAY
public static final int UNTIL_OPTION_ALWAYS
public static final int UNTIL_OPTION_UNTIL_DATE
public static final int UNTIL_OPTION_OCCURRENCES
public static final int UNTIL_OPTION_FOR
public static final int ALL_DAY_OPTION_ALL_DAY
public static final int ALL_DAY_OPTION_TIME
Constructor Detail |
public AddAppointmentModel(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 java.lang.String getStartDateDayString(java.util.Date givenDate)
public java.lang.String getUntilDateDayString(java.util.Date givenDate)
public java.lang.String getStartDateYearString(java.util.Date givenDate)
public java.lang.String getUntilDateYearString(java.util.Date givenDate)
public int getStartDateMonth(java.util.Date givenDate)
public int getUntilDateMonth(java.util.Date givenDate)
public java.util.Date getUntilDate(java.util.Date givenDate)
public java.util.Date getStartDate()
public void setStartDate(java.util.Date givenDate)
public boolean getEmailCommaSeparator()
true
if using comma as the email separator for recipients or false
otherwisepublic void setEmailCommaSeparator(boolean bEmailCommaSeparator)
bEmailCommaSeparator
- the email comma separator flagpublic AppointmentType getAppointmentType()
public void setAppointmentType(AppointmentType type)
type
- the appointment type (may not be null
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |