Class UserCalendarService

  • All Implemented Interfaces:
    ApplicationService

    @Named("userCalendarService")
    public class UserCalendarService
    extends AbstractCalendarService
    Implementation of the calendar service to serv the calendar of the current user.
    Author:
    silveryocha
    • Constructor Detail

      • UserCalendarService

        public UserCalendarService()
    • Method Detail

      • getComponentSettings

        public SettingBundle getComponentSettings()
        Description copied from interface: ApplicationService
        Gets the settings of this Silverpeas component.
        Returns:
        a SettingBundle instance giving access the settings.
      • getComponentMessages

        public 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.