|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Every JVT<ApplicationType>Session Bean interface must derive from
the following base session interface. The base JVTSession interface
provides a common set of operations shared by all the JVT Session Beans.
The implementation of the JVTSession
operations are mandatory.
Method Summary | |
EventPropertyDescriptor |
getEventDescriptor(java.lang.String eventType)
Get the EventPropertyDescriptor associated with an event type name. |
java.lang.String[] |
getEventTypes()
Get the Event Type names supported by the JVT Session Bean |
java.lang.String[] |
getManagedEntityTypes()
Get the Managed Entity types supported by a JVT Session Bean. |
java.lang.String[] |
getQueryTypes()
Get the Query type names supported by a JVT Session Bean |
java.lang.String[] |
getSupportedOptionalOperations()
Get the names of the optional operations supported by this JVT Session Bean. |
ManagedEntityValue |
makeManagedEntityValue(java.lang.String valueType)
Create a Value Type object for a specific Managed Entity type. |
QueryValue |
makeQueryValue(java.lang.String type)
Create a QueryValue Instance matching a Query type name. |
ManagedEntityValueIterator |
queryManagedEntities(QueryValue query,
java.lang.String[] attributeNames)
Query multiple Managed Entities using a QueryValue. |
Method Detail |
public java.lang.String[] getSupportedOptionalOperations()
JVT<ApplicationType>SessionOptionalOps
interface as
defined by the API.
public java.lang.String[] getManagedEntityTypes()
public java.lang.String[] getQueryTypes()
public java.lang.String[] getEventTypes()
public QueryValue makeQueryValue(java.lang.String type) throws java.lang.IllegalArgumentException
type
- fully qualified name of the leaf node QueryValue interface.
java.lang.IllegalArgumentException
- unknown or unsupported
query type.public EventPropertyDescriptor getEventDescriptor(java.lang.String eventType) throws java.lang.IllegalArgumentException
eventType
- fully qualified name of the leaf node Event interface.
java.lang.IllegalArgumentException
- unknown or unsupported
event type.public ManagedEntityValue makeManagedEntityValue(java.lang.String valueType) throws java.lang.IllegalArgumentException
valueType
- fully qualified name of the leaf managed entity value
interface.
java.lang.IllegalArgumentException
- unknown or unsupported
managed entity value type.public ManagedEntityValueIterator queryManagedEntities(QueryValue query, java.lang.String[] attributeNames) throws java.lang.IllegalArgumentException
query
- a QueryValue object representing the query.attributeNames
- names of attributes which should be populated in the
ManagedEntityValue objects returned by the ManagedEntityValueIterator.
java.lang.IllegalArgumentException
- unsupported query value type.
(Note: if an attribute specified in the attributeName array is not
supported, it is simply ignored and and does not result in an exception.)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |