Class AsyncLikeEvent
- 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.like.AsyncLikeEvent
-
- All Implemented Interfaces:
UserDriven
,Serializable
- Direct Known Subclasses:
AsyncLikeCreatedEvent
,AsyncLikeRemovedEvent
@AsynchronousPreferred public class AsyncLikeEvent extends ConfluenceEvent implements UserDriven
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description AsyncLikeEvent(Object src, com.atlassian.user.User user, long contentId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getContentId()
com.atlassian.user.User
getOriginatingUser()
Return the user that generated the event if known.-
Methods inherited from class com.atlassian.confluence.event.events.ConfluenceEvent
equals, hashCode
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
AsyncLikeEvent
public AsyncLikeEvent(Object src, com.atlassian.user.User user, long contentId)
-
-
Method Detail
-
getContentId
public long getContentId()
-
getOriginatingUser
public com.atlassian.user.User getOriginatingUser()
Description copied from interface:UserDriven
Return the user that generated the event if known.- Specified by:
getOriginatingUser
in interfaceUserDriven
- Returns:
- User that drove an event. Null indicates either that the event was driven by the anonymous user or the system itself.
-
-