|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.uwgm.proesrv.cache.RequestCacheAdapter
super class for RequestCacheAdapter implementations subclasses must overwrite validateRequestData(RequestContext requestContext, UwgmRequest uwgmRequest)
Field Summary | |
private boolean |
valid
|
Constructor Summary | |
RequestCacheAdapter()
|
Method Summary | |
protected void |
checkCacheData()
throws IllegalStateException if the RequestCacheAdapter data have NOT been validated |
boolean |
isValid()
helper method to check whether the RequestCacheAdapter data have been validated already |
protected void |
setValid()
sets valid flag to TRUE. |
void |
validate(RequestContext requestContext,
com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest)
validates request data should be called for RequestCache implementations in validate() |
protected abstract 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private boolean valid
Constructor Detail |
public RequestCacheAdapter()
Method Detail |
public boolean isValid()
protected void setValid()
public final void validate(RequestContext requestContext, com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest) throws RequestValidationException, UwgmErrorException
requestContext
- RequestContextuwgmRequest
- UwgmRequest
RequestValidationException
UwgmErrorException
protected abstract void validateRequestData(RequestContext requestContext, com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest) throws RequestValidationException, UwgmErrorException
requestContext
- RequestContextuwgmRequest
- UwgmRequest
RequestValidationException
UwgmErrorException
protected void checkCacheData()
should be called in all RequestCacheAdapter implementation getXXX() methods
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |