com.javelin.fpml.shared
Interface AdjustableOrRelativeDateHome


public interface AdjustableOrRelativeDateHome

AdjustableOrRelativeDateHome.java

null

Author:
Javelin Software
See Also:
AdjustableOrRelativeDate, AdjustableOrRelativeDateSession, AdjustableOrRelativeDateValidator

Method Summary
 int countByQuery(java.lang.String query)
          Count the Beans using a String.
 AdjustableOrRelativeDate create(AdjustableOrRelativeDate adjustableOrRelativeDate)
          Create just this AdjustableOrRelativeDate in the store.
 AdjustableOrRelativeDate findByAdjustableDate(java.lang.Object adjustableDateKey)
          Find the AdjustableOrRelativeDate By AdjustableDate
 java.util.Iterator findByAll()
          Find All the 'available' beans.
 AdjustableOrRelativeDate findByPrimaryKey(java.lang.Object adjustableOrRelativeDateKey)
          Find the AdjustableOrRelativeDate 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.
 AdjustableOrRelativeDate findByRelativeDate(java.lang.Object relativeDateKey)
          Find the AdjustableOrRelativeDate By RelativeDate
 void load(AdjustableOrRelativeDate adjustableOrRelativeDate)
          Reload the AdjustableOrRelativeDate based on it's primaryKey.
 void remove(AdjustableOrRelativeDate adjustableOrRelativeDateKey)
          Remove just this AdjustableOrRelativeDate in the store.
 void store(AdjustableOrRelativeDate adjustableOrRelativeDate)
          Store just this AdjustableOrRelativeDate 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 AdjustableOrRelativeDate findByPrimaryKey(java.lang.Object adjustableOrRelativeDateKey)
                                          throws FinderException,
                                                 ValidationException
Find the AdjustableOrRelativeDate By PrimaryKey

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

findByAdjustableDate

public AdjustableOrRelativeDate findByAdjustableDate(java.lang.Object adjustableDateKey)
                                              throws FinderException,
                                                     ValidationException
Find the AdjustableOrRelativeDate By AdjustableDate

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

findByRelativeDate

public AdjustableOrRelativeDate findByRelativeDate(java.lang.Object relativeDateKey)
                                            throws FinderException,
                                                   ValidationException
Find the AdjustableOrRelativeDate By RelativeDate

Parameters:
relativeDateKey -
Returns:
AdjustableOrRelativeDate
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(AdjustableOrRelativeDate adjustableOrRelativeDate)
          throws LoadException,
                 ValidationException
Reload the AdjustableOrRelativeDate 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 AdjustableOrRelativeDate create(AdjustableOrRelativeDate adjustableOrRelativeDate)
                                throws CreateException,
                                       ValidationException
Create just this AdjustableOrRelativeDate 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(AdjustableOrRelativeDate adjustableOrRelativeDate)
           throws StoreException,
                  ValidationException
Store just this AdjustableOrRelativeDate 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(AdjustableOrRelativeDate adjustableOrRelativeDateKey)
            throws RemoveException,
                   ValidationException
Remove just this AdjustableOrRelativeDate in the store.

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