com.ptc.windchill.uwgm.proesrv.cache
Class RenameInstructionCacheAdapter

java.lang.Object
  extended bycom.ptc.windchill.uwgm.proesrv.cache.RequestCacheAdapter
      extended bycom.ptc.windchill.uwgm.proesrv.cache.RenameInstructionCacheAdapter
All Implemented Interfaces:
RenameInstructionCache
Direct Known Subclasses:
EpmRenameInstructionCacheAdapter, PartRenameInstructionCacheAdapter

public abstract class RenameInstructionCacheAdapter
extends RequestCacheAdapter
implements RenameInstructionCache

Implementation adapter for RenameInstructionCache. Note that this class is abstract. Specific classes exist for supporting the specific types of RenameInstructions viz. PartRenameInstruction and EpmRenameInstruction.


Field Summary
private static Log log
          logging
private  WTKeyedMap renameInfoInstructions
           
 
Fields inherited from class com.ptc.windchill.uwgm.proesrv.cache.RequestCacheAdapter
 
Constructor Summary
RenameInstructionCacheAdapter()
           
 
Method Summary
protected abstract  void addInstruction(com.ptc.windchill.uwgm.soap.uwgmsvc.RenameInstruction renameInstruction, Persistable persistable)
           
 WTKeyedMap getIdentityInfoMap()
          returns WTKeyedMap of RenameInfo instructions [Master, RenameInfo]
protected abstract  List validateInstruction(com.ptc.windchill.uwgm.soap.uwgmsvc.RenameInstruction renameInstruction, Persistable persistable, RequestContext context)
           
protected  void validateRequestData(RequestContext requestContext, com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest)
          abstract validateRequestData method to be overwritten by RequestCacheAdapter implementations
 
Methods inherited from class com.ptc.windchill.uwgm.proesrv.cache.RequestCacheAdapter
checkCacheData, isValid, setValid, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

renameInfoInstructions

private WTKeyedMap renameInfoInstructions

log

private static Log log
logging

Constructor Detail

RenameInstructionCacheAdapter

public RenameInstructionCacheAdapter()
Method Detail

getIdentityInfoMap

public WTKeyedMap getIdentityInfoMap()
Description copied from interface: RenameInstructionCache
returns WTKeyedMap of RenameInfo instructions [Master, RenameInfo]

Specified by:
getIdentityInfoMap in interface RenameInstructionCache
Returns:
WTKeyedMap

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

Specified by:
validateRequestData in class RequestCacheAdapter
Parameters:
requestContext - RequestContext
uwgmRequest - UwgmRequest
Throws:
RequestValidationException
UwgmErrorException

validateInstruction

protected abstract List validateInstruction(com.ptc.windchill.uwgm.soap.uwgmsvc.RenameInstruction renameInstruction,
                                            Persistable persistable,
                                            RequestContext context)

addInstruction

protected abstract void addInstruction(com.ptc.windchill.uwgm.soap.uwgmsvc.RenameInstruction renameInstruction,
                                       Persistable persistable)