com.retek.component.customer.impl
Class CustomerManagerImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.DistributedObjectManagerImpl
      extended bycom.retek.component.customer.impl.CustomerManagerImpl
All Implemented Interfaces:
CustomerManager, DistributedObjectManager

public class CustomerManagerImpl
extends DistributedObjectManagerImpl
implements CustomerManager


Field Summary
static java.lang.String MULTIPLE_CUSTOMER_RECORDS_INACTIVE_REASON_ID
           
 
Constructor Summary
CustomerManagerImpl(DistributedContext context)
           
 
Method Summary
 CareCardActivityRequest buildCareCardActivityRequest()
          Builds a new instance of CareCardActivityRequest with activityRequestType set to ActivityRequestType.CARE_CARD
 CatalogRequest buildCatalogRequestInstance()
          Builds a new instance of CatalogRequest and initializes the following values origin = CatalogRequestOrigin.PHONE requestType = CatalogRequestType.UNPAID_INQUIRY createDate = current date
 CatalogType buildCatalogTypeInstance(Banner banner, java.lang.String description, int estimatedDeliveryDays)
          Builds a new instance of CatalogType, initializes description to desc param value, and estimatedDeliveryDays to estimatedDeliveryDays param value.
 CustomerAddress buildCustomerAddressInstance()
          Builds a new instance of CustomerAddress with country initialized to default country.
 CustomerAddress buildCustomerAddressInstance(CustomerAddress copyFrom)
          Builds a new instance of CustomerAddress with all attribute values initialized to the current values on copyFromAddress.
 CustomerCreditCard buildCustomerCreditCardInstance(Banner banner)
          Builds a new CustomerCreditCard with banner initialized to banner parameter, and a new CreditCard.
 CustomerCreditPreApproval buildCustomerCreditPreApprovalInstance()
          Builds a new instance of CustomerCreditPreApproval
 CustomerEmailAddress buildCustomerEmailAddressInstance()
          Builds a new instance of CustomerEmailAddress
 Customer buildCustomerInstance()
          Builds a new instance of Customer and initializes the following values acquisitionMethod = AcquisitionMethod.BUYER
 CustomerPLCCCreditApplication buildCustomerPLCCCreditApplicationInstance(Customer customer)
          Builds a customer credit application for a customer
 CustomerPreference buildCustomerPreferenceInstance(Banner banner)
          Builds a new instance of CustomerPreference with banner initialized to banner parameter.
 CustomerTelephone buildCustomerTelephoneInstance()
          Builds a new instance of CustomerTelephone
 CustomerMergeRequest buildExportCustomerMergeRequestInstance(Customer activeCustomer, User user)
          Builds a new instance of CustomerMergeRequest.
 ForwardAddressActivityRequest buildForwardAddressActivityRequest()
          Builds a new instance of ForwardAddressActivityRequest with activityRequestType set to ActivityRequestType.FORWARD_ADDRESS
 GeneralActivityRequest buildGeneralActivityRequest()
          Builds a new instance of GeneralActivityRequest with activityRequestType set to ActivityRequestType.GENERAL
 CustomerMergeRequest buildImportCustomerMergeRequestInstance(java.lang.String externalRequestId, DistributedReference activeCustomerRef, User user)
          Builds a new instance of CustomerMergeRequest.
 ItemInstructionsActivityRequest buildItemInstructionsActivityRequest()
          Builds a new instance of ItemActivityRequest with activityRequestType set to ActivityRequestType.ITEMINSTRUCTIONS
 LabelActivityRequest buildLabelActivityRequest()
          Builds a new instance of LabelActivityRequest with activityRequestType set to ActivityRequestType.LABEL
 PartialActivityRequest buildPartialActivityRequest()
          Builds a new instance of PartialActivityRequest with activityRequestType set to ActivityRequestType.PARTIAL
 RefundOrGiftCertificateActivityRequest buildRefundOrGiftCertificateActivityRequest()
          Builds a new instance of RefundOrGiftCertificateActivityRequest with activityRequestType set to ActivityRequestType.REFUND
 ReturnActivityRequest buildReturnActivityRequest()
          Builds a new instance of ReturnActivityRequest with activityRequestType set to ActivityRequestType.RETURN
 SpecialOrderActivityRequest buildSpecialOrderActivityRequest()
          Builds a new instance of SpecialOrderActivityRequest with activityRequestType set to ActivityRequestType.SPECIAL_ORDER
 StoredValueCardCashout buildStoredValueCardCashoutInstance()
          Builds a new instance of a StoredValueCardCashout
 WismoActivityRequest buildWismoActivityRequest()
          Builds a new instance of WismoActivityRequest with activityRequestType set to ActivityRequestType.WISMO
 StoredValueCardCashoutResponse cashOutStoredValueCardForCustomer(java.lang.String accountNumber, java.lang.String pin, Customer customer, User user)
           
