Class: WikiPages::BaseService

Inherits:
BaseContainerService show all
Includes:
Gitlab::InternalEventsTracking
Defined in:
app/services/wiki_pages/base_service.rb

Overview

There are 3 notions of ‘action’ that inheriting classes must implement:

  • external_action: the action we report to external clients with webhooks

  • internal_event_name: the action that we count in out internal counters

  • event_action: what we record as the value of ‘Event#action`

Direct Known Subclasses

CreateService, DestroyService, UpdateService

Instance Attribute Summary

Attributes inherited from BaseContainerService

#container, #current_user, #group, #params, #project

Method Summary

Methods included from Gitlab::InternalEventsTracking

#track_internal_event

Methods inherited from BaseContainerService

#group_container?, #initialize, #namespace_container?, #project_container?, #project_group, #root_ancestor

Methods included from BaseServiceUtility

#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level

Methods included from Gitlab::Allowable

#can?, #can_all?, #can_any?

Constructor Details

This class inherits a constructor from BaseContainerService