Class ContentPermissionsAuditListener
- java.lang.Object
-
- com.atlassian.confluence.impl.audit.listener.AbstractAuditListener
-
- com.atlassian.confluence.impl.audit.listener.AbstractContentAuditListener
-
- com.atlassian.confluence.impl.audit.listener.ContentPermissionsAuditListener
-
public class ContentPermissionsAuditListener extends AbstractContentAuditListener
Audit listener for content permission events.- Since:
- 7.5.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
RESTRICTED_PAGE_VIEW_EXTRA_LINK_TYPE_DRAFT
static String
RESTRICTED_PAGE_VIEW_EXTRA_LINK_TYPE_KEY
static String
RESTRICTED_PAGE_VIEW_NOT_PERMITTED_SUMMARY
-
Fields inherited from class com.atlassian.confluence.impl.audit.listener.AbstractAuditListener
auditHelper, resourceTypes
-
-
Constructor Summary
Constructors Constructor Description ContentPermissionsAuditListener(AuditHandlerService auditHandlerService, com.atlassian.audit.api.AuditService service, AuditHelper auditHelper, StandardAuditResourceTypes resourceTypes, PageManager pageManager, SpaceManager spaceManager, AuditingContext auditingContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onContentPermissionChanged(ContentPermissionAddedEvent event)
void
onContentPermissionChanged(ContentPermissionRemovedEvent event)
void
onRestrictedPageViewNotPermittedEvent(RestrictedPageViewNotPermittedEvent notPermittedEvent)
-
Methods inherited from class com.atlassian.confluence.impl.audit.listener.AbstractContentAuditListener
getSpaceName
-
Methods inherited from class com.atlassian.confluence.impl.audit.listener.AbstractAuditListener
auditEventBuilder, buildResource, buildResource, buildResourceWithoutId, calculateChangedValues, getAuditHandlerService, getOnOff, getTranslatedYesNoString, newChangedValue, save, saveIfPresent
-
-
-
-
Field Detail
-
RESTRICTED_PAGE_VIEW_NOT_PERMITTED_SUMMARY
public static final String RESTRICTED_PAGE_VIEW_NOT_PERMITTED_SUMMARY
-
RESTRICTED_PAGE_VIEW_EXTRA_LINK_TYPE_KEY
public static final String RESTRICTED_PAGE_VIEW_EXTRA_LINK_TYPE_KEY
- See Also:
- Constant Field Values
-
RESTRICTED_PAGE_VIEW_EXTRA_LINK_TYPE_DRAFT
public static final String RESTRICTED_PAGE_VIEW_EXTRA_LINK_TYPE_DRAFT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContentPermissionsAuditListener
public ContentPermissionsAuditListener(AuditHandlerService auditHandlerService, com.atlassian.audit.api.AuditService service, AuditHelper auditHelper, StandardAuditResourceTypes resourceTypes, PageManager pageManager, SpaceManager spaceManager, AuditingContext auditingContext)
-
-
Method Detail
-
onContentPermissionChanged
@EventListener public void onContentPermissionChanged(ContentPermissionAddedEvent event)
-
onContentPermissionChanged
@EventListener public void onContentPermissionChanged(ContentPermissionRemovedEvent event)
-
onRestrictedPageViewNotPermittedEvent
@EventListener public void onRestrictedPageViewNotPermittedEvent(RestrictedPageViewNotPermittedEvent notPermittedEvent)
-
-