Class VisibleChildPagesAnalyticsEvent

    • Constructor Detail

      • VisibleChildPagesAnalyticsEvent

        public VisibleChildPagesAnalyticsEvent​(int parentPagesCount,
                                               boolean checkInheritedPermissions,
                                               long childPagesCount,
                                               boolean isFallbackServiceUsed,
                                               long durationMillisecond,
                                               boolean permissionsExempt)
        An analytic event which is sent when method BulkPermissionService.getVisibleChildPages(ConfluenceUser, Set, boolean) is called.
        Parameters:
        parentPagesCount - Number of parent pages requested
        checkInheritedPermissions - Indicate if the inherited permissions are checked against
        childPagesCount - Number of child pages found
        isFallbackServiceUsed - Indicate if the fallback service is used instead of the normal service
        durationMillisecond - The execution duration in milliseconds
        permissionsExempt - Indicate if the user is exempt from permission check
      • VisibleChildPagesAnalyticsEvent

        public VisibleChildPagesAnalyticsEvent​(int parentPagesCount,
                                               boolean checkInheritedPermissions,
                                               long childPagesCount,
                                               boolean isFallbackServiceUsed,
                                               long durationMillisecond,
                                               boolean permissionsExempt,
                                               Integer amountOfSids)
        An analytic event which is sent when method BulkPermissionService.getVisibleChildPages(ConfluenceUser, Set, boolean) is called.
        Parameters:
        parentPagesCount - Number of parent pages requested
        checkInheritedPermissions - Indicate if the inherited permissions are checked against
        childPagesCount - Number of child pages found
        isFallbackServiceUsed - Indicate if the fallback service is used instead of the normal service
        durationMillisecond - The execution duration in milliseconds
        permissionsExempt - Indicate if the user is exempt from permission check
        amountOfSids - Amount of sids available for the current user. Should be null for fallback service
    • Method Detail

      • getParentPagesCount

        public int getParentPagesCount()
      • isCheckInheritedPermissions

        public boolean isCheckInheritedPermissions()
      • getChildPagesCount

        public long getChildPagesCount()
      • isFallbackServiceUsed

        public boolean isFallbackServiceUsed()
      • getDurationMillisecond

        public long getDurationMillisecond()
      • isPermissionsExempt

        public boolean isPermissionsExempt()
      • getAmountOfSids

        public Integer getAmountOfSids()