Class BlogPostViewEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- com.atlassian.confluence.event.events.ConfluenceEvent
-
- com.atlassian.confluence.event.events.content.ContentEvent
-
- com.atlassian.confluence.event.events.content.blogpost.BlogPostEvent
-
- com.atlassian.confluence.event.events.content.blogpost.BlogPostViewEvent
-
- All Implemented Interfaces:
Contented
,Timestamped
,Viewed
,Serializable
- Direct Known Subclasses:
BlogPostInfoViewEvent
public class BlogPostViewEvent extends BlogPostEvent implements Viewed
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description BlogPostViewEvent(Object source, BlogPost blogPost)
Deprecated.since 6.2.0BlogPostViewEvent(Object source, BlogPost blogPost, @Nullable LocaleInfo localeInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable LocaleInfo
getLocaleInfo()
@NonNull Map<String,Object>
getProperties()
-
Methods inherited from class com.atlassian.confluence.event.events.content.blogpost.BlogPostEvent
equals, getBlogPost, getContent, hashCode
-
Methods inherited from class com.atlassian.confluence.event.events.content.ContentEvent
isSuppressNotifications, setSuppressNotifications
-
Methods inherited from class java.util.EventObject
getSource, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.event.events.Timestamped
getTimestamp
-
-
-
-
Constructor Detail
-
BlogPostViewEvent
@Deprecated public BlogPostViewEvent(Object source, BlogPost blogPost)
Deprecated.since 6.2.0
-
BlogPostViewEvent
public BlogPostViewEvent(Object source, BlogPost blogPost, @Nullable LocaleInfo localeInfo)
- Since:
- 6.2.0
-
-
Method Detail
-
getLocaleInfo
public @Nullable LocaleInfo getLocaleInfo()
- Specified by:
getLocaleInfo
in interfaceViewed
- Returns:
- locale info attached to the event
-
getProperties
public @NonNull Map<String,Object> getProperties()
- Specified by:
getProperties
in interfaceViewed
-
-