public interface ActivationContextOnDataspace extends ActivationContext<DataspaceEntitySelection>, DataspaceSet
The maximum activation scope for this type of activation context is all dataspaces of the repository.
By default, the service is activated on all opened non-technical branches in the repository.
UserServiceDeclaration.defineActivation(ActivationContext)
DataspaceSet.DataspaceChildrenPolicy, DataspaceSet.DataspaceType
Modifier and Type | Method and Description |
---|---|
void |
setActivationRule(ServiceActivationRuleForDataspace anActivationRule)
Activates the service using an advanced rule based on the current dataspace.
|
getAvailableToolbarLocations, setDefaultPermission, setDisplayForAllLocations, setDisplayForLocations, setPermissionRule
excludeDataspacesMatching, excludeDataspacesMatching, includeAllDataspaces, includeDataspacesMatching, includeDataspacesMatching, setIgnoreDataspacesDefaultExcludes
void setActivationRule(ServiceActivationRuleForDataspace anActivationRule)
Deactivated user services are unavailable in the specified context, including in permission UI screens.
When a service is activated dynamically for a given dataspace,
the service default permission is set for all profiles in this dataspace
(see ActivationContext.setDefaultPermission(UserServicePermission)
).
ServiceActivationRuleForDataspace.isAvailableFor(ServiceActivationRuleForDataspaceContext)
is called each time the associated service is potentially displayed or executed in a user interface session.