|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.persistence.RegistryObjectPaths
public final class RegistryObjectPaths
The class manages a mapping between RegistryObject
conceptPaths and
key. It serves as intermediate cache level, by enabling findByPath operations
to look up the key based RegistryObject
cache of the JAXR Layer.
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getChildConceptKeys(java.lang.String parentConceptKey)
|
java.lang.String |
getClassificationSchemeKey(java.lang.String classificationSchemeName)
|
java.lang.String |
getConceptKey(java.lang.String path)
Retrieve a Concept key by given path. |
static RegistryObjectPaths |
getInstance(Configuration conf)
Retrieves and instance of a RegistryObjectPaths . |
void |
putChildConceptKeys(java.lang.String parentConceptKey,
java.util.List<java.lang.String> childConceptKeys)
|
void |
putClassificationSchemeName(java.lang.String classificationSchemeName,
java.lang.String classificationSchemeKey)
|
void |
putConceptPath(java.lang.String path,
java.lang.String registryObjectKey)
Add path to key mapping to the map. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RegistryObjectPaths getInstance(Configuration conf)
RegistryObjectPaths
.
conf
-
RegistryObjectPaths
public java.lang.String getConceptKey(java.lang.String path)
Concept
key by given path.
path
-
String
the key corresponding to the given path or
null
if not found.public void putConceptPath(java.lang.String path, java.lang.String registryObjectKey)
path
- registryObjectKey
- public java.util.List<java.lang.String> getChildConceptKeys(java.lang.String parentConceptKey)
parentConceptKey
-
List
public void putChildConceptKeys(java.lang.String parentConceptKey, java.util.List<java.lang.String> childConceptKeys)
parentConceptKey
- childConceptKeys
- public java.lang.String getClassificationSchemeKey(java.lang.String classificationSchemeName)
classificationSchemeName
-
String
public void putClassificationSchemeName(java.lang.String classificationSchemeName, java.lang.String classificationSchemeKey)
classificationSchemeName
- classificationSchemeKey
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |