com.ptc.windchill.uwgm.common.conflict
Class UwgmConflictHelper.OverridableConflictImpl
java.lang.Object
com.ptc.windchill.uwgm.common.conflict.UwgmConflictHelper.OverridableConflictImpl
- All Implemented Interfaces:
- UwgmConflictHelper.OverridableConflict
- Enclosing class:
- UwgmConflictHelper
- private static class UwgmConflictHelper.OverridableConflictImpl
- extends Object
- implements UwgmConflictHelper.OverridableConflict
internal OverridableConflict implementation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
private final ConflictType type
resolutions
private final ResolutionType[] resolutions
wtMessage
private final WTMessage wtMessage
UwgmConflictHelper.OverridableConflictImpl
public UwgmConflictHelper.OverridableConflictImpl(ConflictType type,
ResolutionType[] resolutions,
WTMessage wtMessage)
UwgmConflictHelper.OverridableConflictImpl
public UwgmConflictHelper.OverridableConflictImpl(ConflictType type,
ResolutionType resolution,
WTMessage message)
validate
public void validate(WTCollection objects)
throws UwgmConflictException,
WTException
- Description copied from interface:
UwgmConflictHelper.OverridableConflict
- validates the data with default resolution and throws UwgmConflictException
for non-valid iterations
- Specified by:
validate
in interface UwgmConflictHelper.OverridableConflict
- Parameters:
objects
- WTCollection
- Throws:
UwgmConflictException
WTException
verify
public ConflictElement verify(WTCollection objects)
throws WTException
- Description copied from interface:
UwgmConflictHelper.OverridableConflict
- validates the data with default resolution and produce ConflictElement
for non-valid iterations
- Specified by:
verify
in interface UwgmConflictHelper.OverridableConflict
- Parameters:
objects
- WTCollection
- Throws:
WTException
getResolutionOptions
public WTKeyedMap getResolutionOptions(WTCollection objects)
throws WTException
- Description copied from interface:
UwgmConflictHelper.OverridableConflict
- Gets the Resolution options Map [Persistable, Resolution] for the conflict
- Specified by:
getResolutionOptions
in interface UwgmConflictHelper.OverridableConflict
- Parameters:
objects
- WTCollection
- Returns:
- resolutionMap Map. The keys are the iterations and the values are the resolution options
- Throws:
WTException