public class FixedRegistryObjectPool
extends java.lang.Object
fixedRegistryObjects.xsd
schema.Constructor and Description |
---|
FixedRegistryObjectPool() |
Modifier and Type | Method and Description |
---|---|
CSAppAssociationType |
getAssociationType(CSAppAssociationTypeRef pAssocTypeRef)
Returns an instance of
CSAppAssociationType , which has been
registered in the pool, and has the given reference objects name. |
CSAppAssociationType |
getAssociationType(java.lang.String pName)
Returns an instance of
CSAppAssociationType , which has been
registered in the pool, and has the given reference objects name. |
CSAppConcept[] |
getChildConcepts(CSAppConceptRef pParentConceptRef)
Returns the given parent concepts child concepts, if available, or null.
|
CSAppConcept[] |
getChildConcepts(CSAppTaxonomyRef pAppTaxonomyRef)
Returns the given taxonomies child concepts, if available, or null.
|
CSAppConcept[] |
getChildConcepts(java.lang.String pPath)
Returns the given taxonomies, or concepts, child concepts, if available, or null.
|
CSAppClassificationScheme |
getClassificationScheme(CSAppTaxonomyRef pScheme)
Returns an instance of
CSAppClassificationScheme , which has been
registered in the pool, and has the given reference objects name. |
CSAppConcept |
getConcept(CSAppConceptRef pConceptRef)
Returns an instance of
CSAppConcept , which has been
registered in the pool, and has the given reference objects path. |
CSAppConcept |
getConcept(java.lang.String pPath)
Returns an instance of
CSAppConcept , which has been
registered in the pool, and has the given path. |
CSAppFixedRegistryObject |
getFixedRegistryObject(javax.xml.registry.infomodel.Key pKey)
Returns the fixed registry object with the given key.
|
CSAppObjectType |
getObjectType(CSAppObjectTypeRef pObjTypeRef)
Returns an instance of
CSAppObjectType , which has been
registered in the pool, and has the given reference objects name. |
CSAppObjectType |
getObjectType(java.lang.String pName)
Returns an instance of
CSAppObjectType , which has been
registered in the pool, and has the given reference objects name. |
void |
load(BusinessQueryManager pQueryManager,
FixedRegistryObjectCollection pCollection)
Loads the given collection of objects into the pool.
|
CSAppAssociationType |
requireAssociationType(CSAppAssociationTypeRef pAssocTypeRef)
Returns an instance of
CSAppAssociationType , which has been
registered in the pool, and has the given reference objects name. |
CSAppAssociationType |
requireAssociationType(java.lang.String pName)
Returns an instance of
CSAppAssociationType , which has been
registered in the pool, and has the given reference objects name. |
CSAppConcept[] |
requireChildConcepts(CSAppConceptRef pParentConceptRef)
Returns the given parent concepts child concepts.
|
CSAppConcept[] |
requireChildConcepts(CSAppTaxonomyRef pAppTaxonomyRef)
Returns the given taxonomies child concepts.
|
CSAppConcept[] |
requireChildConcepts(java.lang.String pPath)
Returns the given taxonomies, or concepts, child concepts.
|
CSAppClassificationScheme |
requireClassificationScheme(CSAppTaxonomyRef pScheme)
Returns an instance of
CSAppClassificationScheme , which has been
registered in the pool, and has the given reference objects name. |
CSAppConcept |
requireConcept(CSAppConceptRef pConceptRef)
Returns an instance of
CSAppConcept , which has been
registered in the pool, and has the given reference objects path. |
CSAppConcept |
requireConcept(java.lang.String pPath)
Returns an instance of
CSAppConcept , which has been
registered in the pool, and has the given path. |
CSAppFixedRegistryObject |
requireFixedRegistryObject(javax.xml.registry.infomodel.Key pKey)
Returns the fixed registry object with the given key.
|
CSAppObjectType |
requireObjectType(CSAppObjectTypeRef pObjTypeRef)
Returns an instance of
CSAppObjectType , which has been
registered in the pool, and has the given reference objects name. |
CSAppObjectType |
requireObjectType(java.lang.String pName)
Returns an instance of
CSAppObjectType , which has been
registered in the pool, and has the given reference objects name. |
public void load(BusinessQueryManager pQueryManager, FixedRegistryObjectCollection pCollection) throws CSAppFrameworkException
pQueryManager
- the business query manager.pCollection
- the collection of fixed registry objects.CSAppFrameworkException
- if an internal error occurs on loading.public CSAppClassificationScheme getClassificationScheme(CSAppTaxonomyRef pScheme)
CSAppClassificationScheme
, which has been
registered in the pool, and has the given reference objects name.pScheme
- the classification scheme.requireClassificationScheme(CSAppTaxonomyRef)
public CSAppClassificationScheme requireClassificationScheme(CSAppTaxonomyRef pScheme) throws CacheNotAvailableException
CSAppClassificationScheme
, which has been
registered in the pool, and has the given reference objects name.pScheme
- the classification scheme.CSAppClassificationScheme
.CacheNotAvailableException
- No such object was found in the pool.getClassificationScheme(CSAppTaxonomyRef)
public CSAppAssociationType getAssociationType(CSAppAssociationTypeRef pAssocTypeRef)
CSAppAssociationType
, which has been
registered in the pool, and has the given reference objects name.pAssocTypeRef
- the Association type reference.requireAssociationType(CSAppAssociationTypeRef)
public CSAppAssociationType getAssociationType(java.lang.String pName)
CSAppAssociationType
, which has been
registered in the pool, and has the given reference objects name.pName
- the concept parent.requireAssociationType(String)
public CSAppAssociationType requireAssociationType(CSAppAssociationTypeRef pAssocTypeRef) throws CacheNotAvailableException
CSAppAssociationType
, which has been
registered in the pool, and has the given reference objects name.pAssocTypeRef
- the Association type reference.CSAppAssociationType
.CacheNotAvailableException
- No such object was found in the pool.getAssociationType(CSAppAssociationTypeRef)
public CSAppAssociationType requireAssociationType(java.lang.String pName) throws CacheNotAvailableException
CSAppAssociationType
, which has been
registered in the pool, and has the given reference objects name.pName
- the concept parent.CSAppAssociationType
.CacheNotAvailableException
- No such object was found in the pool.getAssociationType(CSAppAssociationTypeRef)
public CSAppObjectType getObjectType(CSAppObjectTypeRef pObjTypeRef)
CSAppObjectType
, which has been
registered in the pool, and has the given reference objects name.pObjTypeRef
- the reference object.requireObjectType(CSAppObjectTypeRef)
public CSAppObjectType getObjectType(java.lang.String pName)
CSAppObjectType
, which has been
registered in the pool, and has the given reference objects name.pName
- the concept parent.requireObjectType(String)
public CSAppObjectType requireObjectType(CSAppObjectTypeRef pObjTypeRef) throws CacheNotAvailableException
CSAppObjectType
, which has been
registered in the pool, and has the given reference objects name.pObjTypeRef
- the reference object.CSAppObjectType
.CacheNotAvailableException
- No such object was found in the pool.getObjectType(CSAppObjectTypeRef)
public CSAppObjectType requireObjectType(java.lang.String pName) throws CacheNotAvailableException
CSAppObjectType
, which has been
registered in the pool, and has the given reference objects name.pName
- the concept parent.CSAppObjectType
.CacheNotAvailableException
- No such object was found in the pool.getObjectType(String)
public CSAppConcept getConcept(CSAppConceptRef pConceptRef)
CSAppConcept
, which has been
registered in the pool, and has the given reference objects path.pConceptRef
- the parent concept reference.requireConcept(CSAppConceptRef)
public CSAppConcept getConcept(java.lang.String pPath)
CSAppConcept
, which has been
registered in the pool, and has the given path. The path must include
the classification scheme.pPath
- The taxonomy or parent concepts path.requireConcept(CSAppConceptRef)
public CSAppConcept requireConcept(CSAppConceptRef pConceptRef) throws CacheNotAvailableException
CSAppConcept
, which has been
registered in the pool, and has the given reference objects path.pConceptRef
- the parent concept reference.CSAppConcept
.CacheNotAvailableException
- No such object was found in the pool.getConcept(CSAppConceptRef)
public CSAppConcept requireConcept(java.lang.String pPath) throws CacheNotAvailableException
CSAppConcept
, which has been
registered in the pool, and has the given path. The path must include
the classification scheme.pPath
- The taxonomy or parent concepts path.CSAppConcept
.CacheNotAvailableException
- No such object was found in the pool.getConcept(CSAppConceptRef)
public CSAppConcept[] getChildConcepts(java.lang.String pPath)
pPath
- The taxonomies, or parent concepts path. In the case of a parent
concept, this is the fully qualified path, including a leading "/" and
the taxonomies name.public CSAppConcept[] requireChildConcepts(java.lang.String pPath) throws CacheNotAvailableException
pPath
- The taxonomies, or parent concepts path. In the case of a parent
concept, this is the fully qualified path, including a leading "/" and
the taxonomies name.CacheNotAvailableException
- The given taxonomies, or parent
concepts, list of child concepts is not available, because the
taxonomy doesn't have a cache strategy "childs".public CSAppConcept[] getChildConcepts(CSAppTaxonomyRef pAppTaxonomyRef)
pAppTaxonomyRef
- the taxonomy reference.public CSAppConcept[] requireChildConcepts(CSAppTaxonomyRef pAppTaxonomyRef) throws CacheNotAvailableException
pAppTaxonomyRef
- the taxonomy reference.CacheNotAvailableException
- The given taxonomies child concept
list is not available, because the taxonomy doesn't have a cache
strategy "childs".public CSAppConcept[] getChildConcepts(CSAppConceptRef pParentConceptRef)
pParentConceptRef
- the concepts parent.public CSAppConcept[] requireChildConcepts(CSAppConceptRef pParentConceptRef) throws CacheNotAvailableException
pParentConceptRef
- the concepts parent.CacheNotAvailableException
- The given parent concepts child concept
list is not available, because the concept doesn't have a cache
strategy "childs".public CSAppFixedRegistryObject getFixedRegistryObject(javax.xml.registry.infomodel.Key pKey) throws CSAppFrameworkException
pKey
- the key object.CSAppFrameworkException
- if an internal error occurs.public CSAppFixedRegistryObject requireFixedRegistryObject(javax.xml.registry.infomodel.Key pKey) throws CSAppFrameworkException, CacheNotAvailableException
pKey
- the key object.CacheNotAvailableException
- No such object was predefined in the
pool.CSAppFrameworkException
- if an internal error occurs.