com.retek.component.payment.impl.persistence
Interface TenderTypeDao

All Known Implementing Classes:
CacheTenderTypeDao, OracleTenderTypeDao

public interface TenderTypeDao

Contains all methods for accessing persisted tender types and tender type groups.


Method Summary
 java.util.List findAllTenderTypeGroups()
          Finds all persisted tender type groups.
 java.util.List findAllTenderTypes()
          Finds all persisted tender types.
 java.util.List findTenderTypes(TenderTypeSearchCriteria criteria)
          Finds all persisted tender types that match the search criteria.
 PaymentPlanCodeDto readPaymentPlanCode(DistributedReference ref)
          Reads a specific payment plan code based on the reference.
 TenderTypeDto readTenderType(DistributedReference ref)
          Reads a specific tender type based on the reference.
 TenderTypeGroupDto readTenderTypeGroup(DistributedReference ref)
          Reads a specific tender type group based on the reference.
 

Method Detail

findAllTenderTypeGroups

public java.util.List findAllTenderTypeGroups()
                                       throws SystemException
Finds all persisted tender type groups.

Returns:
collection of TenderTypeGroupDto's
Throws:
SystemException

findAllTenderTypes

public java.util.List findAllTenderTypes()
                                  throws SystemException
Finds all persisted tender types.

Returns:
collection of TenderTypeDto's
Throws:
SystemException

findTenderTypes

public java.util.List findTenderTypes(TenderTypeSearchCriteria criteria)
                               throws SystemException
Finds all persisted tender types that match the search criteria.

Parameters:
criteria - search criteria to filter the results
Returns:
collection of TenderTypeDto's
Throws:
SystemException

readTenderType

public TenderTypeDto readTenderType(DistributedReference ref)
                             throws SystemException
Reads a specific tender type based on the reference.

Parameters:
ref - reference of the tender type to be read
Returns:
tender type specified by the reference
Throws:
InvalidReferenceException - thrown when the reference passed in is not a valid persisted tender type.
SystemException

readTenderTypeGroup

public TenderTypeGroupDto readTenderTypeGroup(DistributedReference ref)
                                       throws SystemException
Reads a specific tender type group based on the reference.

Parameters:
ref - reference of the tender type group to be read
Returns:
tender type group specified by the reference
Throws:
InvalidReferenceException - thrown when the reference passed in is not a valid persisted tender type group.
SystemException

readPaymentPlanCode

public PaymentPlanCodeDto readPaymentPlanCode(DistributedReference ref)
                                       throws SystemException
Reads a specific payment plan code based on the reference.

Parameters:
ref - reference of the payment plan code to be read
Returns:
tender type specified by the reference
Throws:
InvalidReferenceException - thrown when the reference passed in is not a valid persisted payment plan code.
SystemException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28