|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.uwgm.proesrv.rrc.RRCContentHelper
Process Content attributes: EpmCadContent, SecondaryContents
Field Summary | |
private RequestResultCache |
cache
|
private WTKeyedMap |
contentMap
|
private static com.ptc.windchill.uwgm.soap.impl.uwgmdb.ContentSeq_i |
EMPTY_CONTENT_SEQ
|
private WTKeyedMap |
ilInfoMap
|
private Collection |
iterations
|
private static Log |
log
|
Constructor Summary | |
RRCContentHelper(Collection iterations,
RequestResultCache cache)
Construct helper for given collection of iterations |
Method Summary | |
private void |
fillContentInfo()
Set EpmCadContent and SecondaryContents attributes for a collection of EpmIteration objects. |
private WTList |
getBoundUrlDataContentHolders()
Gather all ContentHolders which have primary or secondary bound contene of type UrlData. |
private WTList |
getContentHolders()
Gather all ContentHolders to retrieve Content (if requested). |
private WTList |
getFTContentHolders()
Gather all SepFT content holders to retrieve Content (if requested). |
private static boolean |
isFT(com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration epmIter)
|
private static boolean |
isPrimaryContent(EPMDocument epmDoc,
ContentItem item)
|
static boolean |
isPrimaryContent(com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration epmIter,
com.ptc.windchill.uwgm.soap.uwgmdb.Content content)
|
private static boolean |
needFTContent(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes ra,
com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration epmIter)
|
private static boolean |
needPrimaryContent(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes ra,
com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration epmIter)
|
private static boolean |
needSecondaryContent(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes ra,
com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration epmIter)
|
private void |
retrieveILInfoForFT()
Retrieve ILInfos for FT objects (from contentMap) which have at least one content item of type URLData |
void |
setBoundContentInfo()
Set EpmCadContent and SecondaryContents attributes for a collection of EpmIteration objects. |
private static boolean |
setContent(com.ptc.windchill.uwgm.soap.impl.uwgmdb.Content_i content_i,
ContentItem item,
ILFileInfo ilFileInfo,
com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes ra)
|
private static void |
setContentFromAppData(com.ptc.windchill.uwgm.soap.impl.uwgmdb.Content_i content_i,
ApplicationData appData,
com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes ra)
|
private static void |
setContentFromUrlData(com.ptc.windchill.uwgm.soap.impl.uwgmdb.Content_i content_i,
URLData urlData,
ILFileInfo ilFileInfo,
com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes ra)
|
void |
setContentInfo()
Set EpmCadContent and SecondaryContents attributes for a collection of EpmIteration objects. |
void |
setContentInfo(EPMWorkspace epmWs)
Set EpmCadContent and SecondaryContents attributes for a collection of EpmIteration objects from a particular workspace. |
void |
setContentInfo(Folder folder)
Set EpmCadContent and SecondaryContents attributes for a collection of EpmIteration objects from a particular folder. |
private static void |
setContentUrl(com.ptc.windchill.uwgm.soap.uwgmdb.Content.Iterator contentIter,
WTKeyedMap urlMap)
|
private void |
setContentUrl(WTKeyedMap itemsToQueryUrl)
|
void |
setFTContentInfo()
Set EpmCadContent attribute for a collection of EpmFamilyTable objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static Log log
private static final com.ptc.windchill.uwgm.soap.impl.uwgmdb.ContentSeq_i EMPTY_CONTENT_SEQ
private final Collection iterations
private final RequestResultCache cache
private WTKeyedMap contentMap
private WTKeyedMap ilInfoMap
Constructor Detail |
public RRCContentHelper(Collection iterations, RequestResultCache cache)
iterations
- Collectioncache
- RequestResultCacheMethod Detail |
public void setContentInfo(EPMWorkspace epmWs)
epmWs
- EPMWorkspacepublic void setContentInfo(Folder folder)
folder
- wt.folder.Folderpublic void setContentInfo()
public void setFTContentInfo()
private void retrieveILInfoForFT() throws WTException
WTException
- from WTCollection.persistableIterator()public void setBoundContentInfo()
private WTList getBoundUrlDataContentHolders()
public static boolean isPrimaryContent(com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration epmIter, com.ptc.windchill.uwgm.soap.uwgmdb.Content content)
private static boolean isPrimaryContent(EPMDocument epmDoc, ContentItem item)
private WTList getContentHolders()
private WTList getFTContentHolders()
private void fillContentInfo()
private void setContentUrl(WTKeyedMap itemsToQueryUrl)
private static void setContentUrl(com.ptc.windchill.uwgm.soap.uwgmdb.Content.Iterator contentIter, WTKeyedMap urlMap)
private static boolean setContent(com.ptc.windchill.uwgm.soap.impl.uwgmdb.Content_i content_i, ContentItem item, ILFileInfo ilFileInfo, com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes ra)
private static void setContentFromAppData(com.ptc.windchill.uwgm.soap.impl.uwgmdb.Content_i content_i, ApplicationData appData, com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes ra)
private static void setContentFromUrlData(com.ptc.windchill.uwgm.soap.impl.uwgmdb.Content_i content_i, URLData urlData, ILFileInfo ilFileInfo, com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes ra)
private static boolean needPrimaryContent(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes ra, com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration epmIter)
private static boolean needSecondaryContent(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes ra, com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration epmIter)
private static boolean isFT(com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration epmIter)
private static boolean needFTContent(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes ra, com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration epmIter)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |