Package org.silverpeas.core.calendar
Class AbstractCalendarService
- java.lang.Object
-
- org.silverpeas.core.calendar.AbstractCalendarService
-
- All Implemented Interfaces:
ApplicationService
- Direct Known Subclasses:
UserCalendarService
public abstract class AbstractCalendarService extends Object implements ApplicationService
Contribution manager centralization about the calendar event resources.- Author:
- silveryocha
-
-
Constructor Summary
Constructors Constructor Description AbstractCalendarService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Contribution>
getContributionById(ContributionIdentifier contributionId)
Gets the contribution handled by an instance of the component with the specified unique identifier.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.ApplicationService
getComponentMessages, getComponentSettings, isRelatedTo
-
-
-
-
Method Detail
-
getContributionById
public Optional<Contribution> getContributionById(ContributionIdentifier contributionId)
Description copied from interface:ApplicationService
Gets the contribution handled by an instance of the component with the specified unique identifier. The type of the contribution to get is provided by the given identifier.- Specified by:
getContributionById
in interfaceApplicationService
- Parameters:
contributionId
- the unique identifier of the contribution to get.- Returns:
- a contribution in Silverpeas.
-
-