server
1.9.0
jvm
server
/
io.spine.server.tenant
/
TenantAwareOperation
Tenant
Aware
Operation
public
abstract
class
TenantAwareOperation
extends
TenantAware
implements
Runnable
An abstract base for operations on a tenant data.
See also
execute()
Inheritors
EventOperation
Members
Constructors
Tenant
Aware
Operation
Link copied to clipboard
protected
void
TenantAwareOperation
(
)
Creates an instance of an operation which uses the
TenantId
set in the execution context.
protected
void
TenantAwareOperation
(
TenantId tenantId
)
Creates an instance of an operation for the tenant specified by the passed ID.
Functions
execute
Link copied to clipboard
public
void
execute
(
)
Executes the operation.
Inherited functions
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
(
)