Package com.jbstrap.ui.interfaces
Interface ActivityStreamItemCreator
public interface ActivityStreamItemCreator
Activity stream item interface.
This interface implements a creator class for the
ActivityStream
component.
Use the createItem(Record)
method to implement the interface.
The database record queried by the component is passed to the method.
The record is used to create and initialize a ActivityStreamItem
component.
The method returns the created component.
If the method returns null
, the record is not associated with any component.- Since:
- 4.0
- Author:
- JBStrap
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateItem
(Record record) Creates an activity stream item from the database record in the specified parameter.
-
Method Details
-
createItem
Creates an activity stream item from the database record in the specified parameter.- Parameters:
record
- Record instance retrieved from the database; the method uses this record to create an activity stream item- Returns:
- Activity stream item component or
null
the record in the parameter is not to be used. If the method returnsnull
, the record is not associated with any activity stream item on the interface.
-