|
|||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||||
See:
Description
| Interface Summary | |
| SearchI | |
| Class Summary | |
| BusinessConstants | Constants used for the business package. |
| IntactHelper | This class implements the business logic for intact. |
| Exception Summary | |
| DuplicateLabelException | Exception class to provide more meaningful error messages. |
| IntactException | Exception class to provide more meaningful error messages. |
This package contains the helper class which allows clients to access the business tier
for intact. Specifically the IntactHelper class provides the core functionality
of creation and search, and this class in turn access the business layer via the use of a
Data Access Object (DAO) interface for obtaining connections, managing transactions and so
on.
The IntactHelper class also provides a method to obtain the nearest neighbour
objects of a given object, thereby avoiding the overhead of a database connection when it
is known that only the nearest neighbours are required. As mentioned elsewhere, these are
automatically loaded into memory for each individual object search in order to optimise
castor lazy loading. The searching itself is managed with the help of a map of simple intact
classnames to full java classnames, which allows other objects (such as the DAO
object) to build approrpriate object queries. The map itself is provided to the ItactHelper
class upon instance creation.
IntactHelper class:
|
|||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||||