Java Doc for EventSubscriptionEJB.java in  » Workflow-Engines » obe-1.0 » org » obe » server » j2ee » ejb » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » obe 1.0 » org.obe.server.j2ee.ejb 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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  voidcancel()
    
protected  voidclear()
    
public  intdecrementCount()
    
public  LongejbCreate(String eventType, Object[] eventKeys, String predicate, Date effective, Date expiry, int count, String[] correlationKeys)
    
public  LongejbCreate(String eventType, Date effective, Date expiry, int count, String interval, String calendar, boolean recoverable, String[] correlationKeys)
    
public  CollectionejbHomeXfindByCorrelationKeys(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  CollectionejbHomeXfindByEvent(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  voidejbPostCreate(String eventType, Object[] eventKeys, String predicate, Date effective, Date expiry, int count, String[] correlationKeys)
    
public  voidejbPostCreate(String eventType, Date effective, Date expiry, int count, String interval, String calendar, boolean recoverable, String[] correlationKeys)
    
public  voidejbTimeout(Timer timer)
    
abstract public  StringgetCalendar()
    
abstract public  intgetConditionType()
    
abstract public  StringgetCorrelationKey1()
    
abstract public  StringgetCorrelationKey2()
    
abstract public  StringgetCorrelationKey3()
    
abstract public  StringgetCorrelationKey4()
    
abstract public  bytegetCorrelationKeyCount()
    
public  String[]getCorrelationKeys()
    
abstract public  intgetCount()
    
abstract public  DategetEffective()
    
abstract public  intgetEventKeyHashcode()
    
abstract public  Object[]getEventKeys()
    
abstract public  StringgetEventType()
    
abstract public  DategetExpiry()
    
public  DurationgetInterval()
    
abstract public  StringgetIntervalStr()
    
protected  LoggetLogger()
    
abstract public  StringgetPredicate()
    
abstract public  booleangetRecoverable()
    
abstract public  LonggetSubscriptionId()
    
public  booleanisRecoverable()
    
abstract public  voidsetCalendar(String calendar)
    
abstract public  voidsetConditionType(int conditionType)
    
abstract public  voidsetCorrelationKey1(String key)
    
abstract public  voidsetCorrelationKey2(String key)
    
abstract public  voidsetCorrelationKey3(String key)
    
abstract public  voidsetCorrelationKey4(String key)
    
abstract public  voidsetCorrelationKeyCount(byte count)
    
abstract public  voidsetCount(int count)
    
abstract public  voidsetEffective(Date effective)
    
abstract public  voidsetEventKeyHashcode(int hashcode)
    
abstract public  voidsetEventKeys(Object[] eventKeys)
    
abstract public  voidsetEventType(String eventType)
    
abstract public  voidsetExpiry(Date expiry)
    
abstract public  voidsetIntervalStr(String interval)
    
abstract public  voidsetPredicate(String condition)
    
abstract public  voidsetRecoverable(boolean recoverable)
    
abstract public  voidsetSubscriptionId(Long subscriptionId)
    



Method Detail
cancel
public void cancel()(Code)



clear
protected void clear()(Code)



decrementCount
public int decrementCount()(Code)



ejbCreate
public Long ejbCreate(String eventType, Object[] eventKeys, String predicate, Date effective, Date expiry, int count, String[] correlationKeys) throws CreateException(Code)



ejbCreate
public Long ejbCreate(String eventType, Date effective, Date expiry, int count, String interval, String calendar, boolean recoverable, String[] correlationKeys) throws CreateException(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 keysis 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, Object[] eventKeys, String predicate, Date effective, Date expiry, int count, String[] correlationKeys) throws CreateException(Code)



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)



getCalendar
abstract public String getCalendar()(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)



getEventKeys
abstract public Object[] getEventKeys()(Code)



getEventType
abstract public String getEventType()(Code)



getExpiry
abstract public Date getExpiry()(Code)



getInterval
public Duration getInterval()(Code)



getIntervalStr
abstract public String getIntervalStr()(Code)



getLogger
protected Log getLogger()(Code)



getPredicate
abstract public String getPredicate()(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)

Methods inherited from org.obe.server.j2ee.ejb.AbstractEntityEJB
protected void clear()(Code)(Java Doc)
public void ejbActivate()(Code)(Java Doc)
public void ejbLoad()(Code)(Java Doc)
public void ejbPassivate()(Code)(Java Doc)
public void ejbRemove() throws RemoveException(Code)(Java Doc)
public void ejbStore()(Code)(Java Doc)
public void setEntityContext(EntityContext ctx)(Code)(Java Doc)
public void unsetEntityContext()(Code)(Java Doc)

Methods inherited from org.obe.server.j2ee.ejb.AbstractEJB
abstract protected Log getLogger()(Code)(Java Doc)
protected static Log getLogger(Class clazz)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.