|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.csutils.core.registry.impl.AbstractRegistryFacade net.sf.csutils.core.registry.SimpleRegistryFacade
public class SimpleRegistryFacade
This is the most simple kind of RegistryFacade
: It
doesn't hold any internal cache. All methods are mapped
directly to calls of the BusinessQueryManager
.
Constructor Summary | |
---|---|
SimpleRegistryFacade(javax.xml.registry.Connection pConnection)
Creates a new instance with the given registry connection and the default RegistryInfo . |
|
SimpleRegistryFacade(RegistryInfo pRegistryInfo,
javax.xml.registry.Connection pConnection)
Creates a new instance with the given registry connection and the given RegistryInfo . |
Method Summary | |
---|---|
javax.xml.registry.infomodel.Concept |
findAssociationType(java.lang.String pName)
Returns the association type with the given name. |
javax.xml.registry.infomodel.ClassificationScheme |
findClassificationScheme(java.lang.String pName)
Returns the classification scheme, or taxonomy, with the given name. |
javax.xml.registry.infomodel.Concept |
findDescendant(javax.xml.registry.infomodel.RegistryObject pParent,
java.lang.String pPath)
Returns the concept with the given path, relative to the given object. |
javax.xml.registry.infomodel.RegistryObject |
findObjectByPath(java.lang.String pPath)
Returns the classification scheme, or concept with the given path. |
javax.xml.registry.infomodel.Concept |
findObjectType(java.lang.String pName)
Returns the object type with the given name. |
javax.xml.registry.BusinessLifeCycleManager |
getBusinessLifeCycleManager()
Returns the BusinessLifeCycleManager . |
javax.xml.registry.BusinessQueryManager |
getBusinessQueryManager()
Returns the BusinessQueryManager . |
javax.xml.registry.Connection |
getConnection()
Returns the registry connection . |
Methods inherited from class net.sf.csutils.core.registry.impl.AbstractRegistryFacade |
---|
findObjectType, getAssociationTypeClassificationScheme, getObjectTypeClassificationScheme, getReferencingAssociations, getRegistryInfo, isAssociationTypeClassificationScheme, isAssociationTypeConcept, isObjectTypeClassificationScheme, isObjectTypeConcept |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleRegistryFacade(javax.xml.registry.Connection pConnection) throws javax.xml.registry.JAXRException
RegistryInfo
.
pConnection
- The connection to use.
javax.xml.registry.JAXRException
- The operation failed.public SimpleRegistryFacade(RegistryInfo pRegistryInfo, javax.xml.registry.Connection pConnection) throws javax.xml.registry.JAXRException
RegistryInfo
.
pRegistryInfo
- The registry information to use.pConnection
- The connection to use.
javax.xml.registry.JAXRException
- The operation failed.Method Detail |
---|
public javax.xml.registry.BusinessQueryManager getBusinessQueryManager()
BusinessQueryManager
.
BusinessQueryManager
to use.public javax.xml.registry.BusinessLifeCycleManager getBusinessLifeCycleManager()
BusinessLifeCycleManager
.
BusinessLifeCycleManager
.public javax.xml.registry.Connection getConnection()
registry connection
.
public javax.xml.registry.infomodel.ClassificationScheme findClassificationScheme(java.lang.String pName) throws javax.xml.registry.JAXRException
RegistryFacade
pName
- The classification schemes name.
javax.xml.registry.JAXRException
- The operation failed.public javax.xml.registry.infomodel.RegistryObject findObjectByPath(java.lang.String pPath) throws javax.xml.registry.JAXRException
RegistryFacade
Concepts
.
pPath
- The path to evaluate.
javax.xml.registry.JAXRException
- The operation failed.public javax.xml.registry.infomodel.Concept findDescendant(javax.xml.registry.infomodel.RegistryObject pParent, java.lang.String pPath) throws javax.xml.registry.JAXRException
RegistryFacade
pParent
- The registry object, relative to which the path should be evaluated.pPath
- The path to evaluate.
javax.xml.registry.JAXRException
- The operation failed.public javax.xml.registry.infomodel.Concept findAssociationType(java.lang.String pName) throws javax.xml.registry.JAXRException
RegistryFacade
association type
with the given name.
pName
- The association types name.
association type
with the given name.
javax.xml.registry.JAXRException
- The operation failed.public javax.xml.registry.infomodel.Concept findObjectType(java.lang.String pName) throws javax.xml.registry.JAXRException
RegistryFacade
object type
with the given name.
pName
- The object types name.
object type
with the given name.
javax.xml.registry.JAXRException
- The operation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |