server
1.9.0
jvm
server
/
io.spine.server.tenant
/
EventOperation
Event
Operation
public
abstract
class
EventOperation
extends
TenantAwareOperation
A tenant-aware operation performed in relation to an event.
Members
Constructors
Event
Operation
Link copied to clipboard
protected
void
EventOperation
(
Event event
)
Creates an instance of the operation on the tenant related to the event.
Properties
event
Link copied to clipboard
protected
final
Event
event
The event because of which the operation is performed.
Functions
get
Event
Link copied to clipboard
protected
Event
getEvent
(
)
Obtains the ID of the event.
Inherited functions
execute
Link copied to clipboard
public
void
execute
(
)
Executes the operation.
is
Tenant
Set
Link copied to clipboard
public
static
boolean
isTenantSet
(
)
Verifies whether a current tenant is set in the execution context.
run
Link copied to clipboard
public
abstract
void
run
(
)