com.atlassian.confluence.event.events.types
Interface UserDriven

All Known Subinterfaces:
LikeEvent
All Known Implementing Classes:
AbstractLikeEvent, AttachmentRemoveEvent, AttachmentVersionRemoveEvent, BlogPostMovedEvent, BlogPostTrashedEvent, CommentRemoveEvent, FollowEvent, LikeCreatedEvent, LikeRemovedEvent, PageMoveEvent, PageTrashedEvent

public interface UserDriven

Interface for events that can be a direct result of an action by a user, such as creating or removing a page. It specifies a method to retrieve that user if they exist.


Method Summary
 com.atlassian.user.User getOriginatingUser()
          Return the user that generated the event if known.
 

Method Detail

getOriginatingUser

com.atlassian.user.User getOriginatingUser()
Return the user that generated the event if known.

Returns:
User that drove an event. Null indicates either that the event was driven by the anonymous user or the system itself.


Copyright © 2003-2014 Atlassian. All Rights Reserved.