|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RegistryFacade
A registry facade acts as a wrapper for the CentraSite registry. The purpose of the facade is caching as well as hiding some of the more complex details of the registry.
Depending on your use case, there are different flavours of the facade and you must choose one suitable for you:
SimpleRegistryFacade
is a per-connection
object. It is closely tied to a single registry
connection. Its lifetime begins with opening the
connection and ends when the connection is closed.
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(QName pName)
Returns the object type with the given name. |
javax.xml.registry.infomodel.Concept |
findObjectType(java.lang.String pName)
Returns the object type with the given name. |
javax.xml.registry.infomodel.ClassificationScheme |
getAssociationTypeClassificationScheme()
Returns the classification scheme of association types. |
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 . |
javax.xml.registry.infomodel.ClassificationScheme |
getObjectTypeClassificationScheme()
Returns the classification scheme of object types. |
java.util.Collection<javax.xml.registry.infomodel.Association> |
getReferencingAssociations(javax.xml.registry.infomodel.RegistryObject pRo)
Returns all associations with the given object as the associations source. |
RegistryInfo |
getRegistryInfo()
Returns the registry info object . |
boolean |
isAssociationTypeClassificationScheme(javax.xml.registry.infomodel.ClassificationScheme pClassificationScheme)
Returns, whether the given classification scheme is the association type classification scheme. |
boolean |
isAssociationTypeConcept(javax.xml.registry.infomodel.Concept pConcept)
Returns, whether the given concept is an association type concept. |
boolean |
isObjectTypeClassificationScheme(javax.xml.registry.infomodel.ClassificationScheme pClassificationScheme)
Returns, whether the given classification scheme is the object type classification scheme. |
boolean |
isObjectTypeConcept(javax.xml.registry.infomodel.Concept pConcept)
Returns, whether the given concept is an object type concept. |
Method Detail |
---|
RegistryInfo getRegistryInfo()
registry info object
.
registry info object
.javax.xml.registry.BusinessQueryManager getBusinessQueryManager() throws javax.xml.registry.JAXRException
BusinessQueryManager
.
BusinessQueryManager
to use.
javax.xml.registry.JAXRException
- The operation failed.javax.xml.registry.BusinessLifeCycleManager getBusinessLifeCycleManager() throws javax.xml.registry.JAXRException
BusinessLifeCycleManager
.
BusinessLifeCycleManager
.
javax.xml.registry.JAXRException
- The operation failed.javax.xml.registry.Connection getConnection() throws javax.xml.registry.JAXRException
registry connection
.
javax.xml.registry.JAXRException
- The operation failed.javax.xml.registry.infomodel.ClassificationScheme findClassificationScheme(java.lang.String pName) throws javax.xml.registry.JAXRException
pName
- The classification schemes name.
javax.xml.registry.JAXRException
- The operation failed.javax.xml.registry.infomodel.RegistryObject findObjectByPath(java.lang.String pPath) throws javax.xml.registry.JAXRException
Concepts
.
pPath
- The path to evaluate.
javax.xml.registry.JAXRException
- The operation failed.javax.xml.registry.infomodel.Concept findDescendant(javax.xml.registry.infomodel.RegistryObject pParent, java.lang.String pPath) throws javax.xml.registry.JAXRException
pParent
- The registry object, relative to which the path should be evaluated.pPath
- The path to evaluate.
java.lang.IllegalArgumentException
- The parent object or path are null.
javax.xml.registry.JAXRException
- The operation failed.javax.xml.registry.infomodel.Concept findAssociationType(java.lang.String pName) throws javax.xml.registry.JAXRException
association type
with the given name.
pName
- The association types name.
association type
with the given name.
javax.xml.registry.JAXRException
- The operation failed.javax.xml.registry.infomodel.Concept findObjectType(QName pName) throws javax.xml.registry.JAXRException
object type
with the given name.
pName
- The object types name.
object type
with the given name.
javax.xml.registry.JAXRException
- The operation failed.javax.xml.registry.infomodel.Concept findObjectType(java.lang.String pName) throws javax.xml.registry.JAXRException
object type
with the given name.
pName
- The object types name.
object type
with the given name.
javax.xml.registry.JAXRException
- The operation failed.boolean isAssociationTypeConcept(javax.xml.registry.infomodel.Concept pConcept) throws javax.xml.registry.JAXRException
pConcept
- The concept to evaluate
javax.xml.registry.JAXRException
- The operation failed.boolean isObjectTypeConcept(javax.xml.registry.infomodel.Concept pConcept) throws javax.xml.registry.JAXRException
pConcept
- The concept to evaluate
javax.xml.registry.JAXRException
- The operation failed.boolean isAssociationTypeClassificationScheme(javax.xml.registry.infomodel.ClassificationScheme pClassificationScheme) throws javax.xml.registry.JAXRException
pClassificationScheme
- The classification scheme to evaluate.
javax.xml.registry.JAXRException
- The operation failed.boolean isObjectTypeClassificationScheme(javax.xml.registry.infomodel.ClassificationScheme pClassificationScheme) throws javax.xml.registry.JAXRException
pClassificationScheme
- The classification scheme to evaluate.
javax.xml.registry.JAXRException
- The operation failed.javax.xml.registry.infomodel.ClassificationScheme getAssociationTypeClassificationScheme() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- The operation failed.javax.xml.registry.infomodel.ClassificationScheme getObjectTypeClassificationScheme() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- The operation failed.java.util.Collection<javax.xml.registry.infomodel.Association> getReferencingAssociations(javax.xml.registry.infomodel.RegistryObject pRo) throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |