Class PageContentAuditListener
- java.lang.Object
-
- com.atlassian.confluence.impl.audit.listener.AbstractAuditListener
-
- com.atlassian.confluence.impl.audit.listener.AbstractContentAuditListener
-
- com.atlassian.confluence.impl.audit.listener.PageContentAuditListener
-
public class PageContentAuditListener extends AbstractContentAuditListener
- Since:
- 7.5.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
BLOG_CREATE_SUMMARY
static String
BLOG_DELETE_SUMMARY
static String
BLOG_EXPORTED_TO_WORD_EVENT_SUMMARY
static String
BLOG_MOVE_SUMMARY
static String
BLOG_PURGE_SUMMARY
static String
BLOG_RESTORE_SUMMARY
static String
BLOG_UPDATE_SUMMARY
static String
BLOG_VERSION_DELETE_SUMMARY
static String
CONTENT_MOVE_SOURCE_PARENT_ATTRIBUTE
static String
CONTENT_MOVE_SOURCE_SPACE_ATTRIBUTE
static String
CONTENT_MOVE_TARGET_PARENT_ATTRIBUTE
static String
CONTENT_MOVE_TARGET_SPACE_ATTRIBUTE
static String
PAGE_CREATE_SUMMARY
static String
PAGE_DELETE_SUMMARY
static String
PAGE_EXPORTED_TO_WORD_EVENT_SUMMARY
static String
PAGE_MOVE_SUMMARY
static String
PAGE_PURGE_SUMMARY
static String
PAGE_RESTORE_SUMMARY
static String
PAGE_UPDATE_SUMMARY
static String
PAGE_VERSION_DELETE_SUMMARY
-
Fields inherited from class com.atlassian.confluence.impl.audit.listener.AbstractAuditListener
auditHelper, resourceTypes
-
-
Constructor Summary
Constructors Constructor Description PageContentAuditListener(AuditHandlerService auditHandlerService, com.atlassian.audit.api.AuditService service, AuditHelper auditHelper, StandardAuditResourceTypes resourceTypes, PageManager pageManager, SpaceManager spaceManager, DateFormatterFactory dateFormatterFactory, AuditingContext auditingContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
blogPostCreateEvent(BlogPostCreateEvent event)
void
blogPostUpdateEvent(BlogPostUpdateEvent event)
void
contentHistoricalVersionRemoveEvent(ContentHistoricalVersionRemoveEvent event)
void
onBlogPostMovedEvent(BlogPostMovedEvent event)
void
onBlogPostRestoreEvent(BlogPostRestoreEvent event)
void
onBlogPostTrashedEvent(BlogPostTrashedEvent event)
void
onContentPurgedFromTrashEvent(ContentPurgedFromTrashEvent event)
void
onContentRevertedEvent(ContentRevertedEvent event)
void
onPageMoveEvent(PageMoveEvent event)
void
onPageOrBlogExportedToWordEvent(ContentExportedToWordEvent event)
void
onPageRestoreEvent(PageRestoreEvent event)
void
onPageTrashedEvent(PageTrashedEvent event)
void
pageCreateEvent(PageCreateEvent event)
void
pageUpdateEvent(PageUpdateEvent 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_CREATE_SUMMARY
public static final String PAGE_CREATE_SUMMARY
-
PAGE_UPDATE_SUMMARY
public static final String PAGE_UPDATE_SUMMARY
-
PAGE_DELETE_SUMMARY
public static final String PAGE_DELETE_SUMMARY
-
PAGE_RESTORE_SUMMARY
public static final String PAGE_RESTORE_SUMMARY
-
PAGE_PURGE_SUMMARY
public static final String PAGE_PURGE_SUMMARY
-
PAGE_VERSION_DELETE_SUMMARY
public static final String PAGE_VERSION_DELETE_SUMMARY
-
PAGE_MOVE_SUMMARY
public static final String PAGE_MOVE_SUMMARY
-
BLOG_CREATE_SUMMARY
public static final String BLOG_CREATE_SUMMARY
-
BLOG_UPDATE_SUMMARY
public static final String BLOG_UPDATE_SUMMARY
-
BLOG_DELETE_SUMMARY
public static final String BLOG_DELETE_SUMMARY
-
BLOG_RESTORE_SUMMARY
public static final String BLOG_RESTORE_SUMMARY
-
BLOG_PURGE_SUMMARY
public static final String BLOG_PURGE_SUMMARY
-
BLOG_VERSION_DELETE_SUMMARY
public static final String BLOG_VERSION_DELETE_SUMMARY
-
BLOG_MOVE_SUMMARY
public static final String BLOG_MOVE_SUMMARY
-
PAGE_EXPORTED_TO_WORD_EVENT_SUMMARY
public static final String PAGE_EXPORTED_TO_WORD_EVENT_SUMMARY
-
BLOG_EXPORTED_TO_WORD_EVENT_SUMMARY
public static final String BLOG_EXPORTED_TO_WORD_EVENT_SUMMARY
-
CONTENT_MOVE_SOURCE_SPACE_ATTRIBUTE
public static final String CONTENT_MOVE_SOURCE_SPACE_ATTRIBUTE
-
CONTENT_MOVE_SOURCE_PARENT_ATTRIBUTE
public static final String CONTENT_MOVE_SOURCE_PARENT_ATTRIBUTE
-
CONTENT_MOVE_TARGET_PARENT_ATTRIBUTE
public static final String CONTENT_MOVE_TARGET_PARENT_ATTRIBUTE
-
CONTENT_MOVE_TARGET_SPACE_ATTRIBUTE
public static final String CONTENT_MOVE_TARGET_SPACE_ATTRIBUTE
-
-
Constructor Detail
-
PageContentAuditListener
public PageContentAuditListener(AuditHandlerService auditHandlerService, com.atlassian.audit.api.AuditService service, AuditHelper auditHelper, StandardAuditResourceTypes resourceTypes, PageManager pageManager, SpaceManager spaceManager, DateFormatterFactory dateFormatterFactory, AuditingContext auditingContext)
-
-
Method Detail
-
pageCreateEvent
@EventListener public void pageCreateEvent(PageCreateEvent event)
-
blogPostCreateEvent
@EventListener public void blogPostCreateEvent(BlogPostCreateEvent event)
-
pageUpdateEvent
@EventListener public void pageUpdateEvent(PageUpdateEvent event)
-
blogPostUpdateEvent
@EventListener public void blogPostUpdateEvent(BlogPostUpdateEvent event)
-
contentHistoricalVersionRemoveEvent
@EventListener public void contentHistoricalVersionRemoveEvent(ContentHistoricalVersionRemoveEvent event)
-
onPageTrashedEvent
@EventListener public void onPageTrashedEvent(PageTrashedEvent event)
-
onBlogPostTrashedEvent
@EventListener public void onBlogPostTrashedEvent(BlogPostTrashedEvent event)
-
onPageRestoreEvent
@EventListener public void onPageRestoreEvent(PageRestoreEvent event)
-
onBlogPostRestoreEvent
@EventListener public void onBlogPostRestoreEvent(BlogPostRestoreEvent event)
-
onContentPurgedFromTrashEvent
@EventListener public void onContentPurgedFromTrashEvent(ContentPurgedFromTrashEvent event)
-
onPageOrBlogExportedToWordEvent
@EventListener public void onPageOrBlogExportedToWordEvent(ContentExportedToWordEvent event)
-
onContentRevertedEvent
@EventListener public void onContentRevertedEvent(ContentRevertedEvent event)
-
onPageMoveEvent
@EventListener public void onPageMoveEvent(PageMoveEvent event)
-
onBlogPostMovedEvent
@EventListener public void onBlogPostMovedEvent(BlogPostMovedEvent event)
-
-