|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyRegistryObject
Base class for all Policy related objects
Method Summary | |
---|---|
void |
addAssociation(javax.xml.registry.infomodel.Association association)
adds the given association to the underlying JAXR object |
void |
addAssociation(javax.xml.registry.infomodel.RegistryObject targetObject,
java.lang.String associationTypeId)
creates and adds(if not present already) an association from this object to the target object with the given association type |
java.util.Collection<javax.xml.registry.infomodel.Concept> |
getAllClassifiedConcepts(java.lang.String classificationSchemeId)
returns all the concepts under which the underlying JAXR object is classified under the specified classification scheme |
java.util.Collection<com.centrasite.jaxr.infomodel.CentraSiteRegistryObject> |
getAllJAXRObjects()
Returns the Collection of ROs which are part of this Policy object including itself |
java.util.Collection<com.centrasite.jaxr.infomodel.CentraSiteRegistryObject> |
getAllObsoleteObjects()
|
java.util.Collection<com.centrasite.jaxr.infomodel.CentraSiteAssociation> |
getAssociations()
return the Associations of the underlying JAXR object |
java.util.Collection<com.centrasite.jaxr.infomodel.CentraSiteAssociation> |
getAssociations(java.lang.String associationTypeId)
returns all the associations of the underlying JAXR object made to the specified association type |
java.util.Collection<javax.xml.registry.infomodel.Classification> |
getClassifications()
return the classifications of the underlying JAXR object |
com.centrasite.jaxr.infomodel.CentraSiteConcept |
getClassifiedConcept(java.lang.String classificationSchemeId)
return the concept under which the underlying JAXR object is classified under the specified classification scheme Should there be more than one classifications to some concepts under the specified taxonomy, the first such classification's concept will be returned |
com.centrasite.jaxr.infomodel.CentraSiteInternationalString |
getDescription()
returns description of the underlying JAXR object |
com.centrasite.jaxr.infomodel.CentraSiteRegistryObject |
getJAXRObject()
returns the underlying JAXR object |
com.centrasite.jaxr.CentraSiteRegistryService |
getJAXRRegistryService()
CentraSiteRegistryService which was used to create this Policy object |
javax.xml.registry.infomodel.Key |
getKey()
return the Key of the underlying JAXR object |
java.util.Locale |
getLoggedInUserLocale()
get the locale of the loggedin user |
com.centrasite.jaxr.infomodel.CentraSiteInternationalString |
getName()
returns name of the underlying JAXR object |
void |
removeAllAssociations(java.lang.String associationTypeId)
Removes all the associations of the underlying JAXR object made to the specified association type |
void |
removeAllClassifications(java.lang.String classificationSchemeId)
Removes all the classifications of the underlying JAXR object made to the specified classification scheme |
void |
setDescription(com.centrasite.jaxr.infomodel.CentraSiteInternationalString description)
sets the description of the underlying JAXR object |
void |
setName(com.centrasite.jaxr.infomodel.CentraSiteInternationalString name)
sets the name of the underlying JAXR object |
java.lang.String |
toXMLForRepair()
|
Method Detail |
---|
com.centrasite.jaxr.infomodel.CentraSiteInternationalString getName() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
void setName(com.centrasite.jaxr.infomodel.CentraSiteInternationalString name) throws javax.xml.registry.JAXRException
name
- for the policy object
javax.xml.registry.JAXRException
com.centrasite.jaxr.infomodel.CentraSiteInternationalString getDescription() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
void setDescription(com.centrasite.jaxr.infomodel.CentraSiteInternationalString description) throws javax.xml.registry.JAXRException
description
- for the policy object
javax.xml.registry.JAXRException
com.centrasite.jaxr.infomodel.CentraSiteRegistryObject getJAXRObject()
com.centrasite.jaxr.CentraSiteRegistryService getJAXRRegistryService()
java.util.Locale getLoggedInUserLocale()
javax.xml.registry.infomodel.Key getKey() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
java.util.Collection<javax.xml.registry.infomodel.Classification> getClassifications() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
java.util.Collection<com.centrasite.jaxr.infomodel.CentraSiteAssociation> getAssociations() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
com.centrasite.jaxr.infomodel.CentraSiteConcept getClassifiedConcept(java.lang.String classificationSchemeId) throws javax.xml.registry.JAXRException
classificationSchemeId
- Id of the Classification scheme.
javax.xml.registry.JAXRException
java.util.Collection<javax.xml.registry.infomodel.Concept> getAllClassifiedConcepts(java.lang.String classificationSchemeId) throws javax.xml.registry.JAXRException
classificationSchemeId
- Id of the Classification scheme.
javax.xml.registry.JAXRException
void removeAllAssociations(java.lang.String associationTypeId) throws javax.xml.registry.JAXRException
associationTypeId
- Id of the association type
javax.xml.registry.JAXRException
void removeAllClassifications(java.lang.String classificationSchemeId) throws javax.xml.registry.JAXRException
classificationSchemeId
- Id of the Classification scheme.
javax.xml.registry.JAXRException
void addAssociation(javax.xml.registry.infomodel.Association association) throws javax.xml.registry.JAXRException
association
- association to be added
javax.xml.registry.JAXRException
void addAssociation(javax.xml.registry.infomodel.RegistryObject targetObject, java.lang.String associationTypeId) throws javax.xml.registry.JAXRException
targetObject
- the target object of the associationassociationTypeId
- Id of the association type
javax.xml.registry.JAXRException
java.util.Collection<com.centrasite.jaxr.infomodel.CentraSiteAssociation> getAssociations(java.lang.String associationTypeId) throws javax.xml.registry.JAXRException
associationTypeId
- Id of the association type
javax.xml.registry.JAXRException
java.util.Collection<com.centrasite.jaxr.infomodel.CentraSiteRegistryObject> getAllJAXRObjects() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
java.util.Collection<com.centrasite.jaxr.infomodel.CentraSiteRegistryObject> getAllObsoleteObjects() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
java.lang.String toXMLForRepair() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |