|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Remote interface for Enterprise Bean: CHASession
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Method Summary | |
---|---|
void |
addChild(java.lang.String childInstanceID,
java.lang.String instanceID)
|
void |
chainTo(java.lang.String instanceID,
java.lang.String parentInstanceID)
Chains this context to the context named specified by parentInstanceID. |
boolean |
containsChild(java.lang.String instanceID,
java.lang.String aContextName)
Returns true if this context has a child with the name aContextName. |
java.util.Collection |
getByName(java.lang.String aName)
Returns a collection of CHAInstance objects sharing a common name |
java.util.Collection |
getByType(java.lang.String aType)
Returns a collection of CHAInstance objects sharing a common type name |
Vector |
getChildren(java.lang.String instanceID)
|
Vector |
getChildrenAtAnyLevel(java.lang.String currentInstanceID)
Get the children of a remote context at any level from the context tree. |
java.lang.String |
getContextNamed(java.lang.String contextName)
Searches the context tree from the root context for a context named aContextName in the session specified by parameter sessionID and returns the first matching context. |
java.lang.String |
getNextContextHorizontal(java.lang.String currentInstanceID)
The method used to iterate over the context tree. |
java.lang.String |
getNextContextVertical(java.lang.String parentInstanceID,
java.lang.String childInstanceID)
The method used to iterate over the context tree. |
java.lang.String |
getRoot()
Returns the root context of the context tree. |
javax.ejb.SessionContext |
getSessionContext()
getSessionContext |
DataElement |
getTypePackages()
Get the packages info for type data from CHA server side dse.ini |
Hashtable |
getTypeTagClassTable()
Get the tag class table for type data from CHA server side dse.ini |
DataElement |
getTypeTagClassTableDefinition()
Get definition for tag class table in server side dse.ini file |
Vector |
getTypeTags()
|
boolean |
isThisContext(java.lang.String aContextName)
Returns true if there is at least one context in the context tree that has a name that matches aContextName. |
java.lang.String |
newContext(java.lang.String contextName,
java.lang.String typeName,
Context parentContext,
KeyedCollection aKeyedCollection,
java.lang.String location)
Creates a new CHAInstance Entity based on a context name, and the following optional params: type name parent CHAInstance remote interface The name specified in the context name must exist in the external XML definiton files. |
java.lang.String |
newContext(java.lang.String contextName,
java.lang.String typeName,
Context parentContext,
java.lang.String location)
Creates a new CHAInstance Entity based on a context name, and the following optional params: type name parent CHAInstance remote interface The name specified in the context name must exist in the external XML definiton files. |
Context |
newDynamicContext(java.lang.String contextName,
java.lang.String location)
Creates a new dynamic Local context with a supplied name. |
int |
occurrencesNamed(java.lang.String aContextName)
Returns the number of contexts in the context tree that have names that match aContextName. |
void |
prune(java.lang.String currentInstanceID)
Removes this context and its children from the context tree. |
void |
removeCHAInstance(java.lang.String instanceID)
Method removeCHAInstance. |
void |
removeChild(java.lang.String childInstanceID)
|
void |
removeInstance(java.lang.String currentInstanceID)
Removes this context and its children from the context tree. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext |
void |
unchain(java.lang.String instanceID)
|
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Field Detail |
public static final java.lang.String COPYRIGHT
Method Detail |
public java.util.Collection getByName(java.lang.String aName) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public java.util.Collection getByType(java.lang.String aType) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public java.lang.String getRoot() throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public javax.ejb.SessionContext getSessionContext() throws java.rmi.RemoteException
java.rmi.RemoteException
public boolean isThisContext(java.lang.String aContextName) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public int occurrencesNamed(java.lang.String aContextName) throws java.rmi.RemoteException
java.rmi.RemoteException
public void setSessionContext(javax.ejb.SessionContext ctx) throws java.rmi.RemoteException
java.rmi.RemoteException
public void removeCHAInstance(java.lang.String instanceID) throws CHAException, java.rmi.RemoteException
instanceID
-
CHAException
java.rmi.RemoteException
public java.lang.String getContextNamed(java.lang.String contextName) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public java.lang.String getNextContextHorizontal(java.lang.String currentInstanceID) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public java.lang.String getNextContextVertical(java.lang.String parentInstanceID, java.lang.String childInstanceID) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public java.lang.String newContext(java.lang.String contextName, java.lang.String typeName, Context parentContext, KeyedCollection aKeyedCollection, java.lang.String location) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public java.lang.String newContext(java.lang.String contextName, java.lang.String typeName, Context parentContext, java.lang.String location) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public Context newDynamicContext(java.lang.String contextName, java.lang.String location) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public void prune(java.lang.String currentInstanceID) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public Vector getChildrenAtAnyLevel(java.lang.String currentInstanceID) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public void removeInstance(java.lang.String currentInstanceID) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public boolean containsChild(java.lang.String instanceID, java.lang.String aContextName) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public void addChild(java.lang.String childInstanceID, java.lang.String instanceID) throws CHAException, java.rmi.RemoteException
childInstanceID
-
CHAException
java.rmi.RemoteException
public Vector getChildren(java.lang.String instanceID) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public void removeChild(java.lang.String childInstanceID) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public void chainTo(java.lang.String instanceID, java.lang.String parentInstanceID) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public void unchain(java.lang.String instanceID) throws CHAException, java.rmi.RemoteException
CHAException
java.rmi.RemoteException
public Vector getTypeTags() throws java.rmi.RemoteException
java.rmi.RemoteException
public DataElement getTypePackages() throws java.rmi.RemoteException
java.rmi.RemoteException
public Hashtable getTypeTagClassTable() throws java.rmi.RemoteException
java.rmi.RemoteException
public DataElement getTypeTagClassTableDefinition() throws java.rmi.RemoteException
java.rmi.RemoteException
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |