com.jivesoftware.community.media.type
Class MediaRecentHistoryProvider
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediaRecentHistoryProvider
public MediaRecentHistoryProvider()
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)
Copyright © 1999-2007 Jive Software.