|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdekoh.portal.fwk.persistence.DioCollectionQueryInterface
public class DioCollectionQueryInterface
This class provides DioCollection specific business methods for native queries.
| Nested Class Summary | |
|---|---|
static class |
DioCollectionQueryInterface.CollectionLabel
|
static class |
DioCollectionQueryInterface.DioWithAccessPath
|
| Field Summary | |
|---|---|
protected DIOEntityManager |
em
|
| Constructor Summary | |
|---|---|
DioCollectionQueryInterface(DIOEntityManager em)
|
|
| Method Summary | |
|---|---|
int |
getAllChildrenCount(DioCollection dioCollection)
Gets the number of DigitalObjects in this collection. |
List |
getChildCollectionIds(DioCollection dioCollection)
Gets dio ids of all collections that are part of this collection. |
int |
getChildrenCountOfType(Class dioEntityClass,
DioCollection dioCollection)
Gets the number of DigitalObjects of type T that are part of this collection. |
List |
getChildrenOfAType(Class dioEntityClass,
DioCollection dioCollection)
Gets DigitalObjects of type T that are part of this collection. |
DioCollectionQueryInterface.DioWithAccessPath |
getCollageDigitalObject(AccessPath collectionPath,
DioCollection dioCol,
Class entityClass)
|
List |
getCollectionChildren(DioCollection dioCollection)
Gets the DioCollections that are part of this collection. |
List |
getCollectionChildren(DioCollection dioCollection,
Class collectionClass)
Gets the DioCollections that are part of this collection. |
int |
getCollectionChildrenCount(DioCollection dioCollection)
Gets the count of DioCollections that are part of this collection. |
DioCollectionQueryInterface.CollectionLabel |
getCollectionLabel(DioCollection dioCollection)
|
static DioCollectionQueryInterface.CollectionLabel |
getCollectionLabel(DioCollection dioCollection,
RequestContext requestContext)
|
Page |
getDigitalObjectPage(DioCollection dioCollection,
DIOEntityManager em,
Class cls,
int pageNumber,
int pageSize)
|
List |
getNonCollectionChildren(DioCollection dioCollection)
Gets the DigitalObjects (other than collections) that are part of this collection. |
int |
getNonCollectionChildrenCount(DioCollection dioCollection)
Gets the count of DigitalObjects that are not of type DioCollection. |
List |
getNonCollectionChildrenIds(DioCollection dioCollection)
Gets dio ids of all digital objects(except sub collections) that are part of this collection. |
Query |
getNonCollectionChildrenQuery(DioCollection dioCollection,
DIOEntityManager em)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final DIOEntityManager em
| Constructor Detail |
|---|
public DioCollectionQueryInterface(DIOEntityManager em)
| Method Detail |
|---|
public int getAllChildrenCount(DioCollection dioCollection)
dioCollection -
public int getChildrenCountOfType(Class dioEntityClass,
DioCollection dioCollection)
dioEntityClass - dioCollection -
public int getCollectionChildrenCount(DioCollection dioCollection)
dioCollection -
public int getNonCollectionChildrenCount(DioCollection dioCollection)
dioCollection -
public List getNonCollectionChildrenIds(DioCollection dioCollection)
dioCollection -
public List getChildCollectionIds(DioCollection dioCollection)
dioCollection -
public List getChildrenOfAType(Class dioEntityClass,
DioCollection dioCollection)
dioEntityClass - dioCollection -
public List getCollectionChildren(DioCollection dioCollection)
dioCollection -
public List getCollectionChildren(DioCollection dioCollection,
Class collectionClass)
dioCollection -
public List getNonCollectionChildren(DioCollection dioCollection)
dioCollection -
public Query getNonCollectionChildrenQuery(DioCollection dioCollection,
DIOEntityManager em)
public DioCollectionQueryInterface.DioWithAccessPath getCollageDigitalObject(AccessPath collectionPath,
DioCollection dioCol,
Class entityClass)
public DioCollectionQueryInterface.CollectionLabel getCollectionLabel(DioCollection dioCollection)
public static DioCollectionQueryInterface.CollectionLabel getCollectionLabel(DioCollection dioCollection,
RequestContext requestContext)
public Page getDigitalObjectPage(DioCollection dioCollection,
DIOEntityManager em,
Class cls,
int pageNumber,
int pageSize)
|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
© 2009 Pramati Technologies - Dekoh - Portal for Developers