EventOperation

public abstract class EventOperation extends TenantAwareOperation

A tenant-aware operation performed in relation to an event.

Constructors

Link copied to clipboard
protected void EventOperation(Event event)
Creates an instance of the operation on the tenant related to the event.

Properties

Link copied to clipboard
protected final Event event
The event because of which the operation is performed.

Functions

Link copied to clipboard
protected Event getEvent()
Obtains the ID of the event.

Inherited functions

Link copied to clipboard
public void execute()
Executes the operation.
Link copied to clipboard
public static boolean isTenantSet()
Verifies whether a current tenant is set in the execution context.
Link copied to clipboard
public abstract void run()