Package org.silverpeas.web.usercalendar
Class UserCalendarService
- java.lang.Object
-
- org.silverpeas.core.calendar.AbstractCalendarService
-
- org.silverpeas.web.usercalendar.UserCalendarService
-
- All Implemented Interfaces:
ApplicationService
@Service @Named("userCalendarService") public class UserCalendarService extends AbstractCalendarService
Implementation of the calendar service to serv the calendar of the current user.- Author:
- silveryocha
-
-
Constructor Summary
Constructors Constructor Description UserCalendarService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.silverpeas.kernel.bundle.LocalizationBundle
getComponentMessages(String language)
Gets the localized messages defined in this Silverpeas component.org.silverpeas.kernel.bundle.SettingBundle
getComponentSettings()
Gets the settings of this Silverpeas component.boolean
isRelatedTo(String instanceId)
Is this service related to the specified component instance.-
Methods inherited from class org.silverpeas.core.calendar.AbstractCalendarService
getContributionById
-
-
-
-
Method Detail
-
getComponentSettings
public org.silverpeas.kernel.bundle.SettingBundle getComponentSettings()
Description copied from interface:ApplicationService
Gets the settings of this Silverpeas component.- Returns:
- a SettingBundle instance giving access the settings.
-
getComponentMessages
public org.silverpeas.kernel.bundle.LocalizationBundle getComponentMessages(String language)
Description copied from interface:ApplicationService
Gets the localized messages defined in this Silverpeas component.- Parameters:
language
- the language in which the messages has to be localized. If empty or null, then the bundle with default messages is returned.- Returns:
- a LocalizationBundle instance giving access the localized messages.
-
isRelatedTo
public boolean isRelatedTo(String instanceId)
Description copied from interface:ApplicationService
Is this service related to the specified component instance. The service is related to the specified instance if it is a service defined by the application from which the instance was spawned.- Parameters:
instanceId
- the unique instance identifier of the component.- Returns:
- true if the instance is spawn from the application to which the service is related. False otherwise.
-
-