Package org.xwiki.eventstream
Interface EventStatusManager
-
@Role @Deprecated(since="14.6-rc-1") public interface EventStatusManager
Deprecated.useEventStore
insteadHandle the statuses for the events.- Since:
- 9.2RC1
- Version:
- $Id: e2611ac6daa5e0d3300b51e2a30ffba5278cc9c2 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
deleteAllForEntity(Date startDate, String entityId)
Deprecated.since 12.6, useEventStore.deleteEventStatuses(String, Date)
insteaddefault void
deleteEventStatus(org.xwiki.eventstream.EventStatus eventStatus)
Deprecated.since 12.5RC1, useEventStore.deleteEventStatus(EventStatus)
insteadList<org.xwiki.eventstream.EventStatus>
getEventStatus(List<org.xwiki.eventstream.Event> events, List<String> entityIds)
Deprecated.useEventStore.getEventStatuses(java.util.Collection, java.util.Collection)
insteadvoid
saveEventStatus(org.xwiki.eventstream.EventStatus eventStatus)
Deprecated.since 12.3RC1, useEventStore.saveEventStatus(EventStatus)
instead
-
-
-
Method Detail
-
getEventStatus
@Deprecated(since="14.6-rc-1") List<org.xwiki.eventstream.EventStatus> getEventStatus(List<org.xwiki.eventstream.Event> events, List<String> entityIds) throws Exception
Deprecated.useEventStore.getEventStatuses(java.util.Collection, java.util.Collection)
insteadGet the list of statuses concerning the given events and the given entities.- Parameters:
events
- a list of eventsentityIds
- a list of ids of entities (users and groups)- Returns:
- the list of statuses corresponding to each pair or event/entity
- Throws:
Exception
- if an error occurs
-
saveEventStatus
@Deprecated void saveEventStatus(org.xwiki.eventstream.EventStatus eventStatus) throws Exception
Deprecated.since 12.3RC1, useEventStore.saveEventStatus(EventStatus)
insteadSave in the storage the given status.- Parameters:
eventStatus
- the status to save- Throws:
Exception
- if an error occurs
-
deleteEventStatus
@Deprecated default void deleteEventStatus(org.xwiki.eventstream.EventStatus eventStatus) throws Exception
Deprecated.since 12.5RC1, useEventStore.deleteEventStatus(EventStatus)
insteadDelete from the storage the given status.- Parameters:
eventStatus
- the status to save- Throws:
Exception
- if an error occurs- Since:
- 12.5RC1
-
deleteAllForEntity
@Deprecated default void deleteAllForEntity(Date startDate, String entityId) throws Exception
Deprecated.since 12.6, useEventStore.deleteEventStatuses(String, Date)
instead- Parameters:
startDate
- date before which to remove event statusentityId
- the id of the entity concerned by the status- Throws:
Exception
- if an error occurs- Since:
- 12.1RC1
-
-