wt.sandbox
Class Utilities

java.lang.Object
  extended bywt.sandbox.Utilities

class Utilities
extends Object


Nested Class Summary
(package private) static class Utilities.PerClassCollectionProcessor
           
(package private) static class Utilities.PerClassCollectionProcessorMastersSeparate
           
(package private) static class Utilities.PerClassProcessor
           
 
Field Summary
(package private) static String BASELINE_MEMBER_BASELINE_ID_ATTR_NAME
           
(package private) static String BASELINE_MEMBER_BASELINEABLE_ID_ATTR_NAME
           
(package private) static String CAD_NAMESPACE_MASTER_ID_ATTR
           
(package private) static String CAD_NAMESPACE_PROJ_ID_ATTR_NAME
           
(package private) static String CHECKOUT_LINK_ORIGINAL_COPY_ID_ATTR_NAME
           
(package private) static String CHECKOUT_LINK_WORKING_COPY_ID_ATTR_NAME
           
(package private) static String CONTAINED_CONT_CLASS_ATTR_NAME
           
(package private) static String CONTAINED_CONT_ID_ATTR_NAME
           
(package private) static String CONTROL_BRANCH_PREDECESSOR_ID_ATTR_LABEL
           
(package private) static int DEFAULT_COLL_SIZE
          Initial size for collections and maps created herein if one is or be specified and one is not computed from the size of other collection(s) and/or map(s).
(package private) static String FOLDERED_FOLDER_ATTR_NAME
           
(package private) static String ITERATED_BRANCH_ID_ATTR_NAME
           
(package private) static String ITERATED_CREATOR_ID_ATTR_NAME
           
(package private) static String ITERATED_LATEST_ATTR_NAME
           
(package private) static String ITERATED_MASTER_ID_ATTR_NAME
           
(package private) static String ITERATED_PREDECESSOR_ID_ATTR_NAME
           
(package private) static String LOCKABLE_LOCKER_ID_ATTR_NAME
           
(package private) static String LOCKER_ID_ATTR_NAME
           
(package private) static String MASTER_ORG_REF_ID_ATTR
           
(package private) static String ONE_OFF_VERSION_LABEL_ATTR
           
(package private) static String OWNER_ID_ATTR_NAME
           
(package private) static String PERSISTABLE_OBJ_CLASSNAME_ATTR_NAME
           
(package private) static String PERSISTABLE_OBJ_ID_ATTR_NAME
           
(package private) static String PERSISTABLE_OBJ_UPDATE_COUNT_ATTR_NAME
           
(package private) static RefreshSpec REFRESH_AND_REMOVE_DELETED_SPEC
           
(package private) static RefreshSpec REFRESH_LOCK_AND_ASSERT_NOT_DELETED_SPEC
           
(package private) static RefreshSpec REFRESH_LOCK_AND_REMOVE_DELETED_SPEC
           
(package private) static RefreshSpec REFRESH_LOCK_ASSERT_NOT_DELETED_NO_ACL_SPEC
           
(package private) static RefreshSpec REFRESH_LOCK_REMOVE_DELETED_NO_ACL_SPEC
           
(package private) static RefreshSpec RERESH_AND_ASSERT_NOT_DELETED_SPEC
           
(package private) static String RESOURCE
           
(package private) static String SB_CHECKIN_CHECKED_IN_COPY_OBJECT_ID_LABEL
           
(package private) static String SB_CHECKIN_SANDBOX_COPY_OBJECT_ID_LABEL
           
(package private) static String SB_CHECKOUT_ORIGINAL_COPY_OBJECT_ID_LABEL
           
(package private) static String SB_CHECKOUT_WORKING_COPY_BRANCH_ID_LABEL
           
(package private) static String SEMANTIC_KEY_NAMESPACE_ID_ATTR_NAME
           
(package private) static String SEMANTIC_KEY_UNIQUELY_IDENT_ID_ATTR_NAME
           
(package private) static String SHARE_MAP_TARGET_CONT_ID_ATTR_LABEL
           
(package private) static String SHARE_MAP_VER_REF_BRANCH_ID_ATTR_LABEL
           
(package private) static String VERSION_LABEL_ATTR
           
(package private) static String WORKABLE_STATE_ATTR_NAME
           
private static Class[] workableVersionedContainedClasses
          Should only be accessed via getWorkableVersionedContainedClasses()!
private static Object workableVersionedContainedClassesLock
          Lock for accessing 'workableVersionedContainedClasses' (used by getWorkableVersionedContainedClasses())
 
Constructor Summary
private Utilities()
           
 
Method Summary
(package private) static void addObjectsForReferences(Collection objectColl, Collection objectRefColl)
           
(package private) static void addReferenceToIdResults(Set resultRefs, QueryResult idResults, Map idsToReferences)
           
(package private) static void appendBaselineIdCriteria(QuerySpec querySpec, int baselineMemberFromIdx, long baselineId)
           
(package private) static void appendBaselineMemberCriteria(QuerySpec querySpec, int baselineableFromIdx, int baselineMemberFromIdx)
           
(package private) static int appendBaselineMemberFromExpr(QuerySpec querySpec, boolean useClassViewExpression)
          Placeholder for any special logic we might wish; also allows easier switching between view and table expressions
(package private) static void appendBinaryCorrelatedJoin(QuerySpec subSelectSpec, SearchCondition condition, QuerySpec qs1, int fromIdx1, QuerySpec qs2, int fromIdx2)
           
(package private) static void appendBranchIdListCriteria(QuerySpec querySpec, int objectFromIdx, long[] branchIds, boolean inList)
           
(package private) static void appendContainingContainerIdCriteria(QuerySpec querySpec, int containedFromIdx, long containerId)
           
(package private) static void appendContainingContainerIdInCriteria(QuerySpec querySpec, int containedFromIdx, long[] containerIds)
           
(package private) static void appendContainingContainerRefToSelect(QuerySpec querySpec, int containedFromIdx)
           
(package private) static void appendControlBranchPredShareMapBranchCriteria(QuerySpec querySpec, int controlBranchFromIdx, int sharedContainerMapFromIdx)
           
(package private) static void appendCreatorIdCriteria(QuerySpec querySpec, int iteratedFromIdx, long principalId)
           
(package private) static int appendFromNoSelectNoDescendants(QuerySpec querySpec, Class queryClass)
           
(package private) static int appendFromWithSelectNoDescendants(QuerySpec querySpec, Class queryClass)
           
(package private) static void appendIdColumnsToSelectAsNeeded(QuerySpec querySpec, int fromIdx, long[] objectIds, long[] branchIds)
           
