Jive API (3.0.13) Core Javadocs

com.jivesoftware.community.media.type
Class MediaRecentHistoryProvider

java.lang.Object
  extended by com.jivesoftware.community.media.type.MediaRecentHistoryProvider
All Implemented Interfaces:
RecentHistoryProvider

public class MediaRecentHistoryProvider
extends Object
implements RecentHistoryProvider

Allows tracking of recent history for media objects


Constructor Summary
MediaRecentHistoryProvider()
           
 
Method Summary
 JiveObject getJiveObjectFromViewAction(String objectType, com.opensymphony.xwork2.ActionSupport viewAction)
          This method should determine whether or not it should be operating on the action based on the the objectTypeCode param.
 void setMediaObjectTypeRegistry(MediaObjectTypeRegistry<Map<Class<? extends Media>,String>> mediaObjectTypeRegistry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaRecentHistoryProvider

public MediaRecentHistoryProvider()
Method Detail

getJiveObjectFromViewAction

public JiveObject getJiveObjectFromViewAction(String objectType,
                                              com.opensymphony.xwork2.ActionSupport viewAction)
Description copied from interface: RecentHistoryProvider
This method should determine whether or not it should be operating on the action based on the the objectTypeCode param. If it should, it must extract a JiveObject from the action.

Specified by:
getJiveObjectFromViewAction in interface RecentHistoryProvider
Parameters:
objectType - a human-readable representation for the object type being viewed.
viewAction - the struts action used for viewing a jive object as an end-user.
Returns:
the JiveObject viewable from the viewAction.

setMediaObjectTypeRegistry

public void setMediaObjectTypeRegistry(MediaObjectTypeRegistry<Map<Class<? extends Media>,String>> mediaObjectTypeRegistry)

Jive Product Page

Copyright © 1999-2007 Jive Software.