|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.fixed.FixedRegistryObjectPool
public class FixedRegistryObjectPool
The fixed registry object pool provides a cache for fixed
objects. The pool is initialized by one or more XML documents,
as specified by the fixedRegistryObjects.xsd
schema.
Constructor Summary | |
---|---|
FixedRegistryObjectPool()
|
Method Summary | |
---|---|
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. |
CSAppFixedRegistryObject |
getFixedRegistryObject(Key pKey)
Returns the fixed registry object with the given key. |
CSAppFixedRegistryObject |
getFixedRegistryObject(java.lang.String pKey)
Returns the fixed registry object with the given Id. |
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(javax.xml.registry.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. |
CSAppFixedRegistryObject |
requireFixedRegistryObject(Key pKey)
Returns the fixed registry object with the given key. |
CSAppFixedRegistryObject |
requireFixedRegistryObject(java.lang.String pKey)
Returns the fixed registry object with the given Id. |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixedRegistryObjectPool()
Method Detail |
---|
public void load(javax.xml.registry.BusinessQueryManager pQueryManager, FixedRegistryObjectCollection pCollection) throws CSAppFrameworkException
CSAppFrameworkException
public CSAppClassificationScheme getClassificationScheme(CSAppTaxonomyRef pScheme)
CSAppClassificationScheme
, which has been
registered in the pool, and has the given reference objects name.
requireClassificationScheme(CSAppTaxonomyRef)
public CSAppClassificationScheme requireClassificationScheme(CSAppTaxonomyRef pScheme) throws CacheNotAvailableException
CSAppClassificationScheme
, which has been
registered in the pool, and has the given reference objects name.
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.
requireAssociationType(CSAppAssociationTypeRef)
public CSAppAssociationType getAssociationType(java.lang.String pName)
CSAppAssociationType
, which has been
registered in the pool, and has the given reference objects name.
requireAssociationType(String)
public CSAppAssociationType requireAssociationType(CSAppAssociationTypeRef pAssocTypeRef) throws CacheNotAvailableException
CSAppAssociationType
, which has been
registered in the pool, and has the given reference objects name.
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.
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.
requireObjectType(CSAppObjectTypeRef)
public CSAppObjectType getObjectType(java.lang.String pName)
CSAppObjectType
, which has been
registered in the pool, and has the given reference objects name.
requireObjectType(String)
public CSAppObjectType requireObjectType(CSAppObjectTypeRef pObjTypeRef) throws CacheNotAvailableException
CSAppObjectType
, which has been
registered in the pool, and has the given reference objects name.
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.
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.
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.
requireConcept(CSAppConceptRef)
public CSAppConcept requireConcept(CSAppConceptRef pConceptRef) throws CacheNotAvailableException
CSAppConcept
, which has been
registered in the pool, and has the given reference objects path.
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.
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)
public CSAppConcept[] requireChildConcepts(CSAppTaxonomyRef pAppTaxonomyRef) throws CacheNotAvailableException
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)
public CSAppConcept[] requireChildConcepts(CSAppConceptRef pParentConceptRef) throws CacheNotAvailableException
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
CSAppFrameworkException
public CSAppFixedRegistryObject requireFixedRegistryObject(javax.xml.registry.infomodel.Key pKey) throws CSAppFrameworkException, CacheNotAvailableException
CacheNotAvailableException
- No such object was predefined in the
pool.
CSAppFrameworkException
public CSAppFixedRegistryObject getFixedRegistryObject(Key pKey) throws CSAppFrameworkException
CSAppFrameworkException
public CSAppFixedRegistryObject requireFixedRegistryObject(Key pKey) throws CSAppFrameworkException, CacheNotAvailableException
CacheNotAvailableException
- No such object was predefined in the
pool.
CSAppFrameworkException
public CSAppFixedRegistryObject getFixedRegistryObject(java.lang.String pKey) throws CSAppFrameworkException
CSAppFrameworkException
public CSAppFixedRegistryObject requireFixedRegistryObject(java.lang.String pKey) throws CSAppFrameworkException, CacheNotAvailableException
CacheNotAvailableException
- No such object was predefined in the
pool.
CSAppFrameworkException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |