com.ptc.windchill.uwgm.proesrv.request
Class CheckinRequestCache

java.lang.Object
  extended bycom.ptc.windchill.uwgm.proesrv.cache.ProeServiceRequestCache
      extended bycom.ptc.windchill.uwgm.proesrv.request.CheckinRequestCache
All Implemented Interfaces:
CheckinInstructionCache, CreateBaselineCache, TargetFolderInstructionCache, WorkspaceRequestCache

public class CheckinRequestCache
extends ProeServiceRequestCache
implements WorkspaceRequestCache, CheckinInstructionCache, CreateBaselineCache

request cache implementation for Checkin


Field Summary
private  CreateBaselineCacheAdapter baselineAdapter
           
private  CheckinInstructionCacheAdapter cacheAdapter
           
private static Log log
          logging
 
Fields inherited from class com.ptc.windchill.uwgm.proesrv.cache.ProeServiceRequestCache
context, infoElements, uwgmRequest
 
Constructor Summary
CheckinRequestCache(ProeServiceRequest proeServiceRequest)
           
 
Method Summary
 CreateBaselineAction.BaselineInfo getBaselineInfo()
          getBaselineInfo
 WTCollection getBaselineIterations()
          getBaselineIterations
 EPMWorkspace getEpmWorkspace()
           
 WTCollection getMastersToCheckout()
          return collection of Masters to checkout after checkin
 WTCollection getMastersToRemove()
          return collection of Masters to remove from WS after checkin
 WTValuedMap getTargetFolderInstructions()
          returns TargetFolderInstruction map [Persistable, Folder]
 void validate()
          validates request cache
 
Methods inherited from class com.ptc.windchill.uwgm.proesrv.cache.ProeServiceRequestCache
addWarning, getMessages, reportMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cacheAdapter

private CheckinInstructionCacheAdapter cacheAdapter

baselineAdapter

private CreateBaselineCacheAdapter baselineAdapter

log

private static Log log
logging

Constructor Detail

CheckinRequestCache

public CheckinRequestCache(ProeServiceRequest proeServiceRequest)
Method Detail

getEpmWorkspace

public EPMWorkspace getEpmWorkspace()
Specified by:
getEpmWorkspace in interface WorkspaceRequestCache
Returns:
EPMWorkspace

getTargetFolderInstructions

public WTValuedMap getTargetFolderInstructions()
Description copied from interface: TargetFolderInstructionCache
returns TargetFolderInstruction map [Persistable, Folder]

Specified by:
getTargetFolderInstructions in interface TargetFolderInstructionCache
Returns:
WTValuedMap

validate

public void validate()
              throws RequestValidationException,
                     UwgmErrorException
Description copied from class: ProeServiceRequestCache
validates request cache

subclasses should overwrite this and have validation logic inside

Specified by:
validate in class ProeServiceRequestCache
Throws:
RequestValidationException
UwgmErrorException

getBaselineInfo

public CreateBaselineAction.BaselineInfo getBaselineInfo()
getBaselineInfo

Specified by:
getBaselineInfo in interface CreateBaselineCache
Returns:
BaselineInfo

getBaselineIterations

public WTCollection getBaselineIterations()
getBaselineIterations

Specified by:
getBaselineIterations in interface CreateBaselineCache
Returns:
WTCollection

getMastersToRemove

public WTCollection getMastersToRemove()
return collection of Masters to remove from WS after checkin

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

getMastersToCheckout

public WTCollection getMastersToCheckout()
return collection of Masters to checkout after checkin

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