Interface ServiceActivationRuleForDataset
-
public interface ServiceActivationRuleForDatasetThis interface can be implemented to dynamically figure out whether a user service is globally disabled on a dataset and/or a dataspace.- Since:
- 5.8.0
-
-
Field Summary
Fields Modifier and Type Field Description static ServiceActivationRuleForDatasetALWAYS_UNAVAILABLEDeactivates the service, regardless of the context.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAvailableFor(ServiceActivationRuleForDatasetContext aContext)Returns whether the current service is available for the specified dataset context.
-
-
-
Field Detail
-
ALWAYS_UNAVAILABLE
static final ServiceActivationRuleForDataset ALWAYS_UNAVAILABLE
Deactivates the service, regardless of the context.
-
-
Method Detail
-
isAvailableFor
boolean isAvailableFor(ServiceActivationRuleForDatasetContext aContext)
Returns whether the current service is available for the specified dataset context.If this method returns
false, the current user service is unavailable in the specified dataset, including in the user interface to define permissions.
-
-