|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.component.impl.DistributedObjectManagerImpl
com.retek.component.customer.impl.CustomerManagerImpl
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 |
public static final java.lang.String MULTIPLE_CUSTOMER_RECORDS_INACTIVE_REASON_ID
Constructor Detail |
public CustomerManagerImpl(DistributedContext context)
Method Detail |
public Customer buildCustomerInstance() throws SystemException
CustomerManager
buildCustomerInstance
in interface CustomerManager
SystemException
public ActivityRequest findActivityRequestById(java.lang.String id) throws SystemException
findActivityRequestById
in interface CustomerManager
SystemException
public Customer read(DistributedReference ref) throws SystemException
read
in interface CustomerManager
SystemException
public java.util.List readCustomers(java.util.Collection refs) throws SystemException
readCustomers
in interface CustomerManager
SystemException
public CustomerMergeRequest buildExportCustomerMergeRequestInstance(Customer activeCustomer, User user) throws SystemException
CustomerManager
buildExportCustomerMergeRequestInstance
in interface CustomerManager
activeCustomer
- value for new CustomerMergeRequest activeCustomer.user
- created by user
SystemException
public CustomerMergeRequest buildImportCustomerMergeRequestInstance(java.lang.String externalRequestId, DistributedReference activeCustomerRef, User user) throws SystemException
CustomerManager
buildImportCustomerMergeRequestInstance
in interface CustomerManager
externalRequestId
- external request identifieractiveCustomerRef
- reference for active customeruser
- reference for created by user
SystemException
public void updateCustomerMergeRequestsForSuccessfulExport(java.util.Set requestRefs) throws SystemException
CustomerManager
updateCustomerMergeRequestsForSuccessfulExport
in interface CustomerManager
SystemException
public void updateCatalogRequestsForSuccessfulExport(java.util.Set requestRefs) throws SystemException
CustomerManager
updateCatalogRequestsForSuccessfulExport
in interface CustomerManager
SystemException
public void processCustomerMergeRequest(CustomerMergeRequest request) throws SystemException, BusinessException
CustomerManager
processCustomerMergeRequest
in interface CustomerManager
request
- customer merge request to process.
SystemException
BusinessException
public void mergeCustomers(java.lang.String activeCustomerId, java.util.Set mergeCustomerIds) throws BusinessException, SystemException
CustomerManager
mergeCustomers
in interface CustomerManager
activeCustomerId
- - id customer for merging changes intomergeCustomerIds
- - id's for customers whose data is to be merged into activeCustomerId
SystemException
BusinessException
public CustomerAddress readAddress(DistributedReference ref) throws SystemException
readAddress
in interface CustomerManager
SystemException
public CustomerTelephone readTelephone(DistributedReference ref) throws SystemException
readTelephone
in interface CustomerManager
SystemException
public CustomerEmailAddress readEmailAddress(DistributedReference ref) throws SystemException
readEmailAddress
in interface CustomerManager
SystemException
public CustomerSalutation readSalutation(DistributedReference ref) throws SystemException
readSalutation
in interface CustomerManager
SystemException
public CustomerSuffix readSuffix(DistributedReference ref) throws SystemException
readSuffix
in interface CustomerManager
SystemException
public CustomerAddress buildCustomerAddressInstance() throws SystemException
CustomerManager
buildCustomerAddressInstance
in interface CustomerManager
SystemException
public CustomerAddress buildCustomerAddressInstance(CustomerAddress copyFrom) throws SystemException, BusinessException
CustomerManager
buildCustomerAddressInstance
in interface CustomerManager
SystemException
BusinessException
public CustomerTelephone buildCustomerTelephoneInstance() throws SystemException
CustomerManager
buildCustomerTelephoneInstance
in interface CustomerManager
SystemException
public java.util.List findAllSalutations() throws SystemException
findAllSalutations
in interface CustomerManager
SystemException
public CustomerSuffix findSuffix(java.lang.String suffixCode) throws SystemException
findSuffix
in interface CustomerManager
SystemException
public java.util.List findAllSuffixes() throws SystemException
findAllSuffixes
in interface CustomerManager
SystemException
public java.util.List find(CustomerFindCriteria findCriteria) throws InvalidSearchCriteriaException, SystemException
find
in interface CustomerManager
InvalidSearchCriteriaException
SystemException
public java.util.List findCustomerReferences(CustomerExportSearchCriteria findCriteria) throws SystemException
findCustomerReferences
in interface CustomerManager
SystemException
public java.util.List findCustomerReferences(CustomerFindCriteria findCriteria) throws SystemException
findCustomerReferences
in interface CustomerManager
SystemException
public java.util.Set findCustomerCreditPreApproval(CustomerCreditPreApprovalSearchCriteria findCriteria) throws SystemException
findCustomerCreditPreApproval
in interface CustomerManager
SystemException
public CustomerEmailAddress buildCustomerEmailAddressInstance() throws SystemException
CustomerManager
buildCustomerEmailAddressInstance
in interface CustomerManager
SystemException
public CustomerCreditPreApproval buildCustomerCreditPreApprovalInstance() throws SystemException
CustomerManager
buildCustomerCreditPreApprovalInstance
in interface CustomerManager
SystemException
public CustomerPLCCCreditApplication buildCustomerPLCCCreditApplicationInstance(Customer customer) throws SystemException, BusinessException
CustomerManager
buildCustomerPLCCCreditApplicationInstance
in interface CustomerManager
SystemException
BusinessException
public CustomerCreditCard buildCustomerCreditCardInstance(Banner banner) throws SystemException, BusinessException
CustomerManager
buildCustomerCreditCardInstance
in interface CustomerManager
BusinessException
SystemException
public CustomerPreference buildCustomerPreferenceInstance(Banner banner) throws SystemException
CustomerManager
buildCustomerPreferenceInstance
in interface CustomerManager
SystemException
public CatalogType readCatalogType(DistributedReference ref) throws SystemException
readCatalogType
in interface CustomerManager
SystemException
public CatalogRequest readCatalogRequest(DistributedReference ref) throws SystemException
readCatalogRequest
in interface CustomerManager
SystemException
public java.util.Set readCatalogRequests(java.util.Set refs) throws SystemException
readCatalogRequests
in interface CustomerManager
SystemException
public CustomerMergeRequest readCustomerMergeRequest(DistributedReference ref) throws SystemException
SystemException
public CatalogType buildCatalogTypeInstance(Banner banner, java.lang.String description, int estimatedDeliveryDays) throws SystemException
CustomerManager
buildCatalogTypeInstance
in interface CustomerManager
description
- - initial value for new CatalogType description.estimatedDeliveryDays
- - initial value for new CatalogType estimatedDeliveryDays.
SystemException
public CatalogRequest buildCatalogRequestInstance() throws SystemException
CustomerManager
buildCatalogRequestInstance
in interface CustomerManager
SystemException
public java.util.Set findAllCatalogTypes() throws SystemException
CustomerManager
findAllCatalogTypes
in interface CustomerManager
SystemException
public java.util.Set find(CatalogTypeSearchCriteria criteria) throws InvalidSearchCriteriaException, SystemException
CustomerManager
find
in interface CustomerManager
SystemException
InvalidSearchCriteriaException
public CareCardActivityRequest buildCareCardActivityRequest() throws SystemException
CustomerManager
buildCareCardActivityRequest
in interface CustomerManager
SystemException
public GeneralActivityRequest buildGeneralActivityRequest() throws SystemException
CustomerManager
buildGeneralActivityRequest
in interface CustomerManager
SystemException
public ForwardAddressActivityRequest buildForwardAddressActivityRequest() throws SystemException
CustomerManager
buildForwardAddressActivityRequest
in interface CustomerManager
SystemException
public ReturnActivityRequest buildReturnActivityRequest() throws SystemException
CustomerManager
buildReturnActivityRequest
in interface CustomerManager
SystemException
public LabelActivityRequest buildLabelActivityRequest() throws SystemException
CustomerManager
buildLabelActivityRequest
in interface CustomerManager
SystemException
public WismoActivityRequest buildWismoActivityRequest() throws SystemException
CustomerManager
buildWismoActivityRequest
in interface CustomerManager
SystemException
public PartialActivityRequest buildPartialActivityRequest() throws SystemException
CustomerManager
buildPartialActivityRequest
in interface CustomerManager
SystemException
public ItemInstructionsActivityRequest buildItemInstructionsActivityRequest() throws SystemException
CustomerManager
buildItemInstructionsActivityRequest
in interface CustomerManager
SystemException
public SpecialOrderActivityRequest buildSpecialOrderActivityRequest() throws SystemException
CustomerManager
buildSpecialOrderActivityRequest
in interface CustomerManager
SystemException
public RefundOrGiftCertificateActivityRequest buildRefundOrGiftCertificateActivityRequest() throws SystemException
CustomerManager
buildRefundOrGiftCertificateActivityRequest
in interface CustomerManager
SystemException
public java.util.Set findActivityRequests(Customer customer) throws SystemException, BusinessException
findActivityRequests
in interface CustomerManager
SystemException
BusinessException
public java.util.Set findOpenActivityRequests() throws SystemException
CustomerManager
findOpenActivityRequests
in interface CustomerManager
SystemException
public java.util.Set findUnexportedCatalogRequestReferences() throws SystemException
CustomerManager
findUnexportedCatalogRequestReferences
in interface CustomerManager
SystemException
public java.util.Set readCustomerMergeRequests(java.util.Set refs) throws SystemException
readCustomerMergeRequests
in interface CustomerManager
SystemException
public java.util.Set findCustomerMergeRequestReferences(CustomerMergeRequestSearchCriteria criteria) throws SystemException
CustomerManager
findCustomerMergeRequestReferences
in interface CustomerManager
SystemException
public java.util.Set findCustomerChangeReasons(CustomerAddress custAddress) throws SystemException
findCustomerChangeReasons
in interface CustomerManager
SystemException
public java.util.Set findMatchingCustomers(CustomerMatchCriteria matchCriteria) throws BusinessException, SystemException
CustomerManager
findMatchingCustomers
in interface CustomerManager
SystemException
BusinessException
public java.util.Set findAllActivityRequestTypes() throws SystemException
findAllActivityRequestTypes
in interface CustomerManager
SystemException
public ActivityRequest readActivityRequest(DistributedReference ref) throws SystemException
readActivityRequest
in interface CustomerManager
SystemException
public ActivityRequestType readGeneralActivityRequestType() throws SystemException
readGeneralActivityRequestType
in interface CustomerManager
SystemException
protected ReferenceCache fetchMoreReferences(java.lang.Class businessIface) throws SystemException
fetchMoreReferences
in class DistributedObjectManagerImpl
SystemException
public StoredValueCardCashoutResponse cashOutStoredValueCardForCustomer(java.lang.String accountNumber, java.lang.String pin, Customer customer, User user) throws BusinessException, SystemException
cashOutStoredValueCardForCustomer
in interface CustomerManager
BusinessException
SystemException
public StoredValueCardCashout buildStoredValueCardCashoutInstance() throws SystemException, BusinessException
CustomerManager
buildStoredValueCardCashoutInstance
in interface CustomerManager
BusinessException
SystemException
public java.util.Set findAllStoredValueCardCashoutsForSalesAuditExport() throws SystemException
CustomerManager
findAllStoredValueCardCashoutsForSalesAuditExport
in interface CustomerManager
SystemException
public java.util.Set findAllCustomerInactiveReasons() throws SystemException
findAllCustomerInactiveReasons
in interface CustomerManager
SystemException
public CustomerInactiveReason getMultipleCustomerRecordsInactiveReason() throws SystemException
getMultipleCustomerRecordsInactiveReason
in interface CustomerManager
SystemException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |