|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.uwgm.common.folder.FakeFolder
FakeFolder represent Top level "fake" folders and some other virtual locations
Field Summary | |
static String |
CLASSNAME
class name |
private ContainerType |
containerType
associated container type or null |
private static String |
FOLDER_RB
resource bundle |
private int |
id
internal folder ID |
private String |
internalName
internal folder name |
private String |
l10nCode
lolization code |
static FakeFolder |
LIBRARIES
fake top level subfolder to represent PDMLink Libraries |
private static Log |
log
logging |
private static Map |
oidFolderMap
mapping between FakeFolder ObjectIdentifier and FakeFolder object |
static FakeFolder |
ORGANIZATION
fake top level subfolder to represent Organizations |
static FakeFolder |
PRODUCTS
fake top level subfolder to represent PDMLink Products |
static FakeFolder |
PROJECTS
fake top level subfolder to represent ProjectLink Projects |
static FakeFolder |
ROOT
fake folder to represent a ROOT ("/") folder |
static FakeFolder |
SECURED_LOCATION
fake folder to represent a secured location (user is not authorized to access the folder |
static FakeFolder |
SITE
fake top level subfolder to represent Site |
static FakeFolder |
WINDCHILL_PDM
fake top level subfolder to represent Windchill PDM container (Classic) |
static FakeFolder |
WORKSPACES
fake top level subfolder to represent Workspaces |
Constructor Summary | |
private |
FakeFolder(int id,
String internalName,
String l10nCode,
ContainerType containerType)
private internal constructor |
Method Summary | |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
static FakeFolder |
findByName(String localizedName,
Locale locale)
finds FakeFolder by it's localized name |
ContainerType |
getContainerType()
returns associated ContainerType or null if n/a |
static FakeFolder |
getFakeFolder(ObjectIdentifier oid)
returns FakeFolder by Fake ObjectIdentifier |
String |
getLocalizedName(Locale locale)
returns localized fake folder name to show in UI |
ObjectIdentifier |
getObjectIdentifier()
returns fake ObjectIdentifier for FakeFolder |
String |
getObjectIdentifierAsString()
returns FakeFolder ObjectIdentifier as String |
int |
hashCode()
Returns a hash code value for the object. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final FakeFolder SECURED_LOCATION
public static final FakeFolder ROOT
public static final FakeFolder WORKSPACES
public static final FakeFolder SITE
public static final FakeFolder ORGANIZATION
public static final FakeFolder WINDCHILL_PDM
public static final FakeFolder PROJECTS
public static final FakeFolder PRODUCTS
public static final FakeFolder LIBRARIES
private static final Map oidFolderMap
public static final String CLASSNAME
private final int id
private final String internalName
private final String l10nCode
private final ContainerType containerType
private static final String FOLDER_RB
private static Log log
Constructor Detail |
private FakeFolder(int id, String internalName, String l10nCode, ContainerType containerType)
id
- intinternalName
- StringMethod Detail |
public ObjectIdentifier getObjectIdentifier()
WTException
public String getObjectIdentifierAsString() throws WTException
WTException
public String getLocalizedName(Locale locale)
locale
- Locale
public ContainerType getContainerType()
ContainerType
or null
if n/a
public boolean equals(Object obj)
obj
- the reference object with which to compare.
true
if this object is the same as the obj argument; false
otherwise.public int hashCode()
public String toString()
public static FakeFolder getFakeFolder(ObjectIdentifier oid)
oid
- ObjectIdentifier
public static FakeFolder findByName(String localizedName, Locale locale)
localizedName
- Stringlocale
- Locale
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |