Package org.craftercms.social.util.ebus
Class SocialEvent<T extends UGC>
- java.lang.Object
-
- org.craftercms.social.util.ebus.SocialEvent<T>
-
-
Constructor Summary
Constructors Constructor Description SocialEvent(String ugcId, InputStream[] attachments)
SocialEvent(String ugcId, String attachmentId, String userId, UGCEvent type)
SocialEvent(String ugcId, String userId, UGCEvent type)
SocialEvent(String ugcId, Map<String,Object> attributes, String userId, UGCEvent type)
SocialEvent(T source, String userId, UGCEvent type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAttachmentId()
InputStream[]
getAttachments()
<T> T
getAttribute(String key)
T
getSource()
UGCEvent
getType()
String
getUgcId()
String
getUserId()
void
setAttribute(String key, Object value)
-
-
-
Method Detail
-
getSource
public T getSource()
-
getUgcId
public String getUgcId()
-
getAttachments
public InputStream[] getAttachments()
-
getType
public UGCEvent getType()
-
getUserId
public String getUserId()
-
getAttachmentId
public String getAttachmentId()
-
getAttribute
public <T> T getAttribute(String key)
-
-