com.ptc.windchill.cadx.common.util
Class ContainerDataSharingUtilities
java.lang.Object
com.ptc.windchill.cadx.common.util.ContainerDataSharingUtilities
- public class ContainerDataSharingUtilities
- extends Object
Field Summary |
private static boolean |
VERBOSE
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERBOSE
private static boolean VERBOSE
ContainerDataSharingUtilities
public ContainerDataSharingUtilities()
toObjectVector
private static ObjectVector toObjectVector(SortedEnumeration results)
addEnabledClause
private static void addEnabledClause(QuerySpec qs,
int enabled_status)
throws WTException
- Adds a clause to the query spec that restricts the maps returned to those with the same status
as the one passed as argument. A boolean argument
CLONED from wt.inf.sharing.StandrdDataSharingService.addEnabledClause method
- Throws:
WTException
getSharedRefreshCandidates
public static Map getSharedRefreshCandidates(WTContainer container)
filterShares
public static QueryResult filterShares(QueryResult result,
WTContainer container)
throws WTException
- Remove from results objects that were shared and then checked out to the container.
Previous versions not in Sandbox are removed. Terminal objects are removed.
- Throws:
WTException
filterSharesCheckedOutToSandbox
public static QueryResult filterSharesCheckedOutToSandbox(QueryResult result,
WTContainer container)
throws WTException
- Remove from results objects that were shared and then checked out to the container.
- Throws:
WTException