com.javelin.fpml.shared
Interface BermudaExerciseSession


public interface BermudaExerciseSession

BermudaExerciseSession.java

null

Author:
Javelin Software
See Also:
BermudaExercise, BermudaExerciseHome, BermudaExerciseValidator

Method Summary
 int countByQuery(java.lang.String query)
          Count the Beans using a String.
 java.util.Iterator findByAll()
          Find All the beans.
 BermudaExercise findByBermudaExerciseDates(java.lang.Object bermudaExerciseDatesKey)
          Find the BermudaExercise By BermudaExerciseDates
 BermudaExercise findByEarliestExerciseTime(java.lang.Object earliestExerciseTimeKey)
          Find the BermudaExercise By EarliestExerciseTime
 BermudaExercise findByExerciseFeeSchedule(java.lang.Object exerciseFeeScheduleKey)
          Find the BermudaExercise By ExerciseFeeSchedule
 BermudaExercise findByExpirationTime(java.lang.Object expirationTimeKey)
          Find the BermudaExercise By ExpirationTime
 BermudaExercise findByLatestExerciseTime(java.lang.Object latestExerciseTimeKey)
          Find the BermudaExercise By LatestExerciseTime
 BermudaExercise findByMultipleExercise(java.lang.Object multipleExerciseKey)
          Find the BermudaExercise By MultipleExercise
 BermudaExercise findByPrimaryKey(java.lang.Object bermudaExerciseKey)
          Find the BermudaExercise By PrimaryKey
 java.util.Iterator findByQuery(java.lang.String query)
          Find the Beans using a String.
 java.util.Iterator findByQuery(java.lang.String query, int maxRows)
          Find the Beans using a String, with a max row count.
 BermudaExercise findByRelevantUnderlyingDate(java.lang.Object relevantUnderlyingDateKey)
          Find the BermudaExercise By RelevantUnderlyingDate
 void load(BermudaExercise bermudaExercise)
          Reload the bean, and any dependent beans from the store.
 void remove(BermudaExercise bermudaExercise)
          Remove the bean, and any dependent beans from the store.
 void save(BermudaExercise bermudaExercise)
          Create or Save the bean, and any dependent beans to the store.
 

Method Detail

findByAll

public java.util.Iterator findByAll()
                             throws FinderException,
                                    ValidationException
Find All the beans.

Returns:
Iterator The Beans that were found.
Throws:
FinderException - If there was a problem finding any of the beans.
ValidationException - If there was a problem validating any of the beans.

findByPrimaryKey

public BermudaExercise findByPrimaryKey(java.lang.Object bermudaExerciseKey)
                                 throws FinderException,
                                        ValidationException
Find the BermudaExercise By PrimaryKey

Parameters:
bermudaExerciseKey -
Returns:
BermudaExercise The Bean/s that was found.
Throws:
FinderException - If there was a problem finding any of the beans.
ValidationException - If there was a problem validating any of the beans.

findByBermudaExerciseDates

public BermudaExercise findByBermudaExerciseDates(java.lang.Object bermudaExerciseDatesKey)
                                           throws FinderException,
                                                  ValidationException
Find the BermudaExercise By BermudaExerciseDates

Parameters:
bermudaExerciseDatesKey -
Returns:
BermudaExercise The Bean/s that was found.
Throws:
FinderException - If there was a problem finding any of the beans.
ValidationException - If there was a problem validating any of the beans.

findByRelevantUnderlyingDate

public BermudaExercise findByRelevantUnderlyingDate(java.lang.Object relevantUnderlyingDateKey)
                                             throws FinderException,
                                                    ValidationException
Find the BermudaExercise By RelevantUnderlyingDate

Parameters:
relevantUnderlyingDateKey -
Returns:
BermudaExercise The Bean/s that was found.
Throws:
FinderException - If there was a problem finding any of the beans.
ValidationException - If there was a problem validating any of the beans.

findByEarliestExerciseTime

public BermudaExercise findByEarliestExerciseTime(java.lang.Object earliestExerciseTimeKey)
                                           throws FinderException,
                                                  ValidationException