protected  ReferenceCache fetchMoreReferences(java.lang.Class businessIface)
           
 java.util.Set find(CatalogTypeSearchCriteria criteria)
          Finds all CatalogTypes based on search criteria
 java.util.List find(CustomerFindCriteria findCriteria)
           
 ActivityRequest findActivityRequestById(java.lang.String id)
           
 java.util.Set findActivityRequests(Customer customer)
           
 java.util.Set findAllActivityRequestTypes()
           
 java.util.Set findAllCatalogTypes()
          Finds all active CatalogTypes
 java.util.Set findAllCustomerInactiveReasons()
           
 java.util.List findAllSalutations()
           
 java.util.Set findAllStoredValueCardCashoutsForSalesAuditExport()
          Find all stored value card cashouts marked as 'R'eady for sales audit export.
 java.util.List findAllSuffixes()
           
 java.util.Set findCustomerChangeReasons(CustomerAddress custAddress)
           
 java.util.Set findCustomerCreditPreApproval(CustomerCreditPreApprovalSearchCriteria findCriteria)
           
 java.util.Set findCustomerMergeRequestReferences(CustomerMergeRequestSearchCriteria criteria)
          Finds existing CustomerMergeRequest references based on search critiera.
 java.util.List findCustomerReferences(CustomerExportSearchCriteria findCriteria)
           
 java.util.List findCustomerReferences(CustomerFindCriteria findCriteria)
           
 java.util.Set findMatchingCustomers(CustomerMatchCriteria matchCriteria)
          If MatchCodeFunctionality is active, finds all customers that match the criteria param value according to the current MatchRules.
 java.util.Set findOpenActivityRequests()
          Finds all activity requests of the following types that have not yet been closed: CareCardActivityRequest GeneralActivityRequest RefundOrGiftCertificateActivityRequest SpecialOrderActivityRequest
 CustomerSuffix findSuffix(java.lang.String suffixCode)
           
 java.util.Set findUnexportedCatalogRequestReferences()
          Finds all existing CatalogRequest references that have not yet been exported.
 CustomerInactiveReason getMultipleCustomerRecordsInactiveReason()
           
 void mergeCustomers(java.lang.String activeCustomerId, java.util.Set mergeCustomerIds)
          Merges information from the set of mergeCustomers into the activeCustomer
 void processCustomerMergeRequest(CustomerMergeRequest request)
          Process a customer merge request.
 Customer read(DistributedReference ref)
           
 ActivityRequest readActivityRequest(DistributedReference ref)
           
 CustomerAddress readAddress(DistributedReference ref)
           
 CatalogRequest readCatalogRequest(DistributedReference ref)
           
 java.util.Set readCatalogRequests(java.util.Set refs)
           
 CatalogType readCatalogType(DistributedReference ref)
           
 CustomerMergeRequest readCustomerMergeRequest(DistributedReference ref)
           
 java.util.Set readCustomerMergeRequests(java.util.Set refs)
           
 java.util.List readCustomers(java.util.Collection refs)
           
 CustomerEmailAddress readEmailAddress(DistributedReference ref)
           
 ActivityRequestType readGeneralActivityRequestType()
           
 CustomerSalutation readSalutation(DistributedReference ref)
           
 CustomerSuffix readSuffix(DistributedReference ref)
           
 CustomerTelephone readTelephone(DistributedReference ref)
           
 void updateCatalogRequestsForSuccessfulExport(java.util.Set requestRefs)
          Update catalog request for successful export.
 void updateCustomerMergeRequestsForSuccessfulExport(java.util.Set requestRefs)
          Update customer merge requests for successful export.
 
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
 

Field Detail

MULTIPLE_CUSTOMER_RECORDS_INACTIVE_REASON_ID

public static final java.lang.String MULTIPLE_CUSTOMER_RECORDS_INACTIVE_REASON_ID
See Also:
Constant Field Values
Constructor Detail

CustomerManagerImpl

public CustomerManagerImpl(DistributedContext context)
Method Detail

buildCustomerInstance

public Customer buildCustomerInstance()
                               throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of Customer and initializes the following values acquisitionMethod = AcquisitionMethod.BUYER

Specified by:
buildCustomerInstance in interface CustomerManager
Returns:
Customer - new Customer instance
Throws:
SystemException

findActivityRequestById

public ActivityRequest findActivityRequestById(java.lang.String id)
                                        throws SystemException
Specified by:
findActivityRequestById in interface CustomerManager
Throws:
SystemException

read

public Customer read(DistributedReference ref)
              throws SystemException
Specified by:
read in interface CustomerManager
Throws:
SystemException

readCustomers

public java.util.List readCustomers(java.util.Collection refs)
                             throws SystemException
Specified by:
readCustomers in interface CustomerManager
Throws:
SystemException

buildExportCustomerMergeRequestInstance

public CustomerMergeRequest buildExportCustomerMergeRequestInstance(Customer activeCustomer,
                                                                    User user)
                                                             throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of CustomerMergeRequest.

Specified by:
buildExportCustomerMergeRequestInstance in interface CustomerManager
Parameters:
activeCustomer - value for new CustomerMergeRequest activeCustomer.
user - created by user
Returns:
CustomerMergeRequest new CustomerMergeRequest instance
Throws:
SystemException

buildImportCustomerMergeRequestInstance

public CustomerMergeRequest buildImportCustomerMergeRequestInstance(java.lang.String externalRequestId,
                                                                    DistributedReference activeCustomerRef,
                                                                    User user)
                                                             throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of CustomerMergeRequest.

Specified by:
buildImportCustomerMergeRequestInstance in interface CustomerManager
Parameters:
externalRequestId - external request identifier
activeCustomerRef - reference for active customer
user - reference for created by user
Returns:
CustomerMergeRequest new CustomerMergeRequest instance
Throws:
SystemException

updateCustomerMergeRequestsForSuccessfulExport

public void updateCustomerMergeRequestsForSuccessfulExport(java.util.Set requestRefs)
                                                    throws SystemException
Description copied from interface: CustomerManager
Update customer merge requests for successful export.

Specified by:
updateCustomerMergeRequestsForSuccessfulExport in interface CustomerManager
Throws:
SystemException

updateCatalogRequestsForSuccessfulExport

public void updateCatalogRequestsForSuccessfulExport(java.util.Set requestRefs)
                                              throws SystemException
Description copied from interface: CustomerManager
Update catalog request for successful export.

Specified by:
updateCatalogRequestsForSuccessfulExport in interface CustomerManager
Throws:
SystemException

processCustomerMergeRequest

public void processCustomerMergeRequest(CustomerMergeRequest request)
                                 throws SystemException,
                                        BusinessException
Description copied from interface: CustomerManager
Process a customer merge request.

Specified by:
processCustomerMergeRequest in interface CustomerManager
Parameters:
request - customer merge request to process.
Throws:
SystemException
BusinessException

mergeCustomers

public void mergeCustomers(java.lang.String activeCustomerId,
                           java.util.Set mergeCustomerIds)
                    throws BusinessException,
                           SystemException
Description copied from interface: CustomerManager
Merges information from the set of mergeCustomers into the activeCustomer

Specified by:
mergeCustomers in interface CustomerManager
Parameters:
activeCustomerId - - id customer for merging changes into
mergeCustomerIds - - id's for customers whose data is to be merged into activeCustomerId
Throws:
SystemException
BusinessException

readAddress

public CustomerAddress readAddress(DistributedReference ref)
                            throws SystemException
Specified by:
readAddress in interface CustomerManager
Throws:
SystemException

readTelephone

