com.retek.component.payment.impl
Class TenderTypeManagerImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.DistributedObjectManagerImpl
      extended bycom.retek.component.payment.impl.TenderTypeManagerImpl
All Implemented Interfaces:
DistributedObjectManager, TenderTypeManager

public class TenderTypeManagerImpl
extends DistributedObjectManagerImpl
implements TenderTypeManager


Constructor Summary
TenderTypeManagerImpl()
          Deprecated. pass a context
TenderTypeManagerImpl(DistributedContext context)
           
 
Method Summary
protected  ReferenceCache fetchMoreReferences(java.lang.Class businessIface)
           
 java.util.List findAllTenderTypeGroups()
          Finds all TenderTypeGroups and returns a List of TenderTypeGroup objects.
 java.util.List findAllTenderTypes()
          Finds all TenderTypes and returns a List of TenderType objects.
 java.util.Set findGiftReturnTenderTypes()
          Finds all TenderTypes that are valid for use as gift return refund tender.
 java.util.Set findPrivateLabelTenderTypes(Banner banner)
          Finds all private label TenderTypes that are valid for the banner passed in.
 TenderType findTenderType(java.lang.String tenderTypeName)
          Finds a specific TenderType by name.
 java.util.Set findTenderTypes(Banner banner)
          Finds all TenderTypes that are valid for the banner passed in.
 java.util.List findTenderTypes(TenderTypeSearchCriteria searchCriteria)
          Finds all TenderTypes that match the given search criteria and returns a List of TenderType objects.
 java.util.Collection getTenderType(java.lang.String creditCardNumber)
          Takes a credit card number String and finds all possible matching credit card TenderTypes by performing credit card number validation on the String.
 boolean isMod10(java.lang.String number)
          Takes a number and determines if it is a valid account number based on the Mod10 algorithm given.
 PaymentPlanCode readPaymentPlanCode(DistributedReference paymentPlanCodeRef)
          Resolves a reference to a PaymentPlanCode and returns the associated object.
 TenderType readTenderType(DistributedReference tenderTypeRef)
          Resolves a reference to a TenderType and returns the associated object.
 TenderTypeGroup readTenderTypeGroup(DistributedReference tenderTypeGroupRef)
          Resolves a reference to a TenderTypeGroup and returns the associated object.
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectManagerImpl
getContext, getReferenceCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.retek.commons.component.DistributedObjectManager
getContext
 

Constructor Detail

TenderTypeManagerImpl

public TenderTypeManagerImpl()
Deprecated. pass a context


TenderTypeManagerImpl

public TenderTypeManagerImpl(DistributedContext context)
Method Detail

findAllTenderTypeGroups

public java.util.List findAllTenderTypeGroups()
                                       throws SystemException
Description copied from interface: TenderTypeManager
Finds all TenderTypeGroups and returns a List of TenderTypeGroup objects.

Specified by:
findAllTenderTypeGroups in interface TenderTypeManager
Returns:
java.util.List
Throws:
SystemException

findAllTenderTypes

public java.util.List findAllTenderTypes()
                                  throws SystemException
Description copied from interface: TenderTypeManager
Finds all TenderTypes and returns a List of TenderType objects.

Specified by:
findAllTenderTypes in interface TenderTypeManager
Returns:
java.util.List
Throws:
SystemException

readTenderTypeGroup

public TenderTypeGroup readTenderTypeGroup(DistributedReference tenderTypeGroupRef)
                                    throws SystemException
Description copied from interface: TenderTypeManager
Resolves a reference to a TenderTypeGroup and returns the associated object.

Specified by:
readTenderTypeGroup in interface TenderTypeManager
Returns:
TenderTypeGroup
Throws:
SystemException

readTenderType

public TenderType readTenderType(DistributedReference tenderTypeRef)
                          throws SystemException
Description copied from interface: TenderTypeManager
Resolves a reference to a TenderType and returns the associated object.

Specified by:
readTenderType in interface TenderTypeManager
Returns:
TenderType
Throws:
SystemException

readPaymentPlanCode

public PaymentPlanCode readPaymentPlanCode(DistributedReference paymentPlanCodeRef)
                                    throws SystemException
Description copied from interface: TenderTypeManager
Resolves a reference to a PaymentPlanCode and returns the associated object.

Specified by:
readPaymentPlanCode in interface TenderTypeManager
Returns:
PaymentPlanCode
Throws:
SystemException

getTenderType

public java.util.Collection getTenderType(java.lang.String creditCardNumber)
                                   throws SystemException
Description copied from interface: TenderTypeManager
Takes a credit card number String and finds all possible matching credit card TenderTypes by performing credit card number validation on the String.

Specified by:
getTenderType in interface TenderTypeManager
Returns:
java.util.Collection
Throws:
SystemException

isMod10

public boolean isMod10(java.lang.String number)
Description copied from interface: TenderTypeManager
Takes a number and determines if it is a valid account number based on the Mod10 algorithm given.

Specified by:
isMod10 in interface TenderTypeManager
Returns:
boolean

findTenderTypes

public java.util.List findTenderTypes(TenderTypeSearchCriteria searchCriteria)
                               throws SystemException
Description copied from interface: TenderTypeManager
Finds all TenderTypes that match the given search criteria and returns a List of TenderType objects.

Specified by:
findTenderTypes in interface TenderTypeManager
Returns:
java.util.List
Throws:
SystemException

findTenderType

public TenderType findTenderType(java.lang.String tenderTypeName)
                          throws SystemException
Description copied from interface: TenderTypeManager
Finds a specific TenderType by name.

Specified by:
findTenderType in interface TenderTypeManager
Returns:
TenderType
Throws:
SystemException

findGiftReturnTenderTypes

public java.util.Set findGiftReturnTenderTypes()
                                        throws SystemException
Description copied from interface: TenderTypeManager
Finds all TenderTypes that are valid for use as gift return refund tender.

Specified by:
findGiftReturnTenderTypes in interface TenderTypeManager
Returns:
java.util.Set
Throws:
SystemException

findTenderTypes

public java.util.Set findTenderTypes(Banner banner)
                              throws SystemException
Description copied from interface: TenderTypeManager
Finds all TenderTypes that are valid for the banner passed in.

Specified by:
findTenderTypes in interface TenderTypeManager
Returns:
Set
Throws:
SystemException

findPrivateLabelTenderTypes

public java.util.Set findPrivateLabelTenderTypes(Banner banner)
                                          throws SystemException
Description copied from interface: TenderTypeManager
Finds all private label TenderTypes that are valid for the banner passed in.

Specified by:
findPrivateLabelTenderTypes in interface TenderTypeManager
Returns:
Set
Throws:
SystemException

fetchMoreReferences

protected ReferenceCache fetchMoreReferences(java.lang.Class businessIface)
                                      throws SystemException
Specified by:
fetchMoreReferences in class DistributedObjectManagerImpl
Throws:
SystemException


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