Package com.day.cq.dam.api
Interface DamEventRecorder
- 
public interface DamEventRecorderTheDamEventRecorderspecifies 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 booleanisEnabled()A getter method to get the status of DamEventRecorder servicevoidrecord(DamEvent damEvent)Submit the givendamEventfor recording. 
 - 
 
- 
- 
Method Detail
- 
record
void record(DamEvent damEvent)
Submit the givendamEventfor recording.- Parameters:
 damEvent- TheDamEventto record.
 
- 
isEnabled
boolean isEnabled()
A getter method to get the status of DamEventRecorder service- Returns:
 - true if the DamEventRecorder service is enabled else false
 
 
 - 
 
 -