To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Creates a StreamEventBean object that is used to push items into the profile timeline
Methods
| Signature | Returns | Notes |
|---|---|---|
profile(ProfileBean profileBean) | StreamEventBeanBuilder | Set the profile that this event is for |
profile(UserResource user) | StreamEventBeanBuilder | Set the profile and organisation that this event is for |
profile(Profile profile) | StreamEventBeanBuilder | |
entity(BaseEntity entity) | StreamEventBeanBuilder | |
org(OrgData orgData) | StreamEventBeanBuilder | Sets the Organisation this event belongs to |
org(Organisation org) | StreamEventBeanBuilder | Sets the Organisation this event belongs to |
category(String category) | StreamEventBeanBuilder | Sets the category for this event, should be one of the bootstrap contextual classes, ie muted, primary, etc |
date(Date d) | StreamEventBeanBuilder | Sets the date this event took place. |
icon(String s) | StreamEventBeanBuilder | Sets the icon to display for this item, should correspond to a font-awesome icon |
desc(String s) | StreamEventBeanBuilder | a short description of this event |
path(String s) | StreamEventBeanBuilder | a Path to link to this event |
title(String s) | StreamEventBeanBuilder | a Title of the event |
repo(Repository s) | StreamEventBeanBuilder | Sets the repository this event relates to |
branch(Branch s) | StreamEventBeanBuilder | Sets the branch this repository relates to |
inbound(Boolean b) | StreamEventBeanBuilder | Sets if this represents an action coming from the user to the server, otherwise is outbound, ie pushed from us to them |
data(Map data) | StreamEventBeanBuilder | Sets a map of data related to this event |
build() | StreamEventBean | Builds the StreamEventBean and returns it. |