@Role
public interface EventStatusManager
Modifier and Type | Method and Description |
---|---|
default void |
deleteAllForEntity(Date startDate,
String entityId)
Deprecated.
since 12.6, use
EventStore.deleteEventStatuses(String, Date) instead |
default void |
deleteEventStatus(EventStatus eventStatus)
Deprecated.
since 12.5RC1, use
EventStore.deleteEventStatus(EventStatus) instead |
List<EventStatus> |
getEventStatus(List<Event> events,
List<String> entityIds)
Get the list of statuses concerning the given events and the given entities.
|
void |
saveEventStatus(EventStatus eventStatus)
Deprecated.
since 12.3RC1, use
EventStore.saveEventStatus(EventStatus) instead |
List<EventStatus> getEventStatus(List<Event> events, List<String> entityIds) throws Exception
events
- a list of eventsentityIds
- a list of ids of entities (users and groups)Exception
- if an error occurs@Deprecated void saveEventStatus(EventStatus eventStatus) throws Exception
EventStore.saveEventStatus(EventStatus)
insteadeventStatus
- the status to saveException
- if an error occurs@Deprecated default void deleteEventStatus(EventStatus eventStatus) throws Exception
EventStore.deleteEventStatus(EventStatus)
insteadeventStatus
- the status to saveException
- if an error occurs@Deprecated default void deleteAllForEntity(Date startDate, String entityId) throws Exception
EventStore.deleteEventStatuses(String, Date)
insteadstartDate
- date before which to remove event statusentityId
- the id of the entity concerned by the statusException
- if an error occursCopyright © 2004–2021 XWiki. All rights reserved.