Interface PermissionsAgent


public interface PermissionsAgent
Agent providing access to permission information.
Since:
5.2.200905
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Agent providing access to permission information.
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides activities for the given element containing permissions as defined in the meta data field of the fieldname configured in the project.
    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

  • Method Details

    • getActivities

      @NotNull @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.
      Parameters:
      element - The element to fetch the activities for.
      Returns:
      A collection of activities.
      Since:
      5.2.200905
    • getActivities

      @NotNull @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. 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