|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.uwgm.common.folder.FolderContent
Helper class to work with the Folder content
supports ProjectLink shared objects and folders
does not support fake folders
Field Summary | |
private static int |
AVERAGE_FOLDER_SIZE
|
private Folder |
folder
|
private Class[] |
iterCl
|
private static Log |
log
|
Constructor Summary | |
FolderContent(Folder folder)
constructor |
Method Summary | |
private void |
addIteration(Iterated iter,
boolean allIterations,
Map itersMap)
|
private void |
addSharedIterations(WTCollection shared,
boolean allIterations,
Map itersMap)
|
Iterated[] |
getAllIterations()
returns an array of all Iteratable objects from iterCl[] presented in folder |
private void |
getIterations(Class iterCl,
ConfigSpec cs,
Map itersMap)
|
Iterated[] |
getIterations(ConfigSpec[] cs)
returns an array of filtered by config spec iteratable objects from iterCl[] presented in folder cs ConfigSpec[] |
Folder[] |
getSubFolders()
returns an array of subFolders (including shared for ProjectLink) |
void |
setContentIterationClasses(Class[] iterCl)
set content object classes to include to FolderContent |
private void |
tracePrint(String msg,
Object[] array)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final Folder folder
private Class[] iterCl
private static Log log
private static int AVERAGE_FOLDER_SIZE
Constructor Detail |
public FolderContent(Folder folder)
folder
- FolderMethod Detail |
public void setContentIterationClasses(Class[] iterCl)
public Folder[] getSubFolders() throws WTException
WTException
public Iterated[] getAllIterations() throws WTException
WTException
public Iterated[] getIterations(ConfigSpec[] cs) throws WTException
WTException
private void getIterations(Class iterCl, ConfigSpec cs, Map itersMap) throws WTException
WTException
private void addSharedIterations(WTCollection shared, boolean allIterations, Map itersMap) throws WTException
WTException
private void addIteration(Iterated iter, boolean allIterations, Map itersMap)
private void tracePrint(String msg, Object[] array)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |