|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.centrasite.registry.versionmanagementservices.VersionCopyRules
public class VersionCopyRules
Holds the copy rules if DEEP copy of registry object should be performed. The rules will determined from the CentraSiteVersioninig classifications with the various associations. But they could be modified with the 'overwrite' methods.
Constructor Summary | |
---|---|
VersionCopyRules(VersionAssociation versionAssoc)
Construct the copy rule management. |
Method Summary | |
---|---|
VersionCopyMode |
getSourceMode(java.lang.String assocID)
Get the copy mode of the source association. |
VersionCopyMode |
getTargetMode(java.lang.String assocID)
Get the copy mode of the target association. |
void |
overwrite(CopyRule copyRule)
Overwrite a copy rule with the values given. |
void |
overwrite(java.lang.String assocID,
VersionCopyMode source,
VersionCopyMode target)
Overwrite a copy rule with the values given. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VersionCopyRules(VersionAssociation versionAssoc)
versionAssoc
- a prepared VersionAssociation instanceMethod Detail |
---|
public void overwrite(java.lang.String assocID, VersionCopyMode source, VersionCopyMode target)
assocID
- association ID (Constants.ASSOC...)source
- the source association ruletarget
- the target association rulepublic void overwrite(CopyRule copyRule)
copyRule
- the prepared copy rulepublic VersionCopyMode getSourceMode(java.lang.String assocID)
assocID
- association ID (Constants.ASSOC...)
public VersionCopyMode getTargetMode(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 |