(package private) static void appendIdCriteriaWithNullIdHandling(QuerySpec querySpec, ClassAttribute idAttr, int fromIdx, long idValue)
           
(package private) static void appendInObjOrVerIdsCriteria(QuerySpec querySpec, int objectFromIdx, Class refClass, long[] objectIds, long[] branchIds)
          Add the following query criteria to a query spec: ( OBJ.thePersistInfo.theObjectIdentifier.id in {objectIds} or ( OBJ.iterationInfo.branchId in {branchIds} and OBJ.iterationInfo.latest = 1 ) ) where either criteria will automatically be dropped if there are no corresponding ids.
(package private) static void appendIteratedControlBranchCriteria(QuerySpec querySpec, int iteratedFromIdx, int controlBranchFromIdx)
           
(package private) static void appendIteratedMasterIdsCriteria(QuerySpec querySpec, int iteratedFromIdx, long[] masterIds)
           
(package private) static void appendKeyNamespaceCriteria(QuerySpec querySpec, int semanticKeyFromIdx, WTContainerRef namespaceRef)
           
(package private) static void appendLatestIterationCriteria(QuerySpec querySpec, int iteratedFromIdx)
           
(package private) static void appendLockerIdCriteria(QuerySpec querySpec, Class fromClass, int fromIdx, long principalID)
           
(package private) static void appendLockerIdCriteria(QuerySpec querySpec, int lockableFromIdx, long principalId)
           
(package private) static void appendMasterKeyJoinCriteria(QuerySpec querySpec, int masterFromIdx, int semanticKeyFromIdx)
           
(package private) static void appendObjIdListCriteria(QuerySpec querySpec, int objectFromIdx, long[] objectIds, boolean inList)
           
(package private) static void appendOrgIdCriteria(QuerySpec querySpec, Class fromClass, int fromIdx, WTPrincipalReference orgRef)
           
(package private) static void appendOwnerIdCriteria(QuerySpec querySpec, Class fromClass, int fromIdx, long principalID, boolean equal)
           
(package private) static void appendSameBranchCriteria(QuerySpec querySpec, int iteratedIdx1, int iteratedIdx2)
           
(package private) static void appendSameMasterCriteria(QuerySpec querySpec, int iteratedIdx1, int iteratedIdx2)
           
(package private) static void appendSandboxCheckinLinkCheckedInCopyCriteria(QuerySpec querySpec, int checkedInCopyFromIdx, int sandboxCheckinLinkIdx)
           
(package private) static void appendSandboxCheckinLinkCheckedinIdCriteria(QuerySpec querySpec, int sandboxCheckinLinkIdx, long checkedInCopyObjectId)
           
(package private) static void appendSandboxCheckinLinkCriteria(QuerySpec querySpec, int sandboxCopyFromIdx, int checkedInCopyFromIdx, int sandboxCheckinLinkIdx)
           
(package private) static void appendSandboxCheckinLinkSandboxCopyCriteria(QuerySpec querySpec, int sandboxCopyFromIdx, int sandboxCheckinLinkIdx)
           
(package private) static void appendSandboxCheckinLinkSandboxCopyIdCriteria(QuerySpec querySpec, int sandboxCheckinLinkIdx, long sandboxCopyObjectId)
           
(package private) static void appendSandboxCheckoutLinkCriteria(QuerySpec querySpec, int originalCopyFromIdx, int workingCopyFromIdx, int sandboxCheckoutLinkIdx)
           
(package private) static void appendSandboxCheckoutLinkOriginalCopyCriteria(QuerySpec querySpec, int originalCopyFromIdx, int sandboxCheckoutLinkIdx)
           
(package private) static void appendSandboxCheckoutLinkOriginalCopyObjectIdCriteria(QuerySpec querySpec, int sandboxCheckoutLinkIdx, long originalCopyId)
           
(package private) static void appendSandboxCheckoutLinkWorkingBranchIdCriteria(QuerySpec querySpec, int sandboxCheckoutLinkIdx, long workingCopyBranchId)
           
(package private) static void appendSandboxCheckoutLinkWorkingCopyCriteria(QuerySpec querySpec, int workingCopyFromIdx, int sandboxCheckoutLinkIdx)
           
(package private) static void appendShareMapTargetContainerCriteria(QuerySpec querySpec, int containedFromIdx, int sharedContainerMapFromIdx)
           
(package private) static void appendStringAttrInListCriteria(QuerySpec querySpec, Class fromClass, int fromIdx, String attrName, Collection attrValuesColl)
           
(package private) static int appendWorkableVersionedContainedFromExpr(QuerySpec querySpec, boolean useClassViewExpression)
          Creates and adds from expression appropriate for an object that is Workable, OneOffVersioned, and Contained returning the from expression index.
(package private) static int appendWorkableVersionedContainedFromExpr(QuerySpec querySpec, boolean useClassViewExpression, Collection classesToLimitTo)
          Same as other call signature but limits query to a given set of classes (tables), unless 'classesToLimitTo' is null in which case this routine reverts to the other call signature's behavior.
(package private) static void appendWorkInProgressStateCriteria(QuerySpec querySpec, int workableFromIdx, WorkInProgressState wipState, String conditionOperator)
           
(package private) static int appendWVCBaselineableFromExpr(QuerySpec querySpec, boolean useClassViewExpression)
           
(package private) static int appendWVCBaselineableFromExpr(QuerySpec querySpec, boolean useClassViewExpression, Collection classesToLimitTo)
           
(package private) static void applyNetFactorProperty(NetFactor obj, String beanPropertyName, Object beanPropertyValue)
           
(package private) static boolean classIsAssignableFrom(Class cls, Class[] baseClasses)
           
(package private) static boolean classMatches(Class refClass, Class[] requiredInterfaces, Class[] excludedInterfaces)
           
(package private) static Map createAppropriateMap(int initialSize, int keyMask, int valueMask)
           
(package private) static Set createAppropriateSet(Collection inputRefColl, int initialSize)
           
(package private) static WTContainerRef createContainerRef(String classname, long objectId)
           
(package private) static ObjectReference createReference(Class cls, long objectId)
           
(package private) static ObjectReference createReference(String classname, long objectId)
           
(package private) static VersionReference createVersionReference(Class cls, long branchId)
           
(package private) static VersionReference createVersionReference(String classname, long branchId)
           
private static AbstractClassTableExpression createWorkableVersionedContainedFromExpr(QuerySpec querySpec, boolean useClassViewExpression, Collection otherAdditionalInterfaces, Collection classesToLimitTo)
           
