|
|||||||||||
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.history.impl.HistoryManagerImpl
Constructor Summary | |
HistoryManagerImpl(DistributedContext context)
|
Method Summary | |
HistoryEventType |
buildExternalHistoryEventType()
|
HistoryEvent |
buildGenericHistoryEventInstanceForCustomer(User user,
Customer customer,
java.lang.String eventDetail)
Deprecated. test uses deprecated API's |
HistoryEvent |
buildGenericHistoryEventInstanceForOrder(User user,
CustomerOrder order,
HistoryEventType eventType,
HistoryEventVisibility visibility,
java.lang.String eventDetail)
Deprecated. test uses deprecated API's |
HistoryEvent |
buildGenericHistoryEventInstanceForOrder(User user,
CustomerOrder order,
HistoryEventVisibility visibility,
java.lang.String eventDetail)
Deprecated. test uses deprecated API's |
HistoryEvent |
buildHistoryEventInstance(HistoryEventRequest eventRequest)
Build a new history event instance for a history event request object. |
HistoryEvent |
buildHistoryEventInstanceForActivityRequest(Banner banner,
ChannelType channelType,
User user,
Customer customer,
CustomerOrder order,
ActivityRequest request)
Build a new customer history event instance for an activity request. |
HistoryEvent |
buildHistoryEventInstanceForCustomer(Banner banner,
ChannelType channelType,
HistoryEventType type,
User user,
Customer customer)
Build a new customer history event instance for a customer. |
HistoryEvent |
buildHistoryEventInstanceForOrder(HistoryEventType type,
User user,
CustomerOrder order)
Build a new customer history event instance for an order. |
protected ReferenceCache |
fetchMoreReferences(java.lang.Class businessIface)
|
java.util.Set |
findAllEventTypes()
|
java.util.List |
findEventsForCustomer(Customer customer)
Find all history events for a specified customer (regardless of visibility). |
java.util.List |
findEventsForCustomerVisibleAtCustomer(Customer customer)
Find all history events for a specified customer which have visibility set to customer only. |
java.util.List |
findEventsForOrder(CustomerOrder order)
Find history events for a specified customer order. |
boolean |
isEventTypeEquals(HistoryEventRequest request,
java.lang.String eventTypeId)
|
boolean |
isEventTypeEquals(HistoryEvent event,
java.lang.String eventTypeId)
|
HistoryEvent |
read(DistributedReference ref)
Read a history event for a specified reference. |
HistoryEventType |
readHistoryEventType(java.lang.String eventTypeId)
|
void |
submitHistoryEvents(java.util.Collection eventRequests)
Submit one or more history events to the history database for a specified set of history event requests. |
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 |
public HistoryManagerImpl(DistributedContext context)
Method Detail |
public HistoryEvent read(DistributedReference ref) throws SystemException
HistoryManager
read
in interface HistoryManager
ref
- history event reference
SystemException
public HistoryEventType readHistoryEventType(java.lang.String eventTypeId) throws SystemException
readHistoryEventType
in interface HistoryManager
SystemException
public HistoryEvent buildHistoryEventInstanceForCustomer(Banner banner, ChannelType channelType, HistoryEventType type, User user, Customer customer) throws SystemException, BusinessException
HistoryManager
buildHistoryEventInstanceForCustomer
in interface HistoryManager
banner
- banner for the new eventchannelType
- channel type for the new eventtype
- history event typeuser
- user that created the new eventcustomer
- customer for the new event
SystemException
BusinessException
HistoryEvent.submit()
public HistoryEvent buildHistoryEventInstanceForOrder(HistoryEventType type, User user, CustomerOrder order) throws SystemException, BusinessException
HistoryManager
buildHistoryEventInstanceForOrder
in interface HistoryManager
type
- history event typeuser
- user that created the new eventorder
- order for the new event
SystemException
BusinessException
HistoryEvent.submit()
public HistoryEvent buildHistoryEventInstance(HistoryEventRequest eventRequest) throws SystemException
HistoryManager
buildHistoryEventInstance
in interface HistoryManager
eventRequest
- history event request bean
SystemException
HistoryManager#submitHistoryEvents(Set)
public HistoryEvent buildHistoryEventInstanceForActivityRequest(Banner banner, ChannelType channelType, User user, Customer customer, CustomerOrder order, ActivityRequest request) throws SystemException, BusinessException
HistoryManager
buildHistoryEventInstanceForActivityRequest
in interface HistoryManager
banner
- banner for the new eventchannelType
- channel type for the new eventuser
- user that created the new eventcustomer
- customer for the new eventorder
- order for the new eventrequest
- activity request for the new event
SystemException
BusinessException
HistoryEvent.submit()
public HistoryEvent buildGenericHistoryEventInstanceForCustomer(User user, Customer customer, java.lang.String eventDetail) throws SystemException, BusinessException
buildGenericHistoryEventInstanceForCustomer
in interface HistoryManager
user
- user that created the new eventcustomer
- customer for the new eventeventDetail
- event detail
SystemException
BusinessException
HistoryEvent.submit()
public HistoryEvent buildGenericHistoryEventInstanceForOrder(User user, CustomerOrder order, HistoryEventVisibility visibility, java.lang.String eventDetail) throws SystemException, BusinessException
buildGenericHistoryEventInstanceForOrder
in interface HistoryManager
user
- user that created the new eventorder
- order for the new eventvisibility
- history event visilbilityeventDetail
- event detail
SystemException
BusinessException
HistoryEvent.submit()
public HistoryEvent buildGenericHistoryEventInstanceForOrder(User user, CustomerOrder order, HistoryEventType eventType, HistoryEventVisibility visibility, java.lang.String eventDetail) throws SystemException, BusinessException
buildGenericHistoryEventInstanceForOrder
in interface HistoryManager
user
- user that created the new eventorder
- order for the new eventvisibility
- history event visilbilityeventDetail
- event detail
SystemException
BusinessException
HistoryEvent.submit()
public HistoryEventType buildExternalHistoryEventType() throws SystemException
buildExternalHistoryEventType
in interface HistoryManager
SystemException
public java.util.List findEventsForCustomer(Customer customer) throws SystemException, BusinessException
HistoryManager
findEventsForCustomer
in interface HistoryManager
customer
- customer
SystemException
BusinessException
public java.util.List findEventsForCustomerVisibleAtCustomer(Customer customer) throws SystemException, BusinessException
HistoryManager
findEventsForCustomerVisibleAtCustomer
in interface HistoryManager
customer
- customer
SystemException
BusinessException
public java.util.List findEventsForOrder(CustomerOrder order) throws SystemException, BusinessException
HistoryManager
findEventsForOrder
in interface HistoryManager
order
- customer order
SystemException
BusinessException
public java.util.Set findAllEventTypes() throws SystemException
findAllEventTypes
in interface HistoryManager
SystemException
public void submitHistoryEvents(java.util.Collection eventRequests) throws SystemException
HistoryManager
submitHistoryEvents
in interface HistoryManager
eventRequests
- history event request beans
SystemException
HistoryEventRequest
protected ReferenceCache fetchMoreReferences(java.lang.Class businessIface) throws SystemException
fetchMoreReferences
in class DistributedObjectManagerImpl
SystemException
public boolean isEventTypeEquals(HistoryEvent event, java.lang.String eventTypeId) throws SystemException
isEventTypeEquals
in interface HistoryManager
SystemException
public boolean isEventTypeEquals(HistoryEventRequest request, java.lang.String eventTypeId) throws SystemException
isEventTypeEquals
in interface HistoryManager
SystemException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |