public class RegistryManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Collection |
NO_SORT_FIND_QUALIFIERS
Deprecated.
use CentraSiteQueryManager.NO_SORT_QUALIFIER instead
|
Constructor and Description |
---|
RegistryManager(Connector con) |
Modifier and Type | Method and Description |
---|---|
javax.xml.registry.infomodel.ClassificationScheme |
createClassificationScheme() |
javax.xml.registry.infomodel.Concept |
createConcept(javax.xml.registry.infomodel.ClassificationScheme objType) |
javax.xml.registry.infomodel.Concept |
createSubConcept(javax.xml.registry.infomodel.Concept parent) |
void |
deleteObject(javax.xml.registry.infomodel.Key key) |
void |
deleteObjects(java.util.Collection keys) |
java.util.AbstractMap |
findAllObjectTypes() |
java.util.AbstractMap |
findAssociationTypes(boolean showInternalAssocs)
Searches AssociationTypes and returns a sorted Map
|
static javax.xml.registry.infomodel.RegistryObject |
findClassifiedObject(java.util.Collection ros,
java.lang.String conceptKey)
Find RegistryObject INTERNALLY classified with given concept within
collection of RegistryObject's.
|
static javax.xml.registry.infomodel.RegistryObject |
findClassifiedObject(java.util.Collection ros,
java.lang.String csKey,
java.lang.String value)
Find RegistryObject EXTERNALLY classified with given classification scheme
and value within collection of RegistryObject's.
|
java.lang.String |
findConceptKey(java.lang.String classificationSchemeKey,
java.lang.String conceptPath)
Search concept within given classification scheme and return key
|
java.util.AbstractMap |
findObjectTypes() |
static java.util.Iterator |
getCentraSiteUsers(Connector connector) |
java.lang.String |
getClassificationSchemeKey(java.lang.String classificationSchemeName)
Search concept within given classification scheme and return key
|
static java.lang.String |
getLocalStringValue(javax.xml.registry.infomodel.InternationalString is,
java.util.Locale lc) |
static boolean |
isEmbedded(java.lang.String objectTypeName)
Check if Object Type is Embedded
|
static boolean |
isExternallyClassifiedWith(javax.xml.registry.infomodel.RegistryObject ro,
java.lang.String conceptKey)
Check whether the given registry object is classified internally with
a concept with given key
|
javax.xml.registry.BulkResponse |
saveObjects(java.util.ArrayList list,
boolean isUpdate) |
public static final java.util.Collection NO_SORT_FIND_QUALIFIERS
public RegistryManager(Connector con)
public javax.xml.registry.infomodel.ClassificationScheme createClassificationScheme() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public javax.xml.registry.infomodel.Concept createConcept(javax.xml.registry.infomodel.ClassificationScheme objType) throws java.lang.Exception
java.lang.Exception
public javax.xml.registry.infomodel.Concept createSubConcept(javax.xml.registry.infomodel.Concept parent) throws java.lang.Exception
java.lang.Exception
public void deleteObject(javax.xml.registry.infomodel.Key key) throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public void deleteObjects(java.util.Collection keys) throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public javax.xml.registry.BulkResponse saveObjects(java.util.ArrayList list, boolean isUpdate) throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public static java.lang.String getLocalStringValue(javax.xml.registry.infomodel.InternationalString is, java.util.Locale lc)
is
- InternationalString whose value is to be extractedlc
- Preferred locale to be used to extract the value of the InternationalStringpublic static java.util.Iterator getCentraSiteUsers(Connector connector) throws java.lang.Exception
java.lang.Exception
public static javax.xml.registry.infomodel.RegistryObject findClassifiedObject(java.util.Collection ros, java.lang.String conceptKey) throws javax.xml.registry.JAXRException
ros
- Collection of RegistryObject's to be scannedconceptKey
- Key of concept to be searchedjavax.xml.registry.JAXRException
public static boolean isExternallyClassifiedWith(javax.xml.registry.infomodel.RegistryObject ro, java.lang.String conceptKey) throws javax.xml.registry.JAXRException
ro
- the registry objectconceptKey
- the concept keyjavax.xml.registry.JAXRException
public static javax.xml.registry.infomodel.RegistryObject findClassifiedObject(java.util.Collection ros, java.lang.String csKey, java.lang.String value) throws javax.xml.registry.JAXRException
ros
- Collection of RegistryObject's to be scannedcsKey
- Key of classification schemevalue
- Value of external classification to be searched forjavax.xml.registry.JAXRException
public java.lang.String getClassificationSchemeKey(java.lang.String classificationSchemeName) throws javax.xml.registry.JAXRException
classificationSchemeName
- Name of classification schemejavax.xml.registry.JAXRException
public java.lang.String findConceptKey(java.lang.String classificationSchemeKey, java.lang.String conceptPath) throws javax.xml.registry.JAXRException
classificationSchemeKey
- key of classification schemeconceptPath
- path of concept within classification schemejavax.xml.registry.JAXRException
public java.util.AbstractMap findAssociationTypes(boolean showInternalAssocs) throws javax.xml.registry.JAXRException
getAll
- if true internal types are also returnedjavax.xml.registry.JAXRException
public java.util.AbstractMap findObjectTypes() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public java.util.AbstractMap findAllObjectTypes() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public static boolean isEmbedded(java.lang.String objectTypeName)
objectTypeName
-