|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.netuix.application.definition.PortalResource
Field Summary | |
static byte |
DEFAULT_DESKTOP_RESOURCE
|
static byte |
DESKTOP_RESOURCE
|
static byte |
PORTAL_RESOURCE
|
Constructor Summary | |
PortalResource(byte resource_type,
String resource,
String userName,
Locale locale)
Ctor. |
|
PortalResource(String resource,
Locale locale)
Ctor. |
Method Summary | |
boolean |
equals(Object o)
|
Locale |
getLocale()
Returns preferred locale for this resource. |
String |
getResource()
Returns the resource in string form. |
byte |
getType()
Returns resource type for this PortalResource Use this method to determine the type of resource this object encapsulates before calling getResource |
String |
getUserName()
Returns user name. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final byte DESKTOP_RESOURCE
public static final byte DEFAULT_DESKTOP_RESOURCE
public static final byte PORTAL_RESOURCE
Constructor Detail |
public PortalResource(byte resource_type, String resource, String userName, Locale locale)
resource_type
- one of DESKTOP_RESOURCE
DEFAULT_DESKTOP_RESOURCE
or
PORTAL_RESOURCE
resource
- portal resource in string formuserName
- user that this resource is tied to, can be nulllocale
- the locale of this resourcepublic PortalResource(String resource, Locale locale)
resource
- portal resource in string formlocale
- the locale of this resourceMethod Detail |
public byte getType()
public String getResource()
public String getUserName()
public Locale getLocale()
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |