org.dspace.app.xmlui.aspect.administrative
Class FlowMapperUtils

java.lang.Object
  extended by org.dspace.app.xmlui.aspect.administrative.FlowMapperUtils

public class FlowMapperUtils
extends Object

Author:
Scott Phillips

Constructor Summary
FlowMapperUtils()
           
 
Method Summary
static FlowResult processMapItems(Context context, int collectionID, String[] itemIDs)
          Map the given items into this collection
static FlowResult processUnmapItems(Context context, int collectionID, String[] itemIDs)
          Unmap the given items from this collection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowMapperUtils

public FlowMapperUtils()
Method Detail

processMapItems

public static FlowResult processMapItems(Context context,
                                         int collectionID,
                                         String[] itemIDs)
                                  throws SQLException,
                                         AuthorizeException,
                                         UIException,
                                         IOException
Map the given items into this collection

Parameters:
context - The current DSpace content
collectionID - The collection to map items into.
itemIDs - The items to map.
Returns:
Flow result
Throws:
SQLException
AuthorizeException
UIException
IOException

processUnmapItems

public static FlowResult processUnmapItems(Context context,
                                           int collectionID,
                                           String[] itemIDs)
                                    throws SQLException,
                                           AuthorizeException,
                                           UIException,
                                           IOException
Unmap the given items from this collection

Parameters:
context - The DSpace context
collectionID - The collection to unmap these items from.
itemIDs - The items to be unmapped.
Returns:
A flow result
Throws:
SQLException
AuthorizeException
UIException
IOException


Copyright © 2011 DuraSpace. All Rights Reserved.