|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.centrasite.registry.versionmanagementservices.VersionAssociation
public class VersionAssociation
This class handles the associations of Versioning. The version association is a "Supersedes" with the "Versioning" classification.
It expects this taxonomy with concepts in the registry:
For the versioning association: + CentraSiteVersioning + Versioning For the DEEP association handling: + CentraSiteVersioning + SourceXXX + TargetXXX
Constructor Summary | |
---|---|
VersionAssociation(com.centrasite.jaxr.JAXRAccessor jaxr)
Constructor: create Version association instance. |
Method Summary | |
---|---|
javax.xml.registry.infomodel.Association |
createVersionAssociation(javax.xml.registry.infomodel.RegistryObject successor,
javax.xml.registry.infomodel.RegistryObject predecessor)
Create the version assocation (a Supersedes with a specific classification) |
javax.xml.registry.infomodel.Concept |
getAssociationConcept()
Get the concept of the Versioning association. |
VersionCopyMode |
getSourceCopyMode(java.lang.String assocID)
Get the source association copy mode by inspecting the association's Concept if its classified with version-specific entries; see sourceClassifications. |
javax.xml.registry.infomodel.RegistryObject |
getSourceVersionObject(javax.xml.registry.infomodel.RegistryObject regObj)
Return object pointing to regObj with a Version association ('Supersedes'). |
VersionCopyMode |
getTargetCopyMode(java.lang.String assocID)
Get the target association copy mode by inspecting the association's Concept if its classified with version-specific entries; see targetClassifications. |
boolean |
isVersionAssociation(javax.xml.registry.infomodel.Association assoc)
Check if the association is a Versioning association |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VersionAssociation(com.centrasite.jaxr.JAXRAccessor jaxr)
jaxr
- Method Detail |
---|
public javax.xml.registry.infomodel.Association createVersionAssociation(javax.xml.registry.infomodel.RegistryObject successor, javax.xml.registry.infomodel.RegistryObject predecessor) throws javax.xml.registry.JAXRException
successor
- new version objectpredecessor
- old version object
javax.xml.registry.JAXRException
public boolean isVersionAssociation(javax.xml.registry.infomodel.Association assoc) throws javax.xml.registry.JAXRException
assoc
- association object
javax.xml.registry.JAXRException
public javax.xml.registry.infomodel.Concept getAssociationConcept() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public javax.xml.registry.infomodel.RegistryObject getSourceVersionObject(javax.xml.registry.infomodel.RegistryObject regObj) throws javax.xml.registry.JAXRException
Example:
supersedes +----------+ --------------> | regObj | +----------+
regObj
- the object which evtl. target of a version association
javax.xml.registry.JAXRException
public VersionCopyMode getSourceCopyMode(java.lang.String assocID)
assocID
- association ID (Constants.ASSOC...)
public VersionCopyMode getTargetCopyMode(java.lang.String assocID)
assocID
- association ID (Constants.ASSOC...)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |