|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.component.impl.persistence.cache.MemoryDao
com.retek.component.customer.impl.persistence.cache.CacheCustomerDao
Constructor Summary | |
CacheCustomerDao()
|
Method Summary | |
ReferenceCache |
createReferenceCache(java.lang.Class businessInterface)
Creates a reference for a new given businessInterface. |
ReferenceCache |
createReferenceCacheForCustomerCreditCard()
|
java.util.List |
find(CustomerFindCriteria findCriteria)
Finds all customers meeting the given criteria. |
java.util.Set |
findAllCustomerChangeReasons()
Finds all customer change reasons. |
java.util.Set |
findAllCustomerInactiveReasons()
Finds all CustomerInactiveReasonDtos |
java.util.List |
findAllMatchRules()
Finds all match rules. |
java.util.Set |
findCustomerCreditPreApproval(CustomerCreditPreApprovalSearchCriteria findCriteria)
Finds all customer credit pre-approvals that match the given criteria. |
java.util.List |
findCustomerReferences(CustomerExportSearchCriteria criteria)
Finds all customers references meeting the given criteria. |
java.util.List |
findCustomerReferences(CustomerFindCriteria criteria)
Finds all customers references meeting the given criteria. |
java.util.Set |
findProcessedCustomerImportRequestIds(java.util.Set importRequestIds)
Find previously processed customer import request ids. |
java.util.Set |
findStoredValueCardCashoutsForSalesAuditExport()
Finds all StoredValueCardCashoutDtos with a sales audit state of READY |
java.util.List |
getSalutations()
Reads all of the customer salutations (e.g. |
java.util.List |
getSuffixes()
Reads all of the customer suffixes (e.g. |
boolean |
hasProcessedCustomerImportRequest(java.lang.String requestId)
|
CustomerCreditPreApprovalDto |
persist(CustomerCreditPreApprovalDto preApprovaldto)
Persists a customer credit pre-approval. |
CustomerDto |
persist(CustomerDto dto)
Persists a customer. |
StoredValueCardCashoutDto |
persist(StoredValueCardCashoutDto cashoutDto)
Persists a stored value card cashout record. |
CustomerDto |
read(DistributedReference ref)
Reads the customer for the given reference. |
CustomerAddressDto |
readAddress(DistributedReference ref)
Reads the customer address for the given reference. |
CustomerChangeReasonDto |
readCustomerChangeReason(DistributedReference ref)
Read a customer change reason |
CustomerInactiveReasonDto |
readCustomerInactiveReason(DistributedReference ref)
Read a customer inactive reason |
java.util.List |
readCustomers(java.util.Collection refs)
Reads the customers for the given references. |
SalutationDto |
readCustomerSalutation(DistributedReference ref)
Reads the country for the given reference. |
SuffixDto |
readCustomerSuffix(DistributedReference ref)
Reads the customer suffix (e.g. |
CustomerEmailAddressDto |
readEmailAddress(DistributedReference ref)
Reads the customer email for the given reference. |
StoredValueCardCashoutDto |
readStoredValueCardCashout(DistributedReference ref)
Read a stored value card cashout. |
CustomerTelephoneDto |
readTelephone(DistributedReference ref)
Reads the customer telephone for the given reference. |
static void |
reset()
|
void |
setCheckContextsOnDoPersist(boolean checkContextsOnDoPersist)
|
MatchRuleDto |
update(MatchRuleDto matchRuleDto)
Persists changes to a match rule. |
Methods inherited from class com.retek.commons.component.impl.persistence.cache.MemoryDao |
doCreateReferenceCache, doCreateReferenceCache, doDelete, doPersist, doPersist, doRead, doRead, getDtosForType, getSizeReport, isWildCardEqual, resetAll |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CacheCustomerDao() throws SystemException
Method Detail |
public static void reset()
public ReferenceCache createReferenceCacheForCustomerCreditCard() throws SystemException
SystemException
public CustomerDto persist(CustomerDto dto) throws SystemException
CustomerDao
persist
in interface CustomerDao
dto
- customer dto
SystemException
public CustomerCreditPreApprovalDto persist(CustomerCreditPreApprovalDto preApprovaldto) throws SystemException
CustomerDao
persist
in interface CustomerDao
SystemException
public StoredValueCardCashoutDto persist(StoredValueCardCashoutDto cashoutDto) throws SystemException
CustomerDao
persist
in interface CustomerDao
SystemException
public CustomerDto read(DistributedReference ref) throws SystemException
CustomerDao
read
in interface CustomerDao
SystemException
public boolean hasProcessedCustomerImportRequest(java.lang.String requestId) throws SystemException
SystemException
public java.util.List readCustomers(java.util.Collection refs) throws SystemException
CustomerDao
readCustomers
in interface CustomerDao
refs
- customers to read
SystemException
public ReferenceCache createReferenceCache(java.lang.Class businessInterface) throws SystemException
CustomerDao
createReferenceCache
in interface CustomerDao
SystemException
public java.util.List getSalutations()
CustomerDao
getSalutations
in interface CustomerDao
public java.util.List getSuffixes()
CustomerDao
getSuffixes
in interface CustomerDao
public java.util.Set findCustomerCreditPreApproval(CustomerCreditPreApprovalSearchCriteria findCriteria) throws SystemException
CustomerDao
findCustomerCreditPreApproval
in interface CustomerDao
SystemException
public java.util.List find(CustomerFindCriteria findCriteria) throws SystemException
CustomerDao
find
in interface CustomerDao
SystemException
public java.util.List findCustomerReferences(CustomerFindCriteria criteria) throws SystemException
CustomerDao
findCustomerReferences
in interface CustomerDao
criteria
- customer search criteria
SystemException
public java.util.List findCustomerReferences(CustomerExportSearchCriteria criteria) throws SystemException
CustomerDao
findCustomerReferences
in interface CustomerDao
criteria
- customer export search criteria
SystemException
public java.util.Set findProcessedCustomerImportRequestIds(java.util.Set importRequestIds) throws SystemException
CustomerDao
findProcessedCustomerImportRequestIds
in interface CustomerDao
importRequestIds
- customer import request ids
SystemException
public MatchRuleDto update(MatchRuleDto matchRuleDto) throws SystemException
CustomerDao
update
in interface CustomerDao
SystemException
public java.util.List findAllMatchRules() throws SystemException
CustomerDao
findAllMatchRules
in interface CustomerDao
SystemException
public CustomerAddressDto readAddress(DistributedReference ref) throws SystemException
CustomerDao
readAddress
in interface CustomerDao
SystemException
public CustomerTelephoneDto readTelephone(DistributedReference ref) throws SystemException
CustomerDao
readTelephone
in interface CustomerDao
SystemException
public CustomerEmailAddressDto readEmailAddress(DistributedReference ref) throws SystemException
CustomerDao
readEmailAddress
in interface CustomerDao
SystemException
public StoredValueCardCashoutDto readStoredValueCardCashout(DistributedReference ref) throws SystemException
CustomerDao
readStoredValueCardCashout
in interface CustomerDao
ref
-
SystemException
public java.util.Set findAllCustomerChangeReasons() throws SystemException
CustomerDao
findAllCustomerChangeReasons
in interface CustomerDao
SystemException
public java.util.Set findStoredValueCardCashoutsForSalesAuditExport() throws SystemException
CustomerDao
findStoredValueCardCashoutsForSalesAuditExport
in interface CustomerDao
SystemException
public SalutationDto readCustomerSalutation(DistributedReference ref) throws SystemException
CustomerDao
readCustomerSalutation
in interface CustomerDao
SystemException
public SuffixDto readCustomerSuffix(DistributedReference ref) throws SystemException
CustomerDao
readCustomerSuffix
in interface CustomerDao
SystemException
public java.util.Set findAllCustomerInactiveReasons() throws SystemException
CustomerDao
findAllCustomerInactiveReasons
in interface CustomerDao
SystemException
public CustomerInactiveReasonDto readCustomerInactiveReason(DistributedReference ref) throws SystemException
CustomerDao
readCustomerInactiveReason
in interface CustomerDao
ref
-
SystemException
public CustomerChangeReasonDto readCustomerChangeReason(DistributedReference ref) throws SystemException
CustomerDao
readCustomerChangeReason
in interface CustomerDao
ref
-
SystemException
public void setCheckContextsOnDoPersist(boolean checkContextsOnDoPersist)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |