Interface PermissionsAgent
public interface PermissionsAgent
Agent providing access to permission information.
- Since:
- 5.2.200905
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SpecialistType<PermissionsAgent>
Agent providing access to permission information. -
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<Activity>
getActivities
(IDProvider element) Provides activities for the given element containing permissions as defined in the meta data field of the fieldname configured in the project.@NotNull Collection<Activity>
getActivities
(IDProvider element, String fieldname) Provides activities for the given element containing permissions as defined in the meta data field of the given fieldname.
-
Field Details
-
TYPE
Agent providing access to permission information.- Since:
- 5.2.200905
-
-
Method Details
-
getActivities
Provides activities for the given element containing permissions as defined in the meta data field of the fieldname configured in the project.- Parameters:
element
- The element to fetch the activities for.- Returns:
- A collection of activities.
- Since:
- 5.2.200905
-
getActivities
Provides activities for the given element containing permissions as defined in the meta data field of the given fieldname. If there is no matching field, an empty list will be returned.- Parameters:
element
- The element to fetch the activities for.fieldname
- The name of the field containing permission definitions.- Returns:
- A collection of activities.
- Since:
- 5.2.200905
-