com.ptc.windchill.uwgm.proesrv.cache
Class PartRenameInstructionCacheAdapter
java.lang.Object
com.ptc.windchill.uwgm.proesrv.cache.RequestCacheAdapter
com.ptc.windchill.uwgm.proesrv.cache.RenameInstructionCacheAdapter
com.ptc.windchill.uwgm.proesrv.cache.PartRenameInstructionCacheAdapter
- All Implemented Interfaces:
- RenameInstructionCache
- public class PartRenameInstructionCacheAdapter
- extends RenameInstructionCacheAdapter
Implementation adapter for RenameInstructionCache. Works with PartRenameInstructions only.
Field Summary |
private static Log |
log
logging |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static Log log
- logging
PartRenameInstructionCacheAdapter
public PartRenameInstructionCacheAdapter()
validateRequestData
protected void validateRequestData(RequestContext requestContext,
com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest)
throws RequestValidationException,
UwgmErrorException
- Description copied from class:
RequestCacheAdapter
- abstract validateRequestData method to be overwritten by RequestCacheAdapter implementations
- Overrides:
validateRequestData
in class RenameInstructionCacheAdapter
- Throws:
RequestValidationException
UwgmErrorException
validateInstruction
protected List validateInstruction(com.ptc.windchill.uwgm.soap.uwgmsvc.RenameInstruction renameInstruction,
Persistable persistable,
RequestContext context)
- Specified by:
validateInstruction
in class RenameInstructionCacheAdapter
addInstruction
protected void addInstruction(com.ptc.windchill.uwgm.soap.uwgmsvc.RenameInstruction uwgmInstruction,
Persistable persistable)
- Specified by:
addInstruction
in class RenameInstructionCacheAdapter
isIdentityChangeRequired
private boolean isIdentityChangeRequired(com.ptc.windchill.uwgm.soap.uwgmsvc.PartRenameInstruction partRenameInstruction,
WTPartMaster master)
getNewName
private String getNewName(com.ptc.windchill.uwgm.soap.uwgmsvc.PartRenameInstruction instruction,
WTPartMaster master)
getNewNumber
private String getNewNumber(com.ptc.windchill.uwgm.soap.uwgmsvc.PartRenameInstruction instruction,
WTPartMaster master)