Find the BermudaExercise By EarliestExerciseTime

Parameters:
earliestExerciseTimeKey -
Returns:
BermudaExercise The Bean/s that was found.
Throws:
FinderException - If there was a problem finding any of the beans.
ValidationException - If there was a problem validating any of the beans.

findByLatestExerciseTime

public BermudaExercise findByLatestExerciseTime(java.lang.Object latestExerciseTimeKey)
                                         throws FinderException,
                                                ValidationException
Find the BermudaExercise By LatestExerciseTime

Parameters:
latestExerciseTimeKey -
Returns:
BermudaExercise The Bean/s that was found.
Throws:
FinderException - If there was a problem finding any of the beans.
ValidationException - If there was a problem validating any of the beans.

findByExpirationTime

public BermudaExercise findByExpirationTime(java.lang.Object expirationTimeKey)
                                     throws FinderException,
                                            ValidationException
Find the BermudaExercise By ExpirationTime

Parameters:
expirationTimeKey -
Returns:
BermudaExercise The Bean/s that was found.
Throws:
FinderException - If there was a problem finding any of the beans.
ValidationException - If there was a problem validating any of the beans.

findByMultipleExercise

public BermudaExercise findByMultipleExercise(java.lang.Object multipleExerciseKey)
                                       throws FinderException,
                                              ValidationException
Find the BermudaExercise By MultipleExercise

Parameters:
multipleExerciseKey -
Returns:
BermudaExercise The Bean/s that was found.
Throws:
FinderException - If there was a problem finding any of the beans.
ValidationException - If there was a problem validating any of the beans.

findByExerciseFeeSchedule

public BermudaExercise findByExerciseFeeSchedule(java.lang.Object exerciseFeeScheduleKey)
                                          throws FinderException,
                                                 ValidationException
Find the BermudaExercise By ExerciseFeeSchedule

Parameters:
exerciseFeeScheduleKey -
Returns:
BermudaExercise The Bean/s that was found.
Throws:
FinderException - If there was a problem finding any of the beans.
ValidationException - If there was a problem validating any of the beans.

findByQuery

public java.util.Iterator findByQuery(java.lang.String query)
                               throws FinderException,
                                      ValidationException
Find the Beans using a String.

Parameters:
query - A Query String
Returns:
Iterator The Beans that were found.
Throws:
FinderException - If there was a problem finding any of the beans.
ValidationException - If there was a problem validating any of the beans.

findByQuery

public java.util.Iterator findByQuery(java.lang.String query,
                                      int maxRows)
                               throws FinderException,
                                      ValidationException
Find the Beans using a String, with a max row count.

Parameters:
query - A Query String
maxRows - The maximum number of rows to return.
Returns:
Iterator The Beans that were found.
Throws:
FinderException - If there was a problem finding any of the beans.
ValidationException - If there was a problem validating any of the beans.

countByQuery

public int countByQuery(java.lang.String query)
                 throws FinderException,
                        ValidationException
Count the Beans using a String.

Parameters:
query - A Query String
Throws:
FinderException - If there was a problem finding any of the beans.
ValidationException - If there was a problem validating any of the beans.

load

public void load(BermudaExercise bermudaExercise)
          throws LoadException,
                 ValidationException
Reload the bean, and any dependent beans from the store.

Throws:
LoadException - If there was a problem loading any of the beans.
ValidationException - If there was a problem validating any of the beans.

save

public void save(BermudaExercise bermudaExercise)
          throws CreateException,
                 StoreException,
                 ValidationException
Create or Save the bean, and any dependent beans to the store.

Throws:
CreateException - If there was a problem creating any of the beans.
StoreException - If there was a problem storing any of the beans.
ValidationException - If there was a problem validating any of the beans.

remove

public void remove(BermudaExercise bermudaExercise)
            throws RemoveException,
                   ValidationException
Remove the bean, and any dependent beans from the store.

Throws:
RemoveException - If there was a problem removing any of the beans.
ValidationException - If there was a problem validating any of the beans.