Package com.day.cq.dam.api
Interface DamEventRecorder
-
public interface DamEventRecorder
TheDamEventRecorder
specifies the possibility to record a givenDamEvent
. Implementations may do so via OSGi-eventing or by directly calling therecord(DamEvent)
method for events that must be recorded without the potential eventing-related delay between event issuance and persistence. Events are generally recorded using theActivityService
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isEnabled()
A getter method to get the status of DamEventRecorder servicevoid
record(DamEvent damEvent)
Submit the givendamEvent
for recording.
-
-
-
Method Detail
-
record
void record(DamEvent damEvent)
Submit the givendamEvent
for recording.- Parameters:
damEvent
- TheDamEvent
to record.
-
isEnabled
boolean isEnabled()
A getter method to get the status of DamEventRecorder service- Returns:
- true if the DamEventRecorder service is enabled else false
-
-