TenantAwareOperation

public abstract class TenantAwareOperation extends TenantAware implements Runnable

An abstract base for operations on a tenant data.

See also

Inheritors

Constructors

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

Link copied to clipboard
public void execute()
Executes the operation.

Inherited functions

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()