org.dspace.app.webui.components
Class RecentSubmissionsManager

java.lang.Object
  extended by org.dspace.app.webui.components.RecentSubmissionsManager

public class RecentSubmissionsManager
extends Object

Class that obtains recent submissions to DSpace containers.

Author:
rdjones

Constructor Summary
RecentSubmissionsManager(Context context)
          Construct a new RecentSubmissionsManager with the given DSpace context
 
Method Summary
 RecentSubmissions getRecentSubmissions(DSpaceObject dso)
          Obtain the recent submissions from the given container object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecentSubmissionsManager

public RecentSubmissionsManager(Context context)
Construct a new RecentSubmissionsManager with the given DSpace context

Parameters:
context -
Method Detail

getRecentSubmissions

public RecentSubmissions getRecentSubmissions(DSpaceObject dso)
                                       throws RecentSubmissionsException
Obtain the recent submissions from the given container object. This method uses the configuration to determine which field and how many items to retrieve from the DSpace Object. If the object you pass in is not a Community or Collection (e.g. an Item is a DSpaceObject which cannot be used here), an exception will be thrown

Parameters:
dso - DSpaceObject: Community or Collection
Returns:
The recently submitted items
Throws:
RecentSubmissionsException


Copyright © 2013 DuraSpace. All Rights Reserved.