com.ptc.epm.commands
Class ECADLastUsedQuery
java.lang.Object
com.ptc.epm.commands.ECADLastUsedQuery
- public class ECADLastUsedQuery
- extends Object
Method Summary |
private static boolean |
contains(ObjectVector epmDocs,
EPMDocument docToFind)
|
static Collection |
getAssemblyDocs(String authoringApp,
WTPrincipal user,
int numberDays,
int numberToReturn,
boolean notCheckedOut,
WTContainerRef sandboxRef)
Find the last "numberToReturn" ECAD assembly documents that this user
has worked on within the last "numberDays" days. |
private static QueryResult |
getLastUsed(String authoringApp,
WTPrincipal user,
EPMDocumentType docType,
int numberDays,
WTContainerRef containerRef)
|
private static QueryResult |
removeDuplicates(QueryResult unFilteredDocs,
String authoringApp)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ECADLastUsedQuery
public ECADLastUsedQuery()
getAssemblyDocs
public static Collection getAssemblyDocs(String authoringApp,
WTPrincipal user,
int numberDays,
int numberToReturn,
boolean notCheckedOut,
WTContainerRef sandboxRef)
throws WTException
- Find the last "numberToReturn" ECAD assembly documents that this user
has worked on within the last "numberDays" days.
- Throws:
WTException
getLastUsed
private static QueryResult getLastUsed(String authoringApp,
WTPrincipal user,
EPMDocumentType docType,
int numberDays,
WTContainerRef containerRef)
throws WTException
- Throws:
WTException
removeDuplicates
private static QueryResult removeDuplicates(QueryResult unFilteredDocs,
String authoringApp)
throws WTException
- Throws:
WTException
contains
private static boolean contains(ObjectVector epmDocs,
EPMDocument docToFind)
throws WTException
- Throws:
WTException