com.ptc.windchill.uwgm.proesrv.cache
Class FolderRequestCacheAdapter
java.lang.Object
com.ptc.windchill.uwgm.proesrv.cache.RequestCacheAdapter
com.ptc.windchill.uwgm.proesrv.cache.FolderRequestCacheAdapter
- All Implemented Interfaces:
- FolderRequestCache
- public class FolderRequestCacheAdapter
- extends RequestCacheAdapter
- implements FolderRequestCache
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
folderObject
protected Object folderObject
folderType
protected com.ptc.windchill.uwgm.soap.uwgmdb.FolderType folderType
log
private static Log log
- logging
FolderRequestCacheAdapter
public FolderRequestCacheAdapter()
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
- RequestContextuwgmRequest
- UwgmRequest
- Throws:
RequestValidationException
UwgmErrorException
validateFolder
protected void validateFolder(RequestContext requestContext,
com.ptc.windchill.uwgm.soap.uwgmdb.Folder uwgmFolder)
throws RequestValidationException,
UwgmErrorException
- Throws:
RequestValidationException
UwgmErrorException
getFolderType
public com.ptc.windchill.uwgm.soap.uwgmdb.FolderType getFolderType()
- returns folder type as Uwgm FolderType
- Specified by:
getFolderType
in interface FolderRequestCache
- Returns:
- FolderType
getFolderObject
public Object getFolderObject()
- Description copied from interface:
FolderRequestCache
- returns Folder object
cast object to appropriate type according to getFolderType()
- Specified by:
getFolderObject
in interface FolderRequestCache
- Returns:
- Object
findFakeFolder
private FakeFolder findFakeFolder(com.ptc.windchill.uwgm.soap.uwgmdb.Folder uwgmFolder,
ObjectIdentifier oid)
throws RequestValidationException
- Throws:
RequestValidationException
findWorkspace
private EPMWorkspace findWorkspace(com.ptc.windchill.uwgm.soap.uwgmdb.Folder uwgmFolder,
Folder folder,
WTPrincipal principal)
throws RequestValidationException,
WTException
- Throws:
RequestValidationException
WTException
convertCommonFolderType
private com.ptc.windchill.uwgm.soap.uwgmdb.FolderType convertCommonFolderType(FolderHelper.FolderType folderType)
assignUwgmFolderPersistable
private void assignUwgmFolderPersistable(com.ptc.windchill.uwgm.soap.uwgmdb.Folder uwgmFolder)