|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CalendarStore
CalendarStore provides a data store for calendar listings and configurations.
| Method Summary | |
|---|---|
void |
deleteCalendarConfiguration(CalendarConfiguration configuration)
Remove a calendar configuration from the data store |
void |
deleteCalendarDefinition(CalendarDefinition definition)
Remove a calendar definition from the data store. |
CalendarConfiguration |
getCalendarConfiguration(java.lang.Long id)
Retrieve a calendar configuration. |
java.util.List<CalendarConfiguration> |
getCalendarConfigurations(java.lang.String subscribeId)
Retrieve a list of calendar configurations for the specified portlet. |
CalendarDefinition |
getCalendarDefinition(java.lang.Long id)
Retrieve a calendar definition. |
java.util.List<PredefinedCalendarDefinition> |
getHiddenPredefinedCalendarDefinitions(java.lang.String subscribeId,
java.util.Set<java.lang.String> role)
Retrieve a list of hidden predefined calendars for this portlet subscription and role. |
java.util.List<PredefinedCalendarConfiguration> |
getPredefinedCalendarConfigurations()
Retrieve a list of all pre-defined calendar configurations. |
java.util.List<PredefinedCalendarConfiguration> |
getPredefinedCalendarConfigurations(java.lang.String subscribeId,
boolean visibleOnly)
Retrieve a list of pre-defined calendar configurations for the specified portlet. |
PredefinedCalendarDefinition |
getPredefinedCalendarDefinition(java.lang.Long id)
Retrieve a pre-defined calendar definition |
java.util.List<UserDefinedCalendarConfiguration> |
getUserDefinedCalendarConfigurations(java.lang.String subscribeId,
boolean visibleOnly)
Retrieve a list of user-defined calendar configurations for the specified portlet. |
java.util.List<java.lang.String> |
getUserRoles()
Get a list of all user roles currently in use. |
void |
initCalendar(java.lang.String subscribeId,
java.util.Set<java.lang.String> roles)
Initialize calendar subscriptions for a given portlet subscription and role. |
void |
storeCalendarConfiguration(CalendarConfiguration configuration)
Save or update a calendar configuration. |
void |
storeCalendarDefinition(CalendarDefinition definition)
Save or update a calendar definition. |
| Method Detail |
|---|
void storeCalendarDefinition(CalendarDefinition definition)
definition - CalendarDefinition to be persistedCalendarDefinition getCalendarDefinition(java.lang.Long id)
id - ID of the calendar definition to be retrieved
PredefinedCalendarDefinition getPredefinedCalendarDefinition(java.lang.Long id)
id - ID of the calendar definition to be retrieved
void storeCalendarConfiguration(CalendarConfiguration configuration)
configuration - CalendarConfiguration to be persistedCalendarConfiguration getCalendarConfiguration(java.lang.Long id)
id - ID of the calendar configuration to be retrieved
java.util.List<CalendarConfiguration> getCalendarConfigurations(java.lang.String subscribeId)
subscribeId - unique ID for this portlet subscription
java.util.List<UserDefinedCalendarConfiguration> getUserDefinedCalendarConfigurations(java.lang.String subscribeId,
boolean visibleOnly)
subscribeId - unique ID for this portlet subscriptionvisibleOnly - true to retrieve only non-hidden calendar
configurations, false otherwise
java.util.List<PredefinedCalendarConfiguration> getPredefinedCalendarConfigurations(java.lang.String subscribeId,
boolean visibleOnly)
subscribeId - unique ID for this portlet subscriptionvisibleOnly - true to retrieve only non-hidden calendar
configurations, false otherwise
java.util.List<PredefinedCalendarConfiguration> getPredefinedCalendarConfigurations()
void deleteCalendarConfiguration(CalendarConfiguration configuration)
configuration - configuration to be removedvoid deleteCalendarDefinition(CalendarDefinition definition)
definition - definition to be removed
void initCalendar(java.lang.String subscribeId,
java.util.Set<java.lang.String> roles)
subscribeId - unique ID for this portlet subscriptionroles - user roles to use to find default calendars
java.util.List<PredefinedCalendarDefinition> getHiddenPredefinedCalendarDefinitions(java.lang.String subscribeId,
java.util.Set<java.lang.String> role)
subscribeId - unique ID for this portlet subscriptionrole - user role to use to find default calendars
java.util.List<java.lang.String> getUserRoles()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||