org.figure8.join.businessobjects.commons.persistence
Interface StepDao

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
HibernateStepDao

public interface StepDao
extends ObjectDao

Data Access interface for Step business objects.

Version:
$Revision: 1.3 $
Author:
Laurent Broudoux

Method Summary
 Step getStep(long id)
          Retrieve a step using its datastore identifier
 Step getStep(java.lang.String label)
          Retrieve a step using its label
 Step getStepByPosition(int position)
          Retrieve a step using its position number within integration cycle
 void refreshCache()
          Refresh cache containing step objects.
 void setCacheManager(CacheManager manager)
          Step data access object may want to use the cache manager for storing and retrieving steps.
 
Methods inherited from interface org.figure8.join.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save
 

Method Detail

setCacheManager

void setCacheManager(CacheManager manager)
Step data access object may want to use the cache manager for storing and retrieving steps. This Cache service provides and eternal cache for step objects.

Parameters:
manager - The CacheManager implementation to use.

refreshCache

void refreshCache()
Refresh cache containing step objects. This consists in reloading cache content from datastore.


getStep

Step getStep(long id)
Retrieve a step using its datastore identifier

Parameters:
id - The unique id within datatstore
Returns:
The corresponding step or null if no step has this id

getStep

Step getStep(java.lang.String label)
Retrieve a step using its label

Parameters:
label - The label of step to retrieve
Returns:
The corresponding step or null if no step has this label

getStepByPosition

Step getStepByPosition(int position)
Retrieve a step using its position number within integration cycle

Parameters:
position - The position number of the step to retrieve
Returns:
The step or null if no step exists with this position


Copyright © 2005-2008 Join. All Rights Reserved.