wt.replication.unit
Class UnitConfigSpecOperation
java.lang.Object
wt.replication.unit.UnitOperation
wt.replication.unit.UnitConfigSpecOperation
- class UnitConfigSpecOperation
- extends UnitOperation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
SETWTPARTCS
protected static final int SETWTPARTCS
- See Also:
- Constant Field Values
SETEPMDOCCS
protected static final int SETEPMDOCCS
- See Also:
- Constant Field Values
SETWTDOCCS
protected static final int SETWTDOCCS
- See Also:
- Constant Field Values
REMWTPARTCS
protected static final int REMWTPARTCS
- See Also:
- Constant Field Values
REMEPMDOCCS
protected static final int REMEPMDOCCS
- See Also:
- Constant Field Values
REMWTDOCCS
protected static final int REMWTDOCCS
- See Also:
- Constant Field Values
mode
private int mode
newConfigSpec
private ConfigSpec newConfigSpec
UnitConfigSpecOperation
UnitConfigSpecOperation(ConfigSpec a_configSpec,
WTUnit a_unit,
int a_mode)
throws WTException
execute
public WTUnit execute()
throws WTException
- This method sets WTPartConfigSpec,EPMDocConfigSpec or WTDocumentConfigSpec
to theWTUnit.
If the ConfigSpec has been set, then the WTUnit
modification timestamp is updated.
- Specified by:
execute
in class UnitOperation
- Returns:
- WTUnit that the operation was performed on
- Throws:
WTException
getUnitWTPartConfigSpec
protected static WTPartConfigSpec getUnitWTPartConfigSpec(WTUnit a_unit)
throws WTException
- Throws:
WTException
findUnitWTPartCSLink
protected static UnitWTPartCSLink findUnitWTPartCSLink(WTUnit a_unit)
throws WTException
- Throws:
WTException
removeUnitWTPartConfigSpec
protected static void removeUnitWTPartConfigSpec(WTUnit a_unit)
throws WTException
- Throws:
WTException
setUnitWTPartConfigSpec
private WTUnit setUnitWTPartConfigSpec(WTUnit a_unit)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
setUnitWTPartConfigSpec
protected static WTUnit setUnitWTPartConfigSpec(WTUnit a_unit,
WTPartConfigSpec a_WTPartConfigSpec)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
copyWTPartConfigSpec
private static void copyWTPartConfigSpec(WTPartConfigSpec fromCS,
WTPartConfigSpec toCS)
throws WTException
- Throws:
WTException
getUnitEPMDocConfigSpec
protected static EPMDocConfigSpec getUnitEPMDocConfigSpec(WTUnit a_unit)
throws WTException
- Throws:
WTException
findUnitEPMDocCSLink
protected static UnitEPMDocCSLink findUnitEPMDocCSLink(WTUnit a_unit)
throws WTException
- Throws:
WTException
removeUnitEPMDocConfigSpec
protected static void removeUnitEPMDocConfigSpec(WTUnit a_unit)
throws WTException
- Throws:
WTException
setUnitEPMDocConfigSpec
private WTUnit setUnitEPMDocConfigSpec(WTUnit a_unit)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
setUnitEPMDocConfigSpec
protected static WTUnit setUnitEPMDocConfigSpec(WTUnit a_unit,
EPMDocConfigSpec a_EPMDocConfigSpec)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
copyEPMDocConfigSpec
private static void copyEPMDocConfigSpec(EPMDocConfigSpec fromCS,
EPMDocConfigSpec toCS)
throws WTException
- Throws:
WTException
getUnitWTDocumentConfigSpec
protected static WTDocumentConfigSpec getUnitWTDocumentConfigSpec(WTUnit a_unit)
throws WTException
- Throws:
WTException
findUnitWTDocCSLink
protected static UnitWTDocCSLink findUnitWTDocCSLink(WTUnit a_unit)
throws WTException
- Throws:
WTException
removeUnitWTDocumentConfigSpec
protected static void removeUnitWTDocumentConfigSpec(WTUnit a_unit)
throws WTException
- Throws:
WTException
setUnitWTDocumentConfigSpec
private WTUnit setUnitWTDocumentConfigSpec(WTUnit a_unit)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
setUnitWTDocumentConfigSpec
protected static WTUnit setUnitWTDocumentConfigSpec(WTUnit a_unit,
WTDocumentConfigSpec a_WTDocumentConfigSpec)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
copyWTDocConfigSpec
private static void copyWTDocConfigSpec(WTDocumentConfigSpec fromCS,
WTDocumentConfigSpec toCS)
throws WTException
- Throws:
WTException