com.javelin.fpml.shared
Interface BusinessDateRangeHome


public interface BusinessDateRangeHome

BusinessDateRangeHome.java

null

Author:
Javelin Software
See Also:
BusinessDateRange, BusinessDateRangeSession, BusinessDateRangeValidator

Method Summary
 int countByQuery(java.lang.String query)
          Count the Beans using a String.
 BusinessDateRange create(BusinessDateRange businessDateRange)
          Create just this BusinessDateRange in the store.
 java.util.Iterator findByAll()
          Find All the 'available' beans.
 BusinessDateRange findByBusinessCenters(java.lang.Object businessCentersKey)
          Find the BusinessDateRange By BusinessCenters
 BusinessDateRange findByBusinessDayConvention(java.lang.Object businessDayConventionKey)
          Find the BusinessDateRange By BusinessDayConvention
 BusinessDateRange findByPrimaryKey(java.lang.Object businessDateRangeKey)
          Find the BusinessDateRange 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.
 void load(BusinessDateRange businessDateRange)
          Reload the BusinessDateRange based on it's primaryKey.
 void remove(BusinessDateRange businessDateRangeKey)
          Remove just this BusinessDateRange in the store.
 void store(BusinessDateRange businessDateRange)
          Store just this BusinessDateRange 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 BusinessDateRange findByPrimaryKey(java.lang.Object businessDateRangeKey)
                                   throws FinderException,
                                          ValidationException
Find the BusinessDateRange By PrimaryKey

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

findByBusinessDayConvention

public BusinessDateRange findByBusinessDayConvention(java.lang.Object businessDayConventionKey)
                                              throws FinderException,
                                                     ValidationException
Find the BusinessDateRange By BusinessDayConvention

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

findByBusinessCenters

public BusinessDateRange findByBusinessCenters(java.lang.Object businessCentersKey)
                                        throws FinderException,
                                               ValidationException
Find the BusinessDateRange By BusinessCenters

Parameters:
businessCentersKey -
Returns:
BusinessDateRange
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(BusinessDateRange businessDateRange)
          throws LoadException,
                 ValidationException
Reload the BusinessDateRange 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 BusinessDateRange create(BusinessDateRange businessDateRange)
                         throws CreateException,
                                ValidationException
Create just this BusinessDateRange 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(BusinessDateRange businessDateRange)
           throws StoreException,
                  ValidationException
Store just this BusinessDateRange 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(BusinessDateRange businessDateRangeKey)
            throws RemoveException,
                   ValidationException
Remove just this BusinessDateRange in the store.

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