readLifecycleFlags

public abstract Optional<LifecycleFlags> readLifecycleFlags(I id)

Reads the lifecycle status for the entity with the passed ID.

This method returns Optional.empty() if none of the flags were set before.

Return

the aggregate lifecycle flags or Optional.empty()

Parameters

id

the ID of the entity