com.javelin.fpml.shared
Interface AdjustableOrRelativeDatesHome


public interface AdjustableOrRelativeDatesHome

AdjustableOrRelativeDatesHome.java

null

Author:
Javelin Software
See Also:
AdjustableOrRelativeDates, AdjustableOrRelativeDatesSession, AdjustableOrRelativeDatesValidator

Method Summary
 int countByQuery(java.lang.String query)
          Count the Beans using a String.
 AdjustableOrRelativeDates create(AdjustableOrRelativeDates adjustableOrRelativeDates)
          Create just this AdjustableOrRelativeDates in the store.
 AdjustableOrRelativeDates findByAdjustableDates(java.lang.Object adjustableDatesKey)
          Find the AdjustableOrRelativeDates By AdjustableDates
 java.util.Iterator findByAll()
          Find All the 'available' beans.
 AdjustableOrRelativeDates findByPrimaryKey(java.lang.Object adjustableOrRelativeDatesKey)
          Find the AdjustableOrRelativeDates 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.
 AdjustableOrRelativeDates findByRelativeDates(java.lang.Object relativeDatesKey)
          Find the AdjustableOrRelativeDates By RelativeDates
 void load(AdjustableOrRelativeDates adjustableOrRelativeDates)
          Reload the AdjustableOrRelativeDates based on it's primaryKey.
 void remove(AdjustableOrRelativeDates adjustableOrRelativeDatesKey)
          Remove just this AdjustableOrRelativeDates in the store.
 void store(AdjustableOrRelativeDates adjustableOrRelativeDates)
          Store just this AdjustableOrRelativeDates 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 AdjustableOrRelativeDates findByPrimaryKey(java.lang.Object adjustableOrRelativeDatesKey)
                                           throws FinderException,
                                                  ValidationException
Find the AdjustableOrRelativeDates By PrimaryKey

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

findByAdjustableDates

public AdjustableOrRelativeDates findByAdjustableDates(java.lang.Object adjustableDatesKey)
                                                throws FinderException,
                                                       ValidationException
Find the AdjustableOrRelativeDates By AdjustableDates

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

findByRelativeDates

public AdjustableOrRelativeDates findByRelativeDates(java.lang.Object relativeDatesKey)
                                              throws FinderException,
                                                     ValidationException
Find the AdjustableOrRelativeDates By RelativeDates

Parameters:
relativeDatesKey -
Returns:
AdjustableOrRelativeDates
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(AdjustableOrRelativeDates adjustableOrRelativeDates)
          throws LoadException,
                 ValidationException
Reload the AdjustableOrRelativeDates 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 AdjustableOrRelativeDates create(AdjustableOrRelativeDates adjustableOrRelativeDates)
                                 throws CreateException,
                                        ValidationException
Create just this AdjustableOrRelativeDates 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(AdjustableOrRelativeDates adjustableOrRelativeDates)
           throws StoreException,
                  ValidationException
Store just this AdjustableOrRelativeDates 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(AdjustableOrRelativeDates adjustableOrRelativeDatesKey)
            throws RemoveException,
                   ValidationException
Remove just this AdjustableOrRelativeDates in the store.

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