(package private) static QueryResult findFolderContents(Folder folder, Class contentClass, boolean bypassAccessControl)
           
(package private) static QueryResult findSubFolders(Folder folder, boolean bypassAccessControl)
           
(package private) static WTReference getAppropriateRef(WTReference ref, int mask)
           
(package private) static Object getBeanProp(NetFactor tplObj, String propName)
           
(package private) static Map getClassToReferencesMap(Collection referenceColl, boolean removeNullClassRefs)
          Collate references by class.
(package private) static Map getClassToReferencesMap(Collection referenceColl, boolean removeNullClassRefs, Class[] requiredInterfaces, Class[] excludedInterfaces)
          Collate references by class.
(package private) static int getClosestKeyMask(Collection coll)
           
(package private) static WTCollection[] getConstrainedRefColls(Collection refColl)
           
(package private) static WTContainer getContainer(WTContainer childContainer, boolean bypassAccessControl)
           
(package private) static WTContainer getContainer(WTContainerRef containerRef, boolean bypassAccessControl)
           
private static Folder getDefaultCabinet(WTContainer container, boolean bypassAccessControl)
           
(package private) static Folder getDefaultFolder(WTContainerRef containerRef)
          Determines default folder to use based on a container reference.
(package private) static AdminDomainRef getDomain(WTContainerRef containerRef, Folder inputFolder)
          Determines folder and then domain from it if possible; if not returns container's default domain.
(package private) static Folder getFolder(Foldered foldered, boolean bypassAccessControl)
           
(package private) static Map getFolderedToFolderMap(Collection folderedObjs, boolean bypassAccessControl, boolean inflateFolders)
           
(package private) static WTValuedMap getFolderedToFolderMap(WTCollection folderedObjs, boolean bypassAccessControl)
           
(package private) static Map getIdsToReferencesMap(Collection referencesColl)
          Create map of ids (as Longs) to ObjectReferences and VersionReferences in 'referencesColl'.
(package private) static WTValuedMap getInflatedOrRefreshedWTValuedMap(Map refToRefMap, boolean refresh, boolean lock, int keyMask, int valueMask, boolean forceSpecifiedKeyMask, boolean forceSpecifiedValueMask)
          Essentially assumes getMostAppropriateMap() was run on input already
(package private) static WTSet getLockedObjs(WTCollection wtColl)
          Inputs are assumed to be all Lockable
(package private) static long[] getMasterIdsFromIterRefColl(Collection iterRefColl)
          This routine gets master ids from iterations in 'iterRefColl', which it assumes is pre-inflated.
(package private) static long[][] getMasterObjectAndBranchIds(Collection wtColl)
           
(package private) static Set getMasterRefSubset(Collection referenceColl)
          Get subset of references to masters
(package private) static Set getMatchingSubset(Collection referenceColl, Class[] requiredInterfaces, Class[] excludedInterfaces)
          Get subset of references matching interface constraints
(package private) static Map getMostAppropriateMap(Map refMap)
          Return the most appropriate WTKeyedMap type that we can based on the variety of references found in 'refMap'.
(package private) static WTContainer getNamespace(WTContained contained, boolean bypassAccessControl)
           
(package private) static WTSet getNonLatestIterationRefs(WTCollection wtColl)
          Inputs are assumed to be all Iterated
(package private) static WTSet getNonProjectObjects(WTCollection wtColl)
          Inputs are assumed to be all WTContained
(package private) static WTSet getNonSBCheckedOutSandboxOrigCopies(WTCollection wtColl)
          Inputs are assumed to be all Workables
(package private) static Map getObjectIdsToReferencesMap(WTCollection wtColl)
          This routine inflates the incoming collection one object at a time and should only be used when the collection is known to be inflated.
(package private) static long[] getObjectReferenceIds(Collection wtReferences)
          Return array of all object ids of all ObjectReferences in the given collection
(package private) static WTReference getOrCreateReference(Class cls, long objectId, Map idsToReferences)
           
(package private) static WTReference getOrCreateReference(String classname, long objectId, Map idsToReferences)
           
(package private) static WTPrincipalReference getOrganizationReference(WTContainerRef containerRef)
          Determines target organization to use based on a container reference.
(package private) static OrgContainer getOrgContainer(WTContainer origContainer, boolean bypassAccessControl)
           
(package private) static Set getReferencedClasses(Collection refColl, boolean ignoreNullClassRefs)
           
(package private) static Set getReferencesFromIdResults(QueryResult idResults, Map idsToReferences, Collection inputRefColl)
          Given a query result containing object and/or branch ids, 'idResults', returns a WTSet of the corresponding references in 'idsToReferences'.
(package private) static WTSet getSBCheckedOutSandboxOrigCopies(WTCollection wtColl)
          Inputs are assumed to be all Workables
(package private) static Persistable getSinglePersistableFromQueryResult(QueryResult result)
           
(package private) static WTContainer getTargetNamespace(WTContainer targetContainer, Class objClass, boolean bypassAccessControl)
           
(package private) static WTContainerRef getTargetNamespaceRef(WTContainerRef targetContainerRef, Class objClass, boolean bypassAccessControl)
           
(package private) static WTSet getTerminalBranchObjs(WTCollection wtColl)
          Inputs are assumed to be all Workables
(package private) static long[] getVersionReferenceIds(Collection wtReferences)
          Return array of all branch ids of all VersionReferences in the given collection
(package private) static WTSet getWipCheckOuts(WTCollection wtColl)
          Inputs are assumed to be all Workables
(package private) static Class[] getWorkableVersionedContainedClasses()
           
(package private) static boolean hasContainerOf(Persistable pObj, WTContainerRef containerRef)
           
(package private) static boolean hasOrgOf(Persistable pObj, WTPrincipalReference orgRef)
           
(package private) static void inflateMap(Map refMap)
           
(package private) static void inflateMasterRefs(Collection refColl)
          Should only be used when you know refColl is inflated
(package private) static void inflateOrRefreshMap(Map refMap, boolean refresh, boolean lock)
           
(package private) static void inflateOrRefreshRefColl(Collection refColl, boolean refresh, boolean lock)
           
(package private) static void inflateOrRefreshRefColl(WTCollection wtColl, boolean refresh, boolean lock)
           
(package private) static void inflateRefColl(Collection refColl)
           
(package private) static void inflateRefsAndMasterRefs(Collection refColl)
           
(package private) static boolean isInstanceOf(Object obj, Class[] baseClasses)
           
