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

java.lang.Object
  extended bycom.ptc.windchill.uwgm.proesrv.cache.RequestCacheAdapter
      extended bycom.ptc.windchill.uwgm.proesrv.cache.IterationRequestCacheAdapter
          extended bycom.ptc.windchill.uwgm.proesrv.cache.WorkspaceIterationRequestCacheAdapter
              extended bycom.ptc.windchill.uwgm.proesrv.cache.WorkableIterationRequestCacheAdapter
                  extended bycom.ptc.windchill.uwgm.proesrv.cache.TargetFolderInstructionCacheAdapter
                      extended bycom.ptc.windchill.uwgm.proesrv.cache.CheckinInstructionCacheAdapter
All Implemented Interfaces:
CheckinInstructionCache, IterationRequestCache, TargetFolderInstructionCache, WorkspaceIterationRequestCache, WorkspaceRequestCache

public class CheckinInstructionCacheAdapter
extends TargetFolderInstructionCacheAdapter
implements CheckinInstructionCache


Nested Class Summary
 
Nested classes inherited from class com.ptc.windchill.uwgm.proesrv.cache.IterationRequestCacheAdapter
 
Field Summary
private static Log log
          logging
private  WTCollection mastersToCheckout
           
private  WTCollection mastersToRemove
           
 
Fields inherited from class com.ptc.windchill.uwgm.proesrv.cache.TargetFolderInstructionCacheAdapter
 
Fields inherited from class com.ptc.windchill.uwgm.proesrv.cache.WorkspaceIterationRequestCacheAdapter
checkedInIterations, checkedOutIterations, epmWorkspace, iterationsNotInWorkspace, newIterations, wsContent
 
Fields inherited from class com.ptc.windchill.uwgm.proesrv.cache.IterationRequestCacheAdapter
objectVsUwgmIteration, oidHelper
 
Fields inherited from class com.ptc.windchill.uwgm.proesrv.cache.RequestCacheAdapter
 
Constructor Summary
CheckinInstructionCacheAdapter()
           
 
Method Summary
 WTCollection getMastersToCheckout()
          return collection of Masters to checkout after checkin
 WTCollection getMastersToRemove()
          return collection of Masters to remove from WS after checkin
protected  void validateRequestData(RequestContext requestContext, com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest)
          validates TargetFolderRequest data
 
Methods inherited from class com.ptc.windchill.uwgm.proesrv.cache.TargetFolderInstructionCacheAdapter
collectValidationMessages, getTargetFolderInstructions, keepNullFolderInstructions, setNewIterationsOnly, validateTargetFolderInstructions
 
Methods inherited from class com.ptc.windchill.uwgm.proesrv.cache.WorkableIterationRequestCacheAdapter
collectValidationMessages
 
Methods inherited from class com.ptc.windchill.uwgm.proesrv.cache.WorkspaceIterationRequestCacheAdapter
getCheckedInIterations, getCheckedOutIterations, getEpmWorkspace, getIterationsNotInWorkspace, getNewIterations, getPartDocumentFinder, validateWorkspaceIterations
 
Methods inherited from class com.ptc.windchill.uwgm.proesrv.cache.IterationRequestCacheAdapter
addIterationNotFoundMessage, getIterations, resolveIterationByMasters, validateIterations
 
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
 
Methods inherited from interface com.ptc.windchill.uwgm.proesrv.cache.TargetFolderInstructionCache
getTargetFolderInstructions
 

Field Detail

mastersToRemove

private WTCollection mastersToRemove

mastersToCheckout

private WTCollection mastersToCheckout

log

private static Log log
logging

Constructor Detail

CheckinInstructionCacheAdapter

public CheckinInstructionCacheAdapter()
Method Detail

getMastersToRemove

public WTCollection getMastersToRemove()
Description copied from interface: CheckinInstructionCache
return collection of Masters to remove from WS after checkin

Specified by:
getMastersToRemove in interface CheckinInstructionCache
Returns:
WTCollection (never NULL)

getMastersToCheckout

public WTCollection getMastersToCheckout()
Description copied from interface: CheckinInstructionCache
return collection of Masters to checkout after checkin

Specified by:
getMastersToCheckout in interface CheckinInstructionCache
Returns:
WTCollection (never NULL)

validateRequestData

protected void validateRequestData(RequestContext requestContext,
                                   com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest)
                            throws RequestValidationException,
                                   UwgmErrorException
Description copied from class: TargetFolderInstructionCacheAdapter
validates TargetFolderRequest data

Overrides:
validateRequestData in class TargetFolderInstructionCacheAdapter
Parameters:
requestContext - RequestContext
uwgmRequest - UwgmRequest
Throws:
RequestValidationException
UwgmErrorException