Dekoh platform API

dekoh.portal.fwk.persistence
Class DioQueryInterface

java.lang.Object
  extended by dekoh.portal.fwk.persistence.DioQueryInterface

public class DioQueryInterface
extends Object

Since:
Jan 25, 2007

Constructor Summary
DioQueryInterface(DIOEntityManager em)
           
 
Method Summary
 int getCollectionCount(DigitalObject digitalObject)
          This class provides DigitalObject specific business methods for native queries.
 List getCollectionIds(DigitalObject digitalObject)
          Gets list of collection ids in which this Digital Object is a member.
 DioCollection getFirstCollection(DigitalObject digitalObject)
          Gets the first collection in which this Digital Object is a member.
 DioCollection getLastCollection(DigitalObject digitalObject)
          Gets the last collection in which this Digital Object is a member.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DioQueryInterface

public DioQueryInterface(DIOEntityManager em)
Method Detail

getCollectionCount

public int getCollectionCount(DigitalObject digitalObject)
This class provides DigitalObject specific business methods for native queries. Gets number of collections in which this Digital Object is a member.

Parameters:
digitalObject -
Returns:
count

getCollectionIds

public List getCollectionIds(DigitalObject digitalObject)
Gets list of collection ids in which this Digital Object is a member.

Parameters:
digitalObject -
Returns:
list of collection ids

getFirstCollection

public DioCollection getFirstCollection(DigitalObject digitalObject)
Gets the first collection in which this Digital Object is a member.

Parameters:
digitalObject -
Returns:
DioCollection

getLastCollection

public DioCollection getLastCollection(DigitalObject digitalObject)
Gets the last collection in which this Digital Object is a member.

Parameters:
digitalObject -
Returns:
DioCollection

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers