| java.lang.Object org.obe.server.j2ee.ejb.AbstractEJB org.obe.server.j2ee.ejb.AbstractEntityEJB org.obe.server.j2ee.ejb.EventSubscriptionEJB
EventSubscriptionEJB | abstract public class EventSubscriptionEJB extends AbstractEntityEJB implements TimedObject(Code) | | Stores a persistent event subscription.
author: Adrian Price |
Method Summary | |
public void | cancel() | protected void | clear() | public int | decrementCount() | public Long | ejbCreate(String eventType, Object[] eventKeys, String predicate, Date effective, Date expiry, int count, String[] correlationKeys) | public Long | ejbCreate(String eventType, Date effective, Date expiry, int count, String interval, String calendar, boolean recoverable, String[] correlationKeys) | public Collection | ejbHomeXfindByCorrelationKeys(String[] keys, boolean exact) Retrieves subscriptions matching the specified correlation keys.
Parameters: keys - Correlation keys required by the process engine.The array is assumed to be ordered on ascending selectivity. | public Collection | ejbHomeXfindByEvent(String eventType, Object[] eventKeys, int inputKeysHashcode) Retrieves subscriptions matching the specified event.
Parameters: eventType - The event type. Parameters: eventKeys - The event keys. Parameters: inputKeysHashcode - The hashcode for the input event keys. | public void | ejbPostCreate(String eventType, Object[] eventKeys, String predicate, Date effective, Date expiry, int count, String[] correlationKeys) | public void | ejbPostCreate(String eventType, Date effective, Date expiry, int count, String interval, String calendar, boolean recoverable, String[] correlationKeys) | public void | ejbTimeout(Timer timer) | abstract public String | getCalendar() | abstract public int | getConditionType() | abstract public String | getCorrelationKey1() | abstract public String | getCorrelationKey2() | abstract public String | getCorrelationKey3() | abstract public String | getCorrelationKey4() | abstract public byte | getCorrelationKeyCount() | public String[] | getCorrelationKeys() | abstract public int | getCount() | abstract public Date | getEffective() | abstract public int | getEventKeyHashcode() | abstract public Object[] | getEventKeys() | abstract public String | getEventType() | abstract public Date | getExpiry() | public Duration | getInterval() | abstract public String | getIntervalStr() | protected Log | getLogger() | abstract public String | getPredicate() | abstract public boolean | getRecoverable() | abstract public Long | getSubscriptionId() | public boolean | isRecoverable() | abstract public void | setCalendar(String calendar) | abstract public void | setConditionType(int conditionType) | abstract public void | setCorrelationKey1(String key) | abstract public void | setCorrelationKey2(String key) | abstract public void | setCorrelationKey3(String key) | abstract public void | setCorrelationKey4(String key) | abstract public void | setCorrelationKeyCount(byte count) | abstract public void | setCount(int count) | abstract public void | setEffective(Date effective) | abstract public void | setEventKeyHashcode(int hashcode) | abstract public void | setEventKeys(Object[] eventKeys) | abstract public void | setEventType(String eventType) | abstract public void | setExpiry(Date expiry) | abstract public void | setIntervalStr(String interval) | abstract public void | setPredicate(String condition) | abstract public void | setRecoverable(boolean recoverable) | abstract public void | setSubscriptionId(Long subscriptionId) |
cancel | public void cancel()(Code) | | |
clear | protected void clear()(Code) | | |
decrementCount | public int decrementCount()(Code) | | |
ejbHomeXfindByCorrelationKeys | public Collection ejbHomeXfindByCorrelationKeys(String[] keys, boolean exact) throws FinderException(Code) | | Retrieves subscriptions matching the specified correlation keys.
Parameters: keys - Correlation keys required by the process engine.The array is assumed to be ordered on ascending selectivity. If thearray contains fewer elements than the original subscription, thisimplies that all subscriptions which match the supplied correlationkey(s) should be selected. Parameters: exact - If true , returns only subscriptions which matchon both correlation key values and count. If false ,returns subscriptions with correlation keys for which keys is a contiguous subset. A collection of matching subscriptions. throws: FinderException - |
ejbHomeXfindByEvent | public Collection ejbHomeXfindByEvent(String eventType, Object[] eventKeys, int inputKeysHashcode) throws FinderException(Code) | | Retrieves subscriptions matching the specified event.
Parameters: eventType - The event type. Parameters: eventKeys - The event keys. Parameters: inputKeysHashcode - The hashcode for the input event keys. A collection of matching subscriptions. |
ejbPostCreate | public void ejbPostCreate(String eventType, Date effective, Date expiry, int count, String interval, String calendar, boolean recoverable, String[] correlationKeys) throws CreateException(Code) | | |
ejbTimeout | public void ejbTimeout(Timer timer)(Code) | | |
getConditionType | abstract public int getConditionType()(Code) | | |
getCorrelationKey1 | abstract public String getCorrelationKey1()(Code) | | |
getCorrelationKey2 | abstract public String getCorrelationKey2()(Code) | | |
getCorrelationKey3 | abstract public String getCorrelationKey3()(Code) | | |
getCorrelationKey4 | abstract public String getCorrelationKey4()(Code) | | |
getCorrelationKeyCount | abstract public byte getCorrelationKeyCount()(Code) | | |
getCorrelationKeys | public String[] getCorrelationKeys()(Code) | | |
getCount | abstract public int getCount()(Code) | | |
getEffective | abstract public Date getEffective()(Code) | | |
getEventKeyHashcode | abstract public int getEventKeyHashcode()(Code) | | |
getLogger | protected Log getLogger()(Code) | | |
getRecoverable | abstract public boolean getRecoverable()(Code) | | |
getSubscriptionId | abstract public Long getSubscriptionId()(Code) | | |
isRecoverable | public boolean isRecoverable()(Code) | | |
setCalendar | abstract public void setCalendar(String calendar)(Code) | | |
setConditionType | abstract public void setConditionType(int conditionType)(Code) | | |
setCorrelationKey1 | abstract public void setCorrelationKey1(String key)(Code) | | |
setCorrelationKey2 | abstract public void setCorrelationKey2(String key)(Code) | | |
setCorrelationKey3 | abstract public void setCorrelationKey3(String key)(Code) | | |
setCorrelationKey4 | abstract public void setCorrelationKey4(String key)(Code) | | |
setCorrelationKeyCount | abstract public void setCorrelationKeyCount(byte count)(Code) | | |
setCount | abstract public void setCount(int count)(Code) | | |
setEffective | abstract public void setEffective(Date effective)(Code) | | |
setEventKeyHashcode | abstract public void setEventKeyHashcode(int hashcode)(Code) | | |
setEventKeys | abstract public void setEventKeys(Object[] eventKeys)(Code) | | |
setEventType | abstract public void setEventType(String eventType)(Code) | | |
setExpiry | abstract public void setExpiry(Date expiry)(Code) | | |
setIntervalStr | abstract public void setIntervalStr(String interval)(Code) | | |
setPredicate | abstract public void setPredicate(String condition)(Code) | | |
setRecoverable | abstract public void setRecoverable(boolean recoverable)(Code) | | |
setSubscriptionId | abstract public void setSubscriptionId(Long subscriptionId)(Code) | | |
Fields inherited from org.obe.server.j2ee.ejb.AbstractEntityEJB | protected EntityContext _ctx(Code)(Java Doc) protected EJBLocalObject _ejbLocalObject(Code)(Java Doc)
|
|
|