public CustomerTelephone readTelephone(DistributedReference ref)
                                throws SystemException
Specified by:
readTelephone in interface CustomerManager
Throws:
SystemException

readEmailAddress

public CustomerEmailAddress readEmailAddress(DistributedReference ref)
                                      throws SystemException
Specified by:
readEmailAddress in interface CustomerManager
Throws:
SystemException

readSalutation

public CustomerSalutation readSalutation(DistributedReference ref)
                                  throws SystemException
Specified by:
readSalutation in interface CustomerManager
Throws:
SystemException

readSuffix

public CustomerSuffix readSuffix(DistributedReference ref)
                          throws SystemException
Specified by:
readSuffix in interface CustomerManager
Throws:
SystemException

buildCustomerAddressInstance

public CustomerAddress buildCustomerAddressInstance()
                                             throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of CustomerAddress with country initialized to default country.

Specified by:
buildCustomerAddressInstance in interface CustomerManager
Returns:
CustomerAddress - new CustomerAddress instance
Throws:
SystemException

buildCustomerAddressInstance

public CustomerAddress buildCustomerAddressInstance(CustomerAddress copyFrom)
                                             throws SystemException,
                                                    BusinessException
Description copied from interface: CustomerManager
Builds a new instance of CustomerAddress with all attribute values initialized to the current values on copyFromAddress.

Specified by:
buildCustomerAddressInstance in interface CustomerManager
Returns:
CustomerAddress - new CustomerAddress instance
Throws:
SystemException
BusinessException

buildCustomerTelephoneInstance

public CustomerTelephone buildCustomerTelephoneInstance()
                                                 throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of CustomerTelephone

Specified by:
buildCustomerTelephoneInstance in interface CustomerManager
Returns:
CustomerTelephone new CustomerTelephone instance with no initial values.
Throws:
SystemException

findAllSalutations

public java.util.List findAllSalutations()
                                  throws SystemException
Specified by:
findAllSalutations in interface CustomerManager
Throws:
SystemException

findSuffix

public CustomerSuffix findSuffix(java.lang.String suffixCode)
                          throws SystemException
Specified by:
findSuffix in interface CustomerManager
Throws:
SystemException

findAllSuffixes

public java.util.List findAllSuffixes()
                               throws SystemException
Specified by:
findAllSuffixes in interface CustomerManager
Throws:
SystemException

find

public java.util.List find(CustomerFindCriteria findCriteria)
                    throws InvalidSearchCriteriaException,
                           SystemException
Specified by:
find in interface CustomerManager
Throws:
InvalidSearchCriteriaException
SystemException

findCustomerReferences

public java.util.List findCustomerReferences(CustomerExportSearchCriteria findCriteria)
                                      throws SystemException
Specified by:
findCustomerReferences in interface CustomerManager
Throws:
SystemException

findCustomerReferences

public java.util.List findCustomerReferences(CustomerFindCriteria findCriteria)
                                      throws SystemException
Specified by:
findCustomerReferences in interface CustomerManager
Throws:
SystemException

findCustomerCreditPreApproval

public java.util.Set findCustomerCreditPreApproval(CustomerCreditPreApprovalSearchCriteria findCriteria)
                                            throws SystemException
Specified by:
findCustomerCreditPreApproval in interface CustomerManager
Throws:
SystemException

buildCustomerEmailAddressInstance

public CustomerEmailAddress buildCustomerEmailAddressInstance()
                                                       throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of CustomerEmailAddress

Specified by:
buildCustomerEmailAddressInstance in interface CustomerManager
Returns:
CustomerTelephone new CustomerEmailAddress instance with no initial values.
Throws:
SystemException

buildCustomerCreditPreApprovalInstance

public CustomerCreditPreApproval buildCustomerCreditPreApprovalInstance()
                                                                 throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of CustomerCreditPreApproval

Specified by:
buildCustomerCreditPreApprovalInstance in interface CustomerManager
Returns:
CustomerCreditPreApproval new CustomerCreditPreApproval instance with no initial values.
Throws:
SystemException

buildCustomerPLCCCreditApplicationInstance

public CustomerPLCCCreditApplication buildCustomerPLCCCreditApplicationInstance(Customer customer)
                                                                         throws SystemException,
                                                                                BusinessException
Description copied from interface: CustomerManager
Builds a customer credit application for a customer

Specified by:
buildCustomerPLCCCreditApplicationInstance in interface CustomerManager
Returns:
CustomerCreditApplication - new CustomerCreditApplication instance
Throws:
SystemException
BusinessException

buildCustomerCreditCardInstance

public CustomerCreditCard buildCustomerCreditCardInstance(Banner banner)
                                                   throws SystemException,
                                                          BusinessException
Description copied from interface: CustomerManager
Builds a new CustomerCreditCard with banner initialized to banner parameter, and a new CreditCard.

Specified by:
buildCustomerCreditCardInstance in interface CustomerManager
Returns:
CustomerCreditCard - new CustomerCreditCard instance
Throws:
BusinessException
SystemException

buildCustomerPreferenceInstance

public CustomerPreference buildCustomerPreferenceInstance(Banner banner)
                                                   throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of CustomerPreference with banner initialized to banner parameter.

Specified by:
buildCustomerPreferenceInstance in interface CustomerManager
Returns:
CustomerPreference - new CustomerPreference instance
Throws:
SystemException

readCatalogType

public CatalogType readCatalogType(DistributedReference ref)
                            throws SystemException
Specified by:
readCatalogType in interface CustomerManager
Throws:
SystemException

readCatalogRequest

public CatalogRequest readCatalogRequest(DistributedReference ref)
                                  throws SystemException
Specified by:
readCatalogRequest in interface CustomerManager
Throws:
SystemException

readCatalogRequests

public java.util.Set readCatalogRequests(java.util.Set refs)
                                  throws SystemException
Specified by:
readCatalogRequests in interface CustomerManager
Throws:
SystemException

readCustomerMergeRequest

public CustomerMergeRequest readCustomerMergeRequest(DistributedReference ref)
                                              throws SystemException
Throws:
SystemException

buildCatalogTypeInstance

public CatalogType buildCatalogTypeInstance(Banner banner,
                                            java.lang.String description,
                                            int estimatedDeliveryDays)
                                     throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of CatalogType, initializes description to desc param value, and estimatedDeliveryDays to estimatedDeliveryDays param value.

Specified by:
buildCatalogTypeInstance in interface CustomerManager
Parameters:
description - - initial value for new CatalogType description.
estimatedDeliveryDays - - initial value for new CatalogType estimatedDeliveryDays.
Returns:
CatalogType - new CatalogType instance
Throws:
SystemException

buildCatalogRequestInstance

public CatalogRequest buildCatalogRequestInstance()
                                           throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of CatalogRequest and initializes the following values origin = CatalogRequestOrigin.PHONE requestType = CatalogRequestType.UNPAID_INQUIRY createDate = current date

Specified by:
buildCatalogRequestInstance in interface CustomerManager
Returns:
CatalogRequest - new CatalogRequest instance
Throws:
SystemException

findAllCatalogTypes

public java.util.Set findAllCatalogTypes()
                                  throws SystemException
Description copied from interface: CustomerManager
Finds all active CatalogTypes

Specified by:
findAllCatalogTypes in interface CustomerManager
Returns:
Set - resulting set of Catalog types
Throws:
SystemException

find

public java.util.Set find(CatalogTypeSearchCriteria criteria)
                   throws InvalidSearchCriteriaException,
                          SystemException
Description copied from interface: CustomerManager
Finds all CatalogTypes based on search criteria

Specified by:
find in interface CustomerManager
Returns:
Set - resulting set of Catalog types
Throws:
SystemException
InvalidSearchCriteriaException

buildCareCardActivityRequest

public CareCardActivityRequest buildCareCardActivityRequest()
                                                     throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of CareCardActivityRequest with activityRequestType set to ActivityRequestType.CARE_CARD

Specified by:
buildCareCardActivityRequest in interface CustomerManager
Returns:
CareCardActivityRequest - new CareCardActivityRequest instance
Throws:
SystemException

buildGeneralActivityRequest

public GeneralActivityRequest buildGeneralActivityRequest()
                                                   throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of GeneralActivityRequest with activityRequestType set to ActivityRequestType.GENERAL

Specified by:
buildGeneralActivityRequest in interface CustomerManager
Returns:
GeneralActivityRequest - new GeneralActivityRequest instance
Throws:
SystemException

buildForwardAddressActivityRequest

public ForwardAddressActivityRequest buildForwardAddressActivityRequest()
                                                                 throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of ForwardAddressActivityRequest with activityRequestType set to ActivityRequestType.FORWARD_ADDRESS

Specified by:
buildForwardAddressActivityRequest in interface CustomerManager
Returns:
ForwardAddressActivityRequest - new ForwardAddressActivityRequest instance
Throws:
SystemException

buildReturnActivityRequest

public ReturnActivityRequest buildReturnActivityRequest()
                                                 throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of ReturnActivityRequest with activityRequestType set to ActivityRequestType.RETURN

Specified by:
buildReturnActivityRequest in interface CustomerManager
Returns:
ReturnActivityRequest - new ReturnActivityRequest instance
Throws:
SystemException

buildLabelActivityRequest

public LabelActivityRequest buildLabelActivityRequest()
                                               throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of LabelActivityRequest with activityRequestType set to ActivityRequestType.LABEL

Specified by:
buildLabelActivityRequest in interface CustomerManager
Returns:
LabelActivityRequest - new LabelActivityRequest instance
Throws:
SystemException

buildWismoActivityRequest

public WismoActivityRequest buildWismoActivityRequest()
                                               throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of WismoActivityRequest with activityRequestType set to ActivityRequestType.WISMO

Specified by:
buildWismoActivityRequest in interface CustomerManager
Returns:
WismoActivityRequest - new WismoActivityRequest instance
Throws:
SystemException

buildPartialActivityRequest

public PartialActivityRequest buildPartialActivityRequest()
                                                   throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of PartialActivityRequest with activityRequestType set to ActivityRequestType.PARTIAL

Specified by:
buildPartialActivityRequest in interface CustomerManager
Returns:
PartialActivityRequest - new PartialActivityRequest instance
Throws:
SystemException

buildItemInstructionsActivityRequest

public ItemInstructionsActivityRequest buildItemInstructionsActivityRequest()
                                                                     throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of ItemActivityRequest with activityRequestType set to ActivityRequestType.ITEMINSTRUCTIONS

Specified by:
buildItemInstructionsActivityRequest in interface CustomerManager
Returns:
ItemInstructionsActivityRequest - new ItemInstructionsActivityRequest instance
Throws:
SystemException

buildSpecialOrderActivityRequest

public SpecialOrderActivityRequest buildSpecialOrderActivityRequest()
                                                             throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of SpecialOrderActivityRequest with activityRequestType set to ActivityRequestType.SPECIAL_ORDER

Specified by:
buildSpecialOrderActivityRequest in interface CustomerManager
Returns:
SpecialOrderActivityRequest - new SpecialOrderActivityRequest instance
Throws:
SystemException

buildRefundOrGiftCertificateActivityRequest

public RefundOrGiftCertificateActivityRequest buildRefundOrGiftCertificateActivityRequest()
                                                                                   throws SystemException
Description copied from interface: CustomerManager
Builds a new instance of RefundOrGiftCertificateActivityRequest with activityRequestType set to ActivityRequestType.REFUND

Specified by:
buildRefundOrGiftCertificateActivityRequest in interface CustomerManager
Returns:
RefundOrGiftCertificateActivityRequest - new RefundOrGiftCertificateActivityRequest instance
Throws:
SystemException

findActivityRequests

public java.util.Set findActivityRequests(Customer customer)
                                   throws SystemException,
                                          BusinessException
Specified by:
findActivityRequests in interface CustomerManager
Throws:
SystemException
BusinessException

findOpenActivityRequests

public java.util.Set findOpenActivityRequests()
                                       throws SystemException
Description copied from interface: CustomerManager
Finds all activity requests of the following types that have not yet been closed: CareCardActivityRequest GeneralActivityRequest RefundOrGiftCertificateActivityRequest SpecialOrderActivityRequest

Specified by:
findOpenActivityRequests in interface CustomerManager
Returns:
Set - resulting set of ActivityRequests
Throws:
SystemException

findUnexportedCatalogRequestReferences

public java.util.Set findUnexportedCatalogRequestReferences()
                                                     throws SystemException
Description copied from interface: CustomerManager
Finds all existing CatalogRequest references that have not yet been exported.

Specified by:
findUnexportedCatalogRequestReferences in interface CustomerManager
Returns:
Set - resulting set of Catalog Request references
Throws:
SystemException

readCustomerMergeRequests

public java.util.Set readCustomerMergeRequests(java.util.Set refs)
                                        throws SystemException
Specified by:
readCustomerMergeRequests in interface CustomerManager
Throws:
SystemException

findCustomerMergeRequestReferences

public java.util.Set findCustomerMergeRequestReferences(CustomerMergeRequestSearchCriteria criteria)
                                                 throws SystemException
Description copied from interface: CustomerManager
Finds existing CustomerMergeRequest references based on search critiera.

Specified by:
findCustomerMergeRequestReferences in interface CustomerManager
Returns:
Set - matching customer merge request references
Throws:
SystemException

findCustomerChangeReasons

public java.util.Set findCustomerChangeReasons(CustomerAddress custAddress)
                                        throws SystemException
Specified by:
findCustomerChangeReasons in interface CustomerManager
Throws:
SystemException

findMatchingCustomers

public java.util.Set findMatchingCustomers(CustomerMatchCriteria matchCriteria)
                                    throws BusinessException,
                                           SystemException
Description copied from interface: CustomerManager
If MatchCodeFunctionality is active, finds all customers that match the criteria param value according to the current MatchRules.

Specified by:
findMatchingCustomers in interface CustomerManager
Returns:
Set - resulting set of matching Customers
Throws:
SystemException
BusinessException

findAllActivityRequestTypes

public java.util.Set findAllActivityRequestTypes()
                                          throws SystemException
Specified by:
findAllActivityRequestTypes in interface CustomerManager
Throws:
SystemException

readActivityRequest

public ActivityRequest readActivityRequest(DistributedReference ref)
                                    throws SystemException
Specified by:
readActivityRequest in interface CustomerManager
Throws:
SystemException

readGeneralActivityRequestType

public ActivityRequestType readGeneralActivityRequestType()
                                                   throws SystemException
Specified by:
readGeneralActivityRequestType in interface CustomerManager
Throws:
SystemException

fetchMoreReferences

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

cashOutStoredValueCardForCustomer

public StoredValueCardCashoutResponse cashOutStoredValueCardForCustomer(java.lang.String accountNumber,
                                                                        java.lang.String pin,
                                                                        Customer customer,
                                                                        User user)
                                                                 throws BusinessException,
                                                                        SystemException
Specified by:
cashOutStoredValueCardForCustomer in interface CustomerManager
Throws:
BusinessException
SystemException

buildStoredValueCardCashoutInstance

public StoredValueCardCashout buildStoredValueCardCashoutInstance()
                                                           throws SystemException,
                                                                  BusinessException
Description copied from interface: CustomerManager
Builds a new instance of a StoredValueCardCashout

Specified by:
buildStoredValueCardCashoutInstance in interface CustomerManager
Returns:
StoredValueCardCashout - new StoredValueCardCashout instance
Throws:
BusinessException
SystemException

findAllStoredValueCardCashoutsForSalesAuditExport

public java.util.Set findAllStoredValueCardCashoutsForSalesAuditExport()
                                                                throws SystemException
Description copied from interface: CustomerManager
Find all stored value card cashouts marked as 'R'eady for sales audit export.

Specified by:
findAllStoredValueCardCashoutsForSalesAuditExport in interface CustomerManager
Returns:
Set
Throws:
SystemException

findAllCustomerInactiveReasons

public java.util.Set findAllCustomerInactiveReasons()
                                             throws SystemException
Specified by:
findAllCustomerInactiveReasons in interface CustomerManager
Throws:
SystemException

getMultipleCustomerRecordsInactiveReason

public CustomerInactiveReason getMultipleCustomerRecordsInactiveReason()
                                                                throws SystemException
Specified by:
getMultipleCustomerRecordsInactiveReason in interface CustomerManager
Throws:
SystemException


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