Class PageHierarchyAuditListener
- java.lang.Object
-
- com.atlassian.confluence.impl.audit.listener.AbstractAuditListener
-
- com.atlassian.confluence.impl.audit.listener.AbstractContentAuditListener
-
- com.atlassian.confluence.impl.audit.listener.PageHierarchyAuditListener
-
public class PageHierarchyAuditListener extends AbstractContentAuditListener
Audit listener transforming and saving page hierarchy events as audit records- Since:
- 6.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
PAGE_HIERARCHY_COPY
static String
PAGE_HIERARCHY_COPY_ATTRIBUTE_ATTACHMENTS_COPIED
static String
PAGE_HIERARCHY_COPY_ATTRIBUTE_LABELS_COPIED
static String
PAGE_HIERARCHY_COPY_ATTRIBUTE_RESTRICTIONS_COPIED
static String
PAGE_HIERARCHY_COPY_ATTRIBUTE_SOURCE_PAGE
static String
PAGE_HIERARCHY_COPY_ATTRIBUTE_SOURCE_SPACE
static String
PAGE_HIERARCHY_COPY_ATTRIBUTE_TARGET_PARENT_PAGE
static String
PAGE_HIERARCHY_COPY_ATTRIBUTE_TARGET_SPACE
static String
PAGE_HIERARCHY_COPY_FINISH
static String
PAGE_HIERARCHY_DELETE_FINISH
static String
PAGE_HIERARCHY_DELETE_START
-
Fields inherited from class com.atlassian.confluence.impl.audit.listener.AbstractAuditListener
auditHelper, resourceTypes
-
-
Constructor Summary
Constructors Constructor Description PageHierarchyAuditListener(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
onCopyPageHierarchyFinishEvent(CopyPageHierarchyFinishEvent event)
void
onCopyPageHierarchyStartEvent(CopyPageHierarchyStartEvent event)
void
onDeletePageHierarchyFinishEvent(DeletePageHierarchyFinishEvent event)
void
onDeletePageHierarchyStartEvent(DeletePageHierarchyStartEvent event)
-
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
-
PAGE_HIERARCHY_COPY
public static final String PAGE_HIERARCHY_COPY
-
PAGE_HIERARCHY_COPY_FINISH
public static final String PAGE_HIERARCHY_COPY_FINISH
-
PAGE_HIERARCHY_COPY_ATTRIBUTE_ATTACHMENTS_COPIED
public static final String PAGE_HIERARCHY_COPY_ATTRIBUTE_ATTACHMENTS_COPIED
-
PAGE_HIERARCHY_COPY_ATTRIBUTE_LABELS_COPIED
public static final String PAGE_HIERARCHY_COPY_ATTRIBUTE_LABELS_COPIED
-
PAGE_HIERARCHY_COPY_ATTRIBUTE_RESTRICTIONS_COPIED
public static final String PAGE_HIERARCHY_COPY_ATTRIBUTE_RESTRICTIONS_COPIED
-
PAGE_HIERARCHY_COPY_ATTRIBUTE_SOURCE_PAGE
public static final String PAGE_HIERARCHY_COPY_ATTRIBUTE_SOURCE_PAGE
-
PAGE_HIERARCHY_COPY_ATTRIBUTE_SOURCE_SPACE
public static final String PAGE_HIERARCHY_COPY_ATTRIBUTE_SOURCE_SPACE
-
PAGE_HIERARCHY_COPY_ATTRIBUTE_TARGET_PARENT_PAGE
public static final String PAGE_HIERARCHY_COPY_ATTRIBUTE_TARGET_PARENT_PAGE
-
PAGE_HIERARCHY_COPY_ATTRIBUTE_TARGET_SPACE
public static final String PAGE_HIERARCHY_COPY_ATTRIBUTE_TARGET_SPACE
-
PAGE_HIERARCHY_DELETE_START
public static final String PAGE_HIERARCHY_DELETE_START
-
PAGE_HIERARCHY_DELETE_FINISH
public static final String PAGE_HIERARCHY_DELETE_FINISH
-
-
Constructor Detail
-
PageHierarchyAuditListener
public PageHierarchyAuditListener(AuditHandlerService auditHandlerService, com.atlassian.audit.api.AuditService service, AuditHelper auditHelper, StandardAuditResourceTypes resourceTypes, PageManager pageManager, SpaceManager spaceManager, AuditingContext auditingContext)
-
-
Method Detail
-
onDeletePageHierarchyStartEvent
@EventListener public void onDeletePageHierarchyStartEvent(DeletePageHierarchyStartEvent event)
-
onDeletePageHierarchyFinishEvent
@EventListener public void onDeletePageHierarchyFinishEvent(DeletePageHierarchyFinishEvent event)
-
onCopyPageHierarchyStartEvent
@EventListener public void onCopyPageHierarchyStartEvent(CopyPageHierarchyStartEvent event)
-
onCopyPageHierarchyFinishEvent
@EventListener public void onCopyPageHierarchyFinishEvent(CopyPageHierarchyFinishEvent event)
-
-