|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RecentContentInfoProvider
Instances of this interface allow the system to provide lists of recent content.
| Method Summary | |
|---|---|
boolean |
eventsHandledExclusivelyByCustomListener()
If events are handled exclusively by some other mechanism, bypasses the generic ContentEventListener for recent content. |
User |
getAuthor(JiveObject object)
Returns the user who is the author of this most recent piece of content. |
QueryContainer |
getContentContainerInfoQuery(List<Long> objectIDs,
EntityDescriptor container)
Given a list of object ids, and the container housing them, this method returns a SQL query exposing the following colums: objectID, containerType, containerID. |
String |
getDate(JiveObject object)
Returns a string representation of the last modified or created date of the object, typically relative to the current timestamp. |
User |
getEditingUser(JiveObject object)
If the object is currently being edited, returns the user who is currently editing that object. |
RecentContentEventHandlingStrategy |
getEventHandlingStrategy()
Returns a strategy object for dealing with recent-content events. |
String |
getObjectUrl(JiveObject object,
boolean constructAbsoluteURL)
Returns the URL link constructed from the object. |
JiveContainer |
getParent(JiveObject object)
Returns the container housing the object. |
List<EntityDescriptor> |
getRecentContentContainersForUser(User user)
Returns the containers most recently chosen by the user for the creation of recent content for the type which owns this provider. |
String |
getSubject(JiveObject object)
Returns the subject (aka title) of the object. |
| Method Detail |
|---|
QueryContainer getContentContainerInfoQuery(List<Long> objectIDs,
EntityDescriptor container)
objectID, containerType, containerID.
The query should return the updated containerType and containerID for each provided objectID.
objectIDs - list of Long objectIDs.container - The container housing the objectIDs.
QueryContainer containing the SQL query.List<EntityDescriptor> getRecentContentContainersForUser(User user)
user - The user to return recent content containers for
String getObjectUrl(JiveObject object,
boolean constructAbsoluteURL)
object - the jive object to return the url forconstructAbsoluteURL - If true, the URL constructed will be absolute; otherwise it will be relative.
String getSubject(JiveObject object)
object - the jive object to return the subject for
String getDate(JiveObject object)
object - the jive object to return the date for
JiveContainer getParent(JiveObject object)
object - the object to return the parent container for
User getAuthor(JiveObject object)
object - the object to return the author of the content for
User getEditingUser(JiveObject object)
null. Typically used for rendering recent content list
items.
object - the object to return the editting user for
boolean eventsHandledExclusivelyByCustomListener()
RecentContentEventHandlingStrategy getEventHandlingStrategy()
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||