wt.folder
Class FolderHierarchy
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
wt.folder.FolderHierarchy
- All Implemented Interfaces:
- Cloneable, Collection, List, RandomAccess, RemoteAccess, Serializable
- public class FolderHierarchy
- extends ArrayList
- implements RemoteAccess
- See Also:
- Serialized Form
Fields inherited from class java.util.ArrayList |
|
Method Summary |
void |
addContentItems()
|
void |
addContentItemsNew()
|
void |
addDeliverables()
|
static void |
addDeliverables(ArrayList revisioncontrolled)
|
private void |
addFolder(Folder child,
Folder parent,
boolean setShared,
ArrayList qrlist,
SharedContainerMap scm)
|
void |
addHasPostings()
|
private void |
addMembers(ArrayList memberLinks)
|
void |
addPenginChanges()
|
void |
addRepresentations()
|
private void |
addRepresentations(Class theClass)
|
void |
addSharedFrom()
|
void |
addWfProcessState()
|
static void |
addWfProcessState(ArrayList revisioncontrolled)
|
Enumeration |
entries()
|
Enumeration |
entriesNonSorted()
|
private ArrayList |
getFolderEntryInfoByInterface(ArrayList objArray,
FolderHierarchy fh,
Class iface)
|
static FolderHierarchy |
getFolderHierarchy(FolderHierarchy hier,
Folder folder)
|
private ArrayList |
getFolderMemberLinks(ArrayList v)
|
private ArrayList |
getIteratedFolderMemberLinks(ArrayList v)
|
SharedContainerMap |
getShareMap()
|
Folder |
getTheFolder()
|
boolean |
isSharedFrom()
|
boolean |
isSharedTo()
|
ArrayList |
list(ArrayList l)
|
static void |
main(String[] argz)
|
static void |
queryPostings(ArrayList v,
Class ifc)
|
void |
setRecursiveSharedFrom(Object obj,
SharedContainerMap scm)
|
void |
setSharedFrom(boolean flag)
|
private void |
setSharedFrom(SharedContainerMap scm,
FolderHierarchy fh)
|
void |
setSharedTo(boolean flag)
|
void |
setShareMap(SharedContainerMap a_shareMap)
|
private static HashMap |
sortLinksByRoleBClass(ArrayList links)
|
String |
toString()
|
static void |
Traverse(String cabinet)
|
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
sql
private static final String sql
- See Also:
- Constant Field Values
CHUNKSIZE
private static final int CHUNKSIZE
- See Also:
- Constant Field Values
OID
private static final String OID
- See Also:
- Constant Field Values
ROLE_A
private static final String ROLE_A
- See Also:
- Constant Field Values
ROLE_B
private static final String ROLE_B
- See Also:
- Constant Field Values
theFolder
protected Folder theFolder
nestingLevel
private int nestingLevel
sharedTo
private boolean sharedTo
sharedFrom
private boolean sharedFrom
shareMap
private SharedContainerMap shareMap
FOLDERS_ONLY
public boolean FOLDERS_ONLY
PARTS_ONLY
public boolean PARTS_ONLY
DOCS_ONLY
public boolean DOCS_ONLY
LINKS_ONLY
public boolean LINKS_ONLY
FolderHierarchy
public FolderHierarchy()
FolderHierarchy
public FolderHierarchy(Folder folder)
FolderHierarchy
public FolderHierarchy(Folder folder,
boolean foldersOnly,
boolean partsOnly,
boolean docsOnly,
boolean linksOnly)
getFolderHierarchy
public static FolderHierarchy getFolderHierarchy(FolderHierarchy hier,
Folder folder)
addFolder
private void addFolder(Folder child,
Folder parent,
boolean setShared,
ArrayList qrlist,
SharedContainerMap scm)
getFolderMemberLinks
private ArrayList getFolderMemberLinks(ArrayList v)
getIteratedFolderMemberLinks
private ArrayList getIteratedFolderMemberLinks(ArrayList v)
sortLinksByRoleBClass
private static HashMap sortLinksByRoleBClass(ArrayList links)
addMembers
private void addMembers(ArrayList memberLinks)
getFolderEntryInfoByInterface
private ArrayList getFolderEntryInfoByInterface(ArrayList objArray,
FolderHierarchy fh,
Class iface)
setSharedFrom
private void setSharedFrom(SharedContainerMap scm,
FolderHierarchy fh)
addContentItems
public void addContentItems()
throws WTException,
PropertyVetoException
- Throws:
WTException
PropertyVetoException
addContentItemsNew
public void addContentItemsNew()
throws WTException,
PropertyVetoException
- Throws:
WTException
PropertyVetoException
addWfProcessState
public void addWfProcessState()
throws WTException
- Throws:
WTException
addWfProcessState
public static void addWfProcessState(ArrayList revisioncontrolled)
throws WTException
- Throws:
WTException
addDeliverables
public void addDeliverables()
throws WTException
- Throws:
WTException
addDeliverables
public static void addDeliverables(ArrayList revisioncontrolled)
throws WTException
- Throws:
WTException
queryPostings
public static void queryPostings(ArrayList v,
Class ifc)
addRepresentations
public void addRepresentations()
throws WTException
- Throws:
WTException
addRepresentations
private void addRepresentations(Class theClass)
throws WTException
- Throws:
WTException
addPenginChanges
public void addPenginChanges()
throws WTException
- Throws:
WTException
addHasPostings
public void addHasPostings()
throws WTException
- Throws:
WTException
addSharedFrom
public void addSharedFrom()
throws WTException
- Throws:
WTException
toString
public String toString()
setRecursiveSharedFrom
public void setRecursiveSharedFrom(Object obj,
SharedContainerMap scm)
entries
public Enumeration entries()
entriesNonSorted
public Enumeration entriesNonSorted()
list
public ArrayList list(ArrayList l)
Traverse
public static void Traverse(String cabinet)
getTheFolder
public Folder getTheFolder()
isSharedFrom
public boolean isSharedFrom()
setSharedFrom
public void setSharedFrom(boolean flag)
isSharedTo
public boolean isSharedTo()
setSharedTo
public void setSharedTo(boolean flag)
setShareMap
public void setShareMap(SharedContainerMap a_shareMap)
getShareMap
public SharedContainerMap getShareMap()
main
public static void main(String[] argz)