|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.uwgm.common.folder.FakeFolderHelper
Nested Class Summary | |
private static class |
FakeFolderHelper.TopFolderDefinition
internal data structure to make top folders |
Field Summary | |
private static FakeFolderHelper.TopFolderDefinition[] |
FOLDER_DEFINITIONS
top folder definition table |
private static Log |
log
logging |
Constructor Summary | |
FakeFolderHelper()
|
Method Summary | |
static String |
getPropertyPageURL(FakeFolder fakeFolder,
WTPrincipal principal)
returns PropertyPageURL for FakeFolder |
static FakeFolder[] |
getTopFolders(WTPrincipal principal)
returns an array of FakeFolders to represent TopFolders |
private static boolean |
isTopFolderNeeded(WTPrincipal principal,
ContainerType containerType)
checks whether FakeFolder is needed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final FakeFolderHelper.TopFolderDefinition[] FOLDER_DEFINITIONS
private static Log log
Constructor Detail |
public FakeFolderHelper()
Method Detail |
public static FakeFolder[] getTopFolders(WTPrincipal principal)
principal
- WTPrincipal
private static boolean isTopFolderNeeded(WTPrincipal principal, ContainerType containerType)
TopFolder is needed when user has access to at least one container of that type or has created at least one workspace for Workspaces top folder
principal
- WTPrincipalcontainerType
- ContainerType
public static String getPropertyPageURL(FakeFolder fakeFolder, WTPrincipal principal) throws WTException
fakeFolder
- FakeFolderprincipal
- WTPrincipal
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |