com.javelin.fpml.shared
Interface AmericanExerciseHome


public interface AmericanExerciseHome

AmericanExerciseHome.java

null

Author:
Javelin Software
See Also:
AmericanExercise, AmericanExerciseSession, AmericanExerciseValidator

Method Summary
 int countByQuery(java.lang.String query)
          Count the Beans using a String.
 AmericanExercise create(AmericanExercise americanExercise)
          Create just this AmericanExercise in the store.
 java.util.Iterator findByAll()
          Find All the 'available' beans.
 AmericanExercise findByCommencementDate(java.lang.Object commencementDateKey)
          Find the AmericanExercise By CommencementDate
 AmericanExercise findByEarliestExerciseTime(java.lang.Object earliestExerciseTimeKey)
          Find the AmericanExercise By EarliestExerciseTime
 AmericanExercise findByExerciseFeeSchedule(java.lang.Object exerciseFeeScheduleKey)
          Find the AmericanExercise By ExerciseFeeSchedule
 AmericanExercise findByExpirationDate(java.lang.Object expirationDateKey)
          Find the AmericanExercise By ExpirationDate
 AmericanExercise findByExpirationTime(java.lang.Object expirationTimeKey)
          Find the AmericanExercise By ExpirationTime
 AmericanExercise findByLatestExerciseTime(java.lang.Object latestExerciseTimeKey)
          Find the AmericanExercise By LatestExerciseTime
 AmericanExercise findByMultipleExercise(java.lang.Object multipleExerciseKey)
          Find the AmericanExercise By MultipleExercise
 AmericanExercise findByPrimaryKey(java.lang.Object americanExerciseKey)
          Find the AmericanExercise 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 Query String, with a maximum return row count.
 AmericanExercise findByRelevantUnderlyingDate(java.lang.Object relevantUnderlyingDateKey)
          Find the AmericanExercise By RelevantUnderlyingDate
 void load(AmericanExercise americanExercise)
          Reload the AmericanExercise based on it's primaryKey.
 void remove(AmericanExercise americanExerciseKey)
          Remove just this AmericanExercise in the store.
 void store(AmericanExercise americanExercise)
          Store just this AmericanExercise in the store.
 

Method Detail

findByAll

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

Returns:
Iterator
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 AmericanExercise findByPrimaryKey(java.lang.Object americanExerciseKey)
                                  throws FinderException,
                                         ValidationException
Find the AmericanExercise By PrimaryKey

Parameters:
americanExerciseKey -
Returns:
AmericanExercise
Throws:
FinderException - If there was a problem finding any of the beans.
ValidationException - If there was a problem validating any of the beans.

findByCommencementDate

public AmericanExercise findByCommencementDate(java.lang.Object commencementDateKey)
                                        throws FinderException,
                                               ValidationException
Find the AmericanExercise By CommencementDate

Parameters:
commencementDateKey -
Returns:
AmericanExercise
Throws:
FinderException - If there was a problem finding any of the beans.
ValidationException - If there was a problem validating any of the beans.

findByExpirationDate

public AmericanExercise findByExpirationDate(java.lang.Object expirationDateKey)
                                      throws FinderException,
                                             ValidationException
Find the AmericanExercise By ExpirationDate

Parameters:
expirationDateKey -
Returns:
AmericanExercise
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 AmericanExercise findByRelevantUnderlyingDate(java.lang.Object relevantUnderlyingDateKey)
                                              throws FinderException,
                                                     ValidationException
Find the AmericanExercise By RelevantUnderlyingDate

Parameters:
relevantUnderlyingDateKey -
Returns:
AmericanExercise
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 AmericanExercise findByEarliestExerciseTime(java.lang.Object earliestExerciseTimeKey)
                                            throws FinderException,
                                                   ValidationException
Find the AmericanExercise By EarliestExerciseTime

Parameters:
earliestExerciseTimeKey -
Returns:
AmericanExercise
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 AmericanExercise findByLatestExerciseTime(java.lang.Object latestExerciseTimeKey)
                                          throws FinderException,
                                                 ValidationException
Find the AmericanExercise By LatestExerciseTime

Parameters:
latestExerciseTimeKey -
Returns:
AmericanExercise
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 AmericanExercise findByExpirationTime(java.lang.Object expirationTimeKey)
                                      throws FinderException,
                                             ValidationException
Find the AmericanExercise By ExpirationTime

Parameters:
expirationTimeKey -
Returns:
AmericanExercise
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 AmericanExercise findByMultipleExercise(java.lang.Object multipleExerciseKey)
                                        throws FinderException,
                                               ValidationException
Find the AmericanExercise By MultipleExercise

Parameters:
multipleExerciseKey -
Returns:
AmericanExercise
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 AmericanExercise findByExerciseFeeSchedule(java.lang.Object exerciseFeeScheduleKey)
                                           throws FinderException,
                                                  ValidationException
Find the AmericanExercise By ExerciseFeeSchedule

Parameters:
exerciseFeeScheduleKey -
Returns:
AmericanExercise
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, usually a SQL query.
Returns:
Iterator
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 Query String, with a maximum return row count.

Parameters:
query - A Query String
maxRows - The maximum number of rows to return.
Returns:
Iterator
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
Returns:
int the number of matching beans
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(AmericanExercise americanExercise)
          throws LoadException,
                 ValidationException
Reload the AmericanExercise based on it's primaryKey.

Throws:
LoadException - If there was a problem loading the Bean.
ValidationException - If there was a problem validating the Bean.

create

public AmericanExercise create(AmericanExercise americanExercise)
                        throws CreateException,
                               ValidationException
Create just this AmericanExercise in the store.

Throws:
CreateException - If there was a problem creating the Bean.
ValidationException - If there was a problem validating the Bean.

store

public void store(AmericanExercise americanExercise)
           throws StoreException,
                  ValidationException
Store just this AmericanExercise in the store.

Throws:
StoreException - If there was a problem storing the Bean.
ValidationException - If there was a problem validating the Bean.

remove

public void remove(AmericanExercise americanExerciseKey)
            throws RemoveException,
                   ValidationException
Remove just this AmericanExercise in the store.

Throws:
RemoveException - If there was a problem removing the Bean.
ValidationException - If there was a problem validating the Bean.