(package private) static void processByClass(Collection wtColl, Utilities.PerClassProcessor processor, Class[] requiredInterfaces)
           
(package private) static void processByClass(Collection wtColl, Utilities.PerClassProcessor processor, Class[] requiredInterfaces, Class[] excludedInterfaces)
           
(package private) static void processByClassMastersSeparate(Collection wtColl, Utilities.PerClassCollectionProcessorMastersSeparate processor, Class[] requiredInterfaces)
           
(package private) static QueryResult queryNoExcludeMarkedForDelete(QuerySpec querySpec)
           
(package private) static void shareVersionsNoAcl(WTCollection pdmCopies, WTContainerRef targetContainer, Folder targetFolder)
           
(package private) static boolean wtRefsAreEqual(WTReference objRef1, WTReference objRef2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

static final String RESOURCE
See Also:
Constant Field Values

BASELINE_MEMBER_BASELINEABLE_ID_ATTR_NAME

static final String BASELINE_MEMBER_BASELINEABLE_ID_ATTR_NAME
See Also:
Constant Field Values

BASELINE_MEMBER_BASELINE_ID_ATTR_NAME

static final String BASELINE_MEMBER_BASELINE_ID_ATTR_NAME
See Also:
Constant Field Values

CAD_NAMESPACE_MASTER_ID_ATTR

static final String CAD_NAMESPACE_MASTER_ID_ATTR
See Also:
Constant Field Values

CAD_NAMESPACE_PROJ_ID_ATTR_NAME

static final String CAD_NAMESPACE_PROJ_ID_ATTR_NAME
See Also:
Constant Field Values

CHECKOUT_LINK_ORIGINAL_COPY_ID_ATTR_NAME

static final String CHECKOUT_LINK_ORIGINAL_COPY_ID_ATTR_NAME
See Also:
Constant Field Values

CHECKOUT_LINK_WORKING_COPY_ID_ATTR_NAME

static final String CHECKOUT_LINK_WORKING_COPY_ID_ATTR_NAME
See Also:
Constant Field Values

CONTAINED_CONT_ID_ATTR_NAME

static final String CONTAINED_CONT_ID_ATTR_NAME
See Also:
Constant Field Values

CONTAINED_CONT_CLASS_ATTR_NAME

static final String CONTAINED_CONT_CLASS_ATTR_NAME
See Also:
Constant Field Values

CONTROL_BRANCH_PREDECESSOR_ID_ATTR_LABEL

static final String CONTROL_BRANCH_PREDECESSOR_ID_ATTR_LABEL
See Also:
Constant Field Values

FOLDERED_FOLDER_ATTR_NAME

static final String FOLDERED_FOLDER_ATTR_NAME
See Also:
Constant Field Values

ITERATED_BRANCH_ID_ATTR_NAME

static final String ITERATED_BRANCH_ID_ATTR_NAME
See Also:
Constant Field Values

ITERATED_LATEST_ATTR_NAME

static final String ITERATED_LATEST_ATTR_NAME
See Also:
Constant Field Values

ITERATED_PREDECESSOR_ID_ATTR_NAME

static final String ITERATED_PREDECESSOR_ID_ATTR_NAME
See Also:
Constant Field Values

ITERATED_MASTER_ID_ATTR_NAME

static final String ITERATED_MASTER_ID_ATTR_NAME
See Also:
Constant Field Values

ITERATED_CREATOR_ID_ATTR_NAME

static final String ITERATED_CREATOR_ID_ATTR_NAME
See Also:
Constant Field Values

LOCKABLE_LOCKER_ID_ATTR_NAME

static final String LOCKABLE_LOCKER_ID_ATTR_NAME
See Also:
Constant Field Values

LOCKER_ID_ATTR_NAME

static final String LOCKER_ID_ATTR_NAME
See Also:
Constant Field Values

MASTER_ORG_REF_ID_ATTR

static final String MASTER_ORG_REF_ID_ATTR
See Also:
Constant Field Values

OWNER_ID_ATTR_NAME

static final String OWNER_ID_ATTR_NAME
See Also:
Constant Field Values

PERSISTABLE_OBJ_ID_ATTR_NAME

static final String PERSISTABLE_OBJ_ID_ATTR_NAME
See Also:
Constant Field Values

PERSISTABLE_OBJ_CLASSNAME_ATTR_NAME

static final String PERSISTABLE_OBJ_CLASSNAME_ATTR_NAME
See Also:
Constant Field Values

PERSISTABLE_OBJ_UPDATE_COUNT_ATTR_NAME

static final String PERSISTABLE_OBJ_UPDATE_COUNT_ATTR_NAME
See Also:
Constant Field Values

SB_CHECKIN_SANDBOX_COPY_OBJECT_ID_LABEL

static final String SB_CHECKIN_SANDBOX_COPY_OBJECT_ID_LABEL
See Also:
Constant Field Values

SB_CHECKIN_CHECKED_IN_COPY_OBJECT_ID_LABEL

static final String SB_CHECKIN_CHECKED_IN_COPY_OBJECT_ID_LABEL
See Also:
Constant Field Values

SB_CHECKOUT_ORIGINAL_COPY_OBJECT_ID_LABEL

static final String SB_CHECKOUT_ORIGINAL_COPY_OBJECT_ID_LABEL
See Also:
Constant Field Values

SB_CHECKOUT_WORKING_COPY_BRANCH_ID_LABEL

static final String SB_CHECKOUT_WORKING_COPY_BRANCH_ID_LABEL
See Also:
Constant Field Values

SEMANTIC_KEY_NAMESPACE_ID_ATTR_NAME

static final String SEMANTIC_KEY_NAMESPACE_ID_ATTR_NAME
See Also:
Constant Field Values

SEMANTIC_KEY_UNIQUELY_IDENT_ID_ATTR_NAME

static final String SEMANTIC_KEY_UNIQUELY_IDENT_ID_ATTR_NAME
See Also:
Constant Field Values

SHARE_MAP_TARGET_CONT_ID_ATTR_LABEL

static final String SHARE_MAP_TARGET_CONT_ID_ATTR_LABEL
See Also:
Constant Field Values

SHARE_MAP_VER_REF_BRANCH_ID_ATTR_LABEL

static final String SHARE_MAP_VER_REF_BRANCH_ID_ATTR_LABEL
See Also:
Constant Field Values

WORKABLE_STATE_ATTR_NAME

static final String WORKABLE_STATE_ATTR_NAME
See Also:
Constant Field Values

ONE_OFF_VERSION_LABEL_ATTR

static final String ONE_OFF_VERSION_LABEL_ATTR
See Also:
Constant Field Values

VERSION_LABEL_ATTR

static final String VERSION_LABEL_ATTR
See Also:
Constant Field Values

DEFAULT_COLL_SIZE

static final int DEFAULT_COLL_SIZE
Initial size for collections and maps created herein if one is or be specified and one is not computed from the size of other collection(s) and/or map(s).

See Also:
Constant Field Values

REFRESH_LOCK_AND_ASSERT_NOT_DELETED_SPEC

static final RefreshSpec REFRESH_LOCK_AND_ASSERT_NOT_DELETED_SPEC

RERESH_AND_ASSERT_NOT_DELETED_SPEC

static final RefreshSpec RERESH_AND_ASSERT_NOT_DELETED_SPEC

REFRESH_LOCK_AND_REMOVE_DELETED_SPEC

static final RefreshSpec REFRESH_LOCK_AND_REMOVE_DELETED_SPEC

REFRESH_LOCK_REMOVE_DELETED_NO_ACL_SPEC

static final RefreshSpec REFRESH_LOCK_REMOVE_DELETED_NO_ACL_SPEC

REFRESH_LOCK_ASSERT_NOT_DELETED_NO_ACL_SPEC

static final RefreshSpec REFRESH_LOCK_ASSERT_NOT_DELETED_NO_ACL_SPEC

REFRESH_AND_REMOVE_DELETED_SPEC

static final RefreshSpec REFRESH_AND_REMOVE_DELETED_SPEC

workableVersionedContainedClasses

private static Class[] workableVersionedContainedClasses
Should only be accessed via getWorkableVersionedContainedClasses()!


workableVersionedContainedClassesLock

private static final Object workableVersionedContainedClassesLock
Lock for accessing 'workableVersionedContainedClasses' (used by getWorkableVersionedContainedClasses())

Constructor Detail

Utilities

private Utilities()
Method Detail

inflateRefColl

static void inflateRefColl(Collection refColl)
                    throws WTException
Throws:
WTException

inflateOrRefreshRefColl

static void inflateOrRefreshRefColl(Collection refColl,
                                    boolean refresh,
                                    boolean lock)
                             throws WTException
Throws:
WTException

inflateOrRefreshRefColl

static void inflateOrRefreshRefColl(WTCollection wtColl,
                                    boolean refresh,
                                    boolean lock)
                             throws WTException
Throws:
WTException

getConstrainedRefColls

static WTCollection[] getConstrainedRefColls(Collection refColl)

inflateRefsAndMasterRefs

static void inflateRefsAndMasterRefs(Collection refColl)
                              throws WTException
Throws:
WTException

inflateMasterRefs

static void inflateMasterRefs(Collection refColl)
                       throws WTException
Should only be used when you know refColl is inflated

Throws:
WTException

getMasterIdsFromIterRefColl

static long[] getMasterIdsFromIterRefColl(Collection iterRefColl)
This routine gets master ids from iterations in 'iterRefColl', which it assumes is pre-inflated. [If this assumption is violated performance will not be good...]


addObjectsForReferences

static void addObjectsForReferences(Collection objectColl,
                                    Collection objectRefColl)

inflateMap

static void inflateMap(Map refMap)
                throws WTException
Throws:
WTException

inflateOrRefreshMap

static void inflateOrRefreshMap(Map refMap,
                                boolean refresh,
                                boolean lock)
                         throws WTException
Throws:
WTException

getInflatedOrRefreshedWTValuedMap

static WTValuedMap getInflatedOrRefreshedWTValuedMap(Map refToRefMap,
                                                     boolean refresh,
                                                     boolean lock,
                                                     int keyMask,
                                                     int valueMask,
                                                     boolean forceSpecifiedKeyMask,
                                                     boolean forceSpecifiedValueMask)
                                              throws WTException
Essentially assumes getMostAppropriateMap() was run on input already

Throws:
WTException

getAppropriateRef

static WTReference getAppropriateRef(WTReference ref,
                                     int mask)
                              throws WTException
Throws:
WTException

createAppropriateSet

static Set createAppropriateSet(Collection inputRefColl,
                                int initialSize)

createAppropriateMap

static Map createAppropriateMap(int initialSize,
                                int keyMask,
                                int valueMask)

getMostAppropriateMap

static Map getMostAppropriateMap(Map refMap)
Return the most appropriate WTKeyedMap type that we can based on the variety of references found in 'refMap'. If 'refMap' is already a WTKeyedMap instance, then just return it.


getClosestKeyMask

static int getClosestKeyMask(Collection coll)

getNonLatestIterationRefs

static WTSet getNonLatestIterationRefs(WTCollection wtColl)
                                throws WTException
Inputs are assumed to be all Iterated

Throws:
WTException

getWipCheckOuts

static WTSet getWipCheckOuts(WTCollection wtColl)
                      throws WTException
Inputs are assumed to be all Workables

Throws:
WTException

getSBCheckedOutSandboxOrigCopies

static WTSet getSBCheckedOutSandboxOrigCopies(WTCollection wtColl)
                                       throws WTException
Inputs are assumed to be all Workables

Throws:
WTException

getNonSBCheckedOutSandboxOrigCopies

static WTSet getNonSBCheckedOutSandboxOrigCopies(WTCollection wtColl)
                                          throws WTException
Inputs are assumed to be all Workables

Throws:
WTException

getTerminalBranchObjs

static WTSet getTerminalBranchObjs(WTCollection wtColl)
                            throws WTException
Inputs are assumed to be all Workables

Throws:
WTException

getNonProjectObjects

static WTSet getNonProjectObjects(WTCollection wtColl)
                           throws WTException
Inputs are assumed to be all WTContained

Throws:
WTException

getLockedObjs

static WTSet getLockedObjs(WTCollection wtColl)
                    throws WTException
Inputs are assumed to be all Lockable

Throws:
WTException

createContainerRef

static WTContainerRef createContainerRef(String classname,
                                         long objectId)
                                  throws WTException
Throws:
WTException

createVersionReference

static VersionReference createVersionReference(String classname,
                                               long branchId)
                                        throws WTException
Throws:
WTException

createVersionReference

static VersionReference createVersionReference(Class cls,
                                               long branchId)
                                        throws WTException
Throws:
WTException

getOrCreateReference

static WTReference getOrCreateReference(String classname,
                                        long objectId,
                                        Map idsToReferences)
                                 throws WTException
Throws:
WTException

getOrCreateReference

static WTReference getOrCreateReference(Class cls,
                                        long objectId,
                                        Map idsToReferences)
                                 throws WTException
Throws:
WTException

createReference

static ObjectReference createReference(String classname,
                                       long objectId)
                                throws WTException
Throws:
WTException

createReference

static ObjectReference createReference(Class cls,
                                       long objectId)
                                throws WTException
Throws:
WTException

getObjectReferenceIds

static long[] getObjectReferenceIds(Collection wtReferences)
Return array of all object ids of all ObjectReferences in the given collection


getVersionReferenceIds

static long[] getVersionReferenceIds(Collection wtReferences)
Return array of all branch ids of all VersionReferences in the given collection


getMasterObjectAndBranchIds

static long[][] getMasterObjectAndBranchIds(Collection wtColl)

getObjectIdsToReferencesMap

static Map getObjectIdsToReferencesMap(WTCollection wtColl)
This routine inflates the incoming collection one object at a time and should only be used when the collection is known to be inflated.


getMatchingSubset

static Set getMatchingSubset(Collection referenceColl,
                             Class[] requiredInterfaces,
                             Class[] excludedInterfaces)
Get subset of references matching interface constraints


classMatches

static boolean classMatches(Class refClass,
                            Class[] requiredInterfaces,
                            Class[] excludedInterfaces)

getMasterRefSubset

static Set getMasterRefSubset(Collection referenceColl)
Get subset of references to masters


getClassToReferencesMap

static Map getClassToReferencesMap(Collection referenceColl,
                                   boolean removeNullClassRefs)
Collate references by class.


getClassToReferencesMap

static Map getClassToReferencesMap(Collection referenceColl,
                                   boolean removeNullClassRefs,
                                   Class[] requiredInterfaces,
                                   Class[] excludedInterfaces)
Collate references by class.


processByClass

static void processByClass(Collection wtColl,
                           Utilities.PerClassProcessor processor,
                           Class[] requiredInterfaces)
                    throws WTException
Throws:
WTException

processByClass

static void processByClass(Collection wtColl,
                           Utilities.PerClassProcessor processor,
                           Class[] requiredInterfaces,
                           Class[] excludedInterfaces)
                    throws WTException
Throws:
WTException

processByClassMastersSeparate

static void processByClassMastersSeparate(Collection wtColl,
                                          Utilities.PerClassCollectionProcessorMastersSeparate processor,
                                          Class[] requiredInterfaces)
                                   throws WTException
Throws:
WTException

getReferencedClasses

static Set getReferencedClasses(Collection refColl,
                                boolean ignoreNullClassRefs)

getIdsToReferencesMap

static Map getIdsToReferencesMap(Collection referencesColl)
Create map of ids (as Longs) to ObjectReferences and VersionReferences in 'referencesColl'.


getReferencesFromIdResults

static Set getReferencesFromIdResults(QueryResult idResults,
                                      Map idsToReferences,
                                      Collection inputRefColl)
Given a query result containing object and/or branch ids, 'idResults', returns a WTSet of the corresponding references in 'idsToReferences'. Note that it is assumed that each id in 'idResults' is represented by a reference in 'idsToReferences'. Also note that the query result may contain additional columns which are not object or branch ids, but these must be preceded by sufficient id columns to allow each row to be identified in 'idsToReferences'.

'inputRefColl' is used to determine the type of Set to return here. An appropriate WTSet is returned where the input is a WTCollection.


addReferenceToIdResults

static void addReferenceToIdResults(Set resultRefs,
                                    QueryResult idResults,
                                    Map idsToReferences)

appendStringAttrInListCriteria

static void appendStringAttrInListCriteria(QuerySpec querySpec,
                                           Class fromClass,
                                           int fromIdx,
                                           String attrName,
                                           Collection attrValuesColl)
                                    throws WTException
Throws:
WTException

appendObjIdListCriteria

static void appendObjIdListCriteria(QuerySpec querySpec,
                                    int objectFromIdx,
                                    long[] objectIds,
                                    boolean inList)
                             throws WTException
Throws:
WTException

appendOrgIdCriteria

static void appendOrgIdCriteria(QuerySpec querySpec,
                                Class fromClass,
                                int fromIdx,
                                WTPrincipalReference orgRef)
                         throws WTException
Throws:
WTException

appendIdCriteriaWithNullIdHandling

static void appendIdCriteriaWithNullIdHandling(QuerySpec querySpec,
                                               ClassAttribute idAttr,
                                               int fromIdx,
                                               long idValue)
                                        throws WTException
Throws:
WTException

appendWorkableVersionedContainedFromExpr

static int appendWorkableVersionedContainedFromExpr(QuerySpec querySpec,
                                                    boolean useClassViewExpression)
                                             throws WTException
Creates and adds from expression appropriate for an object that is Workable, OneOffVersioned, and Contained returning the from expression index. If useClassViewExpression is true, a ClassViewExpression is used, otherwise a ClassTableExpression is used.

Throws:
WTException

appendWorkableVersionedContainedFromExpr

static int appendWorkableVersionedContainedFromExpr(QuerySpec querySpec,
                                                    boolean useClassViewExpression,
                                                    Collection classesToLimitTo)
                                             throws WTException
Same as other call signature but limits query to a given set of classes (tables), unless 'classesToLimitTo' is null in which case this routine reverts to the other call signature's behavior.

Throws:
WTException

getWorkableVersionedContainedClasses

static Class[] getWorkableVersionedContainedClasses()

createWorkableVersionedContainedFromExpr

private static AbstractClassTableExpression createWorkableVersionedContainedFromExpr(QuerySpec querySpec,
                                                                                     boolean useClassViewExpression,
                                                                                     Collection otherAdditionalInterfaces,
                                                                                     Collection classesToLimitTo)
                                                                              throws WTException
Throws:
WTException

appendWVCBaselineableFromExpr

static int appendWVCBaselineableFromExpr(QuerySpec querySpec,
                                         boolean useClassViewExpression)
                                  throws WTException
Throws:
WTException

appendWVCBaselineableFromExpr

static int appendWVCBaselineableFromExpr(QuerySpec querySpec,
                                         boolean useClassViewExpression,
                                         Collection classesToLimitTo)
                                  throws WTException
Throws:
WTException

appendBaselineMemberFromExpr

static int appendBaselineMemberFromExpr(QuerySpec querySpec,
                                        boolean useClassViewExpression)
                                 throws WTException
Placeholder for any special logic we might wish; also allows easier switching between view and table expressions

Throws:
WTException

appendFromNoSelectNoDescendants

static int appendFromNoSelectNoDescendants(QuerySpec querySpec,
                                           Class queryClass)
                                    throws WTException
Throws:
WTException

appendFromWithSelectNoDescendants

static int appendFromWithSelectNoDescendants(QuerySpec querySpec,
                                             Class queryClass)
                                      throws WTException
Throws:
WTException

appendIdColumnsToSelectAsNeeded

static void appendIdColumnsToSelectAsNeeded(QuerySpec querySpec,
                                            int fromIdx,
                                            long[] objectIds,
                                            long[] branchIds)
                                     throws WTException
Throws:
WTException

appendContainingContainerRefToSelect

static void appendContainingContainerRefToSelect(QuerySpec querySpec,
                                                 int containedFromIdx)
                                          throws WTException
Throws:
WTException

appendInObjOrVerIdsCriteria

static void appendInObjOrVerIdsCriteria(QuerySpec querySpec,
                                        int objectFromIdx,
                                        Class refClass,
                                        long[] objectIds,
                                        long[] branchIds)
                                 throws WTException
Add the following query criteria to a query spec: ( OBJ.thePersistInfo.theObjectIdentifier.id in {objectIds} or ( OBJ.iterationInfo.branchId in {branchIds} and OBJ.iterationInfo.latest = 1 ) ) where either criteria will automatically be dropped if there are no corresponding ids.

Note this routine does not assume (and thus provide) a boolean conjunction preceding these criteria.

Throws:
WTException

appendBranchIdListCriteria

static void appendBranchIdListCriteria(QuerySpec querySpec,
                                       int objectFromIdx,
                                       long[] branchIds,
                                       boolean inList)
                                throws WTException
Throws:
WTException

appendSandboxCheckoutLinkCriteria

static void appendSandboxCheckoutLinkCriteria(QuerySpec querySpec,
                                              int originalCopyFromIdx,
                                              int workingCopyFromIdx,
                                              int sandboxCheckoutLinkIdx)
                                       throws WTException
Throws:
WTException

appendSandboxCheckoutLinkOriginalCopyCriteria

static void appendSandboxCheckoutLinkOriginalCopyCriteria(QuerySpec querySpec,
                                                          int originalCopyFromIdx,
                                                          int sandboxCheckoutLinkIdx)
                                                   throws WTException
Throws:
WTException

appendSandboxCheckoutLinkWorkingCopyCriteria

static void appendSandboxCheckoutLinkWorkingCopyCriteria(QuerySpec querySpec,
                                                         int workingCopyFromIdx,
                                                         int sandboxCheckoutLinkIdx)
                                                  throws WTException
Throws:
WTException

appendSandboxCheckoutLinkOriginalCopyObjectIdCriteria

static void appendSandboxCheckoutLinkOriginalCopyObjectIdCriteria(QuerySpec querySpec,
                                                                  int sandboxCheckoutLinkIdx,
                                                                  long originalCopyId)
                                                           throws WTException
Throws:
WTException

appendOwnerIdCriteria

static void appendOwnerIdCriteria(QuerySpec querySpec,
                                  Class fromClass,
                                  int fromIdx,
                                  long principalID,
                                  boolean equal)
                           throws WTException
Throws:
WTException

appendLockerIdCriteria

static void appendLockerIdCriteria(QuerySpec querySpec,
                                   Class fromClass,
                                   int fromIdx,
                                   long principalID)
                            throws WTException
Throws:
WTException

appendSandboxCheckoutLinkWorkingBranchIdCriteria

static void appendSandboxCheckoutLinkWorkingBranchIdCriteria(QuerySpec querySpec,
                                                             int sandboxCheckoutLinkIdx,
                                                             long workingCopyBranchId)
                                                      throws WTException
Throws:
WTException

appendSandboxCheckinLinkCriteria

static void appendSandboxCheckinLinkCriteria(QuerySpec querySpec,
                                             int sandboxCopyFromIdx,
                                             int checkedInCopyFromIdx,
                                             int sandboxCheckinLinkIdx)
                                      throws WTException
Throws:
WTException

appendSandboxCheckinLinkSandboxCopyCriteria

static void appendSandboxCheckinLinkSandboxCopyCriteria(QuerySpec querySpec,
                                                        int sandboxCopyFromIdx,
                                                        int sandboxCheckinLinkIdx)
                                                 throws WTException
Throws:
WTException

appendSandboxCheckinLinkCheckedInCopyCriteria

static void appendSandboxCheckinLinkCheckedInCopyCriteria(QuerySpec querySpec,
                                                          int checkedInCopyFromIdx,
                                                          int sandboxCheckinLinkIdx)
                                                   throws WTException
Throws:
WTException

appendSandboxCheckinLinkCheckedinIdCriteria

static void appendSandboxCheckinLinkCheckedinIdCriteria(QuerySpec querySpec,
                                                        int sandboxCheckinLinkIdx,
                                                        long checkedInCopyObjectId)
                                                 throws WTException
Throws:
WTException

appendSandboxCheckinLinkSandboxCopyIdCriteria

static void appendSandboxCheckinLinkSandboxCopyIdCriteria(QuerySpec querySpec,
                                                          int sandboxCheckinLinkIdx,
                                                          long sandboxCopyObjectId)
                                                   throws WTException
Throws:
WTException

appendWorkInProgressStateCriteria

static void appendWorkInProgressStateCriteria(QuerySpec querySpec,
                                              int workableFromIdx,
                                              WorkInProgressState wipState,
                                              String conditionOperator)
                                       throws WTException
Throws:
WTException

appendContainingContainerIdCriteria

static void appendContainingContainerIdCriteria(QuerySpec querySpec,
                                                int containedFromIdx,
                                                long containerId)
                                         throws WTException
Throws:
WTException

appendContainingContainerIdInCriteria

static void appendContainingContainerIdInCriteria(QuerySpec querySpec,
                                                  int containedFromIdx,
                                                  long[] containerIds)
                                           throws WTException
Throws:
WTException

appendLatestIterationCriteria

static void appendLatestIterationCriteria(QuerySpec querySpec,
                                          int iteratedFromIdx)
                                   throws WTException
Throws:
WTException

appendCreatorIdCriteria

static void appendCreatorIdCriteria(QuerySpec querySpec,
                                    int iteratedFromIdx,
                                    long principalId)
                             throws WTException
Throws:
WTException

appendLockerIdCriteria

static void appendLockerIdCriteria(QuerySpec querySpec,
                                   int lockableFromIdx,
                                   long principalId)
                            throws WTException
Throws:
WTException

appendBaselineMemberCriteria

static void appendBaselineMemberCriteria(QuerySpec querySpec,
                                         int baselineableFromIdx,
                                         int baselineMemberFromIdx)
                                  throws WTException
Throws:
WTException

appendBaselineIdCriteria

static void appendBaselineIdCriteria(QuerySpec querySpec,
                                     int baselineMemberFromIdx,
                                     long baselineId)
                              throws WTException
Throws:
WTException

appendShareMapTargetContainerCriteria

static void appendShareMapTargetContainerCriteria(QuerySpec querySpec,
                                                  int containedFromIdx,
                                                  int sharedContainerMapFromIdx)
                                           throws WTException
Throws:
WTException

appendIteratedControlBranchCriteria

static void appendIteratedControlBranchCriteria(QuerySpec querySpec,
                                                int iteratedFromIdx,
                                                int controlBranchFromIdx)
                                         throws WTException
Throws:
WTException

appendControlBranchPredShareMapBranchCriteria

static void appendControlBranchPredShareMapBranchCriteria(QuerySpec querySpec,
                                                          int controlBranchFromIdx,
                                                          int sharedContainerMapFromIdx)
                                                   throws WTException
Throws:
WTException

appendIteratedMasterIdsCriteria

static void appendIteratedMasterIdsCriteria(QuerySpec querySpec,
                                            int iteratedFromIdx,
                                            long[] masterIds)
                                     throws WTException
Throws:
WTException

appendSameMasterCriteria

static void appendSameMasterCriteria(QuerySpec querySpec,
                                     int iteratedIdx1,
                                     int iteratedIdx2)
                              throws WTException
Throws:
WTException

appendSameBranchCriteria

static void appendSameBranchCriteria(QuerySpec querySpec,
                                     int iteratedIdx1,
                                     int iteratedIdx2)
                              throws WTException
Throws:
WTException

appendMasterKeyJoinCriteria

static void appendMasterKeyJoinCriteria(QuerySpec querySpec,
                                        int masterFromIdx,
                                        int semanticKeyFromIdx)
                                 throws WTException
Throws:
WTException

appendKeyNamespaceCriteria

static void appendKeyNamespaceCriteria(QuerySpec querySpec,
                                       int semanticKeyFromIdx,
                                       WTContainerRef namespaceRef)
                                throws WTException
Throws:
WTException

appendBinaryCorrelatedJoin

static void appendBinaryCorrelatedJoin(QuerySpec subSelectSpec,
                                       SearchCondition condition,
                                       QuerySpec qs1,
                                       int fromIdx1,
                                       QuerySpec qs2,
                                       int fromIdx2)
                                throws WTException
Throws:
WTException

queryNoExcludeMarkedForDelete

static QueryResult queryNoExcludeMarkedForDelete(QuerySpec querySpec)
                                          throws WTException
Throws:
WTException

getSinglePersistableFromQueryResult

static Persistable getSinglePersistableFromQueryResult(QueryResult result)

applyNetFactorProperty

static void applyNetFactorProperty(NetFactor obj,
                                   String beanPropertyName,
                                   Object beanPropertyValue)
                            throws WTException,
                                   WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getBeanProp

static Object getBeanProp(NetFactor tplObj,
                          String propName)

getOrganizationReference

static WTPrincipalReference getOrganizationReference(WTContainerRef containerRef)
                                              throws WTException
Determines target organization to use based on a container reference.

Throws:
WTException

getDefaultFolder

static Folder getDefaultFolder(WTContainerRef containerRef)
Determines default folder to use based on a container reference.


getDomain

static AdminDomainRef getDomain(WTContainerRef containerRef,
                                Folder inputFolder)
Determines folder and then domain from it if possible; if not returns container's default domain.


hasContainerOf

static boolean hasContainerOf(Persistable pObj,
                              WTContainerRef containerRef)

hasOrgOf

static boolean hasOrgOf(Persistable pObj,
                        WTPrincipalReference orgRef)

wtRefsAreEqual

static boolean wtRefsAreEqual(WTReference objRef1,
                              WTReference objRef2)

isInstanceOf

static boolean isInstanceOf(Object obj,
                            Class[] baseClasses)

classIsAssignableFrom

static boolean classIsAssignableFrom(Class cls,
                                     Class[] baseClasses)

getDefaultCabinet

private static Folder getDefaultCabinet(WTContainer container,
                                        boolean bypassAccessControl)

getNamespace

static WTContainer getNamespace(WTContained contained,
                                boolean bypassAccessControl)
                         throws WTException
Throws:
WTException

getTargetNamespaceRef

static WTContainerRef getTargetNamespaceRef(WTContainerRef targetContainerRef,
                                            Class objClass,
                                            boolean bypassAccessControl)
                                     throws WTException
Throws:
WTException

getTargetNamespace

static WTContainer getTargetNamespace(WTContainer targetContainer,
                                      Class objClass,
                                      boolean bypassAccessControl)
                               throws WTException
Throws:
WTException

findFolderContents

static QueryResult findFolderContents(Folder folder,
                                      Class contentClass,
                                      boolean bypassAccessControl)
                               throws WTException
Throws:
WTException

findSubFolders

static QueryResult findSubFolders(Folder folder,
                                  boolean bypassAccessControl)
                           throws WTException
Throws:
WTException

getContainer

static WTContainer getContainer(WTContainerRef containerRef,
                                boolean bypassAccessControl)

getContainer

static WTContainer getContainer(WTContainer childContainer,
                                boolean bypassAccessControl)

getOrgContainer

static OrgContainer getOrgContainer(WTContainer origContainer,
                                    boolean bypassAccessControl)
                             throws WTException
Throws:
WTException

getFolder

static Folder getFolder(Foldered foldered,
                        boolean bypassAccessControl)
                 throws WTException
Throws:
WTException

getFolderedToFolderMap

static Map getFolderedToFolderMap(Collection folderedObjs,
                                  boolean bypassAccessControl,
                                  boolean inflateFolders)
                           throws WTException
Throws:
WTException

getFolderedToFolderMap

static WTValuedMap getFolderedToFolderMap(WTCollection folderedObjs,
                                          boolean bypassAccessControl)
                                   throws WTException
Throws:
WTException

shareVersionsNoAcl

static void shareVersionsNoAcl(WTCollection pdmCopies,
                               WTContainerRef targetContainer,
                               Folder targetFolder)
                        throws WTException
Throws:
WTException