01: /**
02: * Objective Database Abstraction Layer (ODAL)
03: * Copyright (c) 2004, The ODAL Development Group
04: * All rights reserved.
05: * For definition of the ODAL Development Group please refer to LICENCE.txt file
06: *
07: * Distributable under LGPL license.
08: * See terms of license at gnu.org.
09: */package com.completex.objective.components.persistency;
10:
11: import com.completex.objective.components.persistency.transact.Transaction;
12: import com.completex.objective.components.persistency.core.impl.query.QueryContextImpl;
13: import com.completex.objective.components.persistency.core.impl.query.QueryContext;
14:
15: /**
16: * @author Gennady Krizhevsky
17: */
18: public interface PersistencyChildManager {
19: public void selectChild(Transaction transaction,
20: AbstractPersistentObject parent, String name, Link link,
21: QueryContext queryContext) throws OdalPersistencyException;
22:
23: public void selectChildren(Transaction transaction, Link link,
24: QueryContext queryContext) throws OdalPersistencyException;
25:
26: QueryContext getCurrentQueryContext();
27:
28: void setCurrentQueryContext(QueryContextImpl queryContext);
29:
30: void clearCurrentQueryContext();
31: }
|