S
- Defined by the sub-interface to specify the type of entity
selection associated with the declared user service.public interface ActivationContextWithDatasetSet<S extends DatasetEntitySelection> extends ActivationContext<S>, DataspaceSet, DatasetSet
The maximum activation scope for the set of datasets depends on the type of user declaration:
DataspaceSet.DataspaceChildrenPolicy, DataspaceSet.DataspaceType
DatasetSet.DatasetChildrenPolicy
Modifier and Type | Method and Description |
---|---|
SchemaNode |
getDataModelRootNode()
Returns the root node of the current data model,
null if the service is being registered in the context of
a module. |
void |
setActivationRule(ServiceActivationRuleForDataset anActivationRule)
Activates the service using an advanced rule based on the current dataset.
|
getAvailableToolbarLocations, setDefaultPermission, setDisplayForAllLocations, setDisplayForLocations, setPermissionRule
excludeDataspacesMatching, excludeDataspacesMatching, includeAllDataspaces, includeDataspacesMatching, includeDataspacesMatching, setIgnoreDataspacesDefaultExcludes
excludeDatasetsMatching, excludeDatasetsMatching, includeAllDatasets, includeDatasetsMatching, includeDatasetsMatching
SchemaNode getDataModelRootNode()
null
if the service is being registered in the context of
a module.void setActivationRule(ServiceActivationRuleForDataset anActivationRule)
Deactivated user services are unavailable in the specified context, including in permission UI screens.
When a service is activated dynamically for a given dataset,
the service default permission is set for all profiles in this dataset
(see ActivationContext.setDefaultPermission(UserServicePermission)
).