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

java.lang.Object
  extended bycom.ptc.windchill.uwgm.proesrv.cache.ProeServiceRequestCache
      extended bycom.ptc.windchill.uwgm.proesrv.cache.AbstractWorkspaceRequestCache
          extended bycom.ptc.windchill.uwgm.proesrv.request.GetFolderContentRequestCache
All Implemented Interfaces:
FolderRequestCache, WorkspaceRequestCache

public class GetFolderContentRequestCache
extends AbstractWorkspaceRequestCache
implements FolderRequestCache

GetFolderContent UWGM request cache adapter


Field Summary
protected  FolderRequestCacheAdapter folderAdapter
           
private  FolderFilter folderFilter
           
 
Fields inherited from class com.ptc.windchill.uwgm.proesrv.cache.AbstractWorkspaceRequestCache
workspaceAdapter
 
Fields inherited from class com.ptc.windchill.uwgm.proesrv.cache.ProeServiceRequestCache
context, infoElements, uwgmRequest
 
Constructor Summary
GetFolderContentRequestCache(GetFolderContentRequest proeServiceRequest)
           
 
Method Summary
 FolderFilter getContentFilter()
           
 Object getFolderObject()
          returns associated WT Objects (Workspace, Folder, FakeFolder, Container, null) according to getFolderType
 com.ptc.windchill.uwgm.soap.uwgmdb.FolderType getFolderType()
          returns Uwgm FolderType for requested Folder or NULL for root folder
 void validate()
          validates request cache
 
Methods inherited from class com.ptc.windchill.uwgm.proesrv.cache.AbstractWorkspaceRequestCache
getEpmWorkspace, setWorkspaceAdapter
 
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

folderAdapter

protected FolderRequestCacheAdapter folderAdapter

folderFilter

private FolderFilter folderFilter
Constructor Detail

GetFolderContentRequestCache

public GetFolderContentRequestCache(GetFolderContentRequest proeServiceRequest)
Method Detail

getFolderType

public com.ptc.windchill.uwgm.soap.uwgmdb.FolderType getFolderType()
returns Uwgm FolderType for requested Folder or NULL for root folder

Specified by:
getFolderType in interface FolderRequestCache
Returns:
FolderType

getFolderObject

public Object getFolderObject()
returns associated WT Objects (Workspace, Folder, FakeFolder, Container, null) according to getFolderType

Specified by:
getFolderObject in interface FolderRequestCache
Returns:
Object

validate

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

subclasses should overwrite this and have validation logic inside

Overrides:
validate in class AbstractWorkspaceRequestCache
Throws:
RequestValidationException
UwgmErrorException

getContentFilter

public FolderFilter getContentFilter()