|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.centrasite.control.RegistryManager
public class RegistryManager
Field Summary | |
---|---|
static java.util.Collection |
NO_SORT_FIND_QUALIFIERS
Deprecated. use CentraSiteQueryManager.NO_SORT_QUALIFIER instead |
static java.lang.String |
rcs_id
|
Constructor Summary | |
---|---|
RegistryManager(Connector con)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String rcs_id
public static final java.util.Collection NO_SORT_FIND_QUALIFIERS
Constructor Detail |
---|
public RegistryManager(Connector con)
Method Detail |
---|
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 InternationalString
public 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 searched
javax.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 key
javax.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 for
javax.xml.registry.JAXRException
public java.lang.String getClassificationSchemeKey(java.lang.String classificationSchemeName) throws javax.xml.registry.JAXRException
classificationSchemeName
- Name of classification scheme
javax.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 scheme
javax.xml.registry.JAXRException
public java.util.AbstractMap findAssociationTypes(boolean showInternalAssocs) throws javax.xml.registry.JAXRException
getAll
- if true internal types are also returned
javax.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
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |