|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.netuix.application.identifier.DesktopDefinitionId
public class DesktopDefinitionId
The DesktopDefinitionId is the webapp name, portal path, and desktop path together that uniquely identifies a portal desktop. They are used in the url of a customized portal desktop.
An example of what the DesktopDefinitionId
is can be derived from the example url below.
http://host:port/webappName/appmanager/portalPath/desktopPath
The DesktopDefinitionId
is the aggregation of the webappName, portalPath, and desktopPath from the url above.
Field Summary |
---|
Fields inherited from interface com.bea.netuix.application.identifier.TemplateId |
---|
NO_ID |
Constructor Summary | |
---|---|
DesktopDefinitionId(String webAppName, PortalPath portalPath, DesktopPath desktopPath) |
Method Summary | |
---|---|
protected Object |
clone() |
static DesktopDefinitionId |
clone(DesktopDefinitionId desktopDefinitionId) |
static DesktopDefinitionId |
createDesktopDefinitionId(String webAppName, String portalPathStr, String desktopPathStr) |
boolean |
equals(Object o) |
DesktopPath |
getDesktopPath() |
int |
getId() Returns the unique identifier for this template |
PortalPath |
getPortalPath() |
String |
getWebAppName() |
int |
hashCode() |
void |
setDesktopPath(DesktopPath desktopPath) |
void |
setPortalPath(PortalPath portalPath) |
void |
setWebAppName(String webAppName) |
String |
toString() |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DesktopDefinitionId(String webAppName, PortalPath portalPath, DesktopPath desktopPath)
webAppName
- the name of the webapp where this desktop will reside.portalPath
- the part of the url that identifies this portal.desktopPath
- the part of the url that identifies this desktop.Method Detail |
---|
public String getWebAppName()
public void setWebAppName(String webAppName)
webAppName
- the webapp name where the desktop resides.public PortalPath getPortalPath()
PortalPath
that is basically a string representing a part of the url for the customized portal desktop.public void setPortalPath(PortalPath portalPath)
portalPath
- an object representing a part of the url for the customized portal desktop.public DesktopPath getDesktopPath()
DesktopPath
that is basically a string representing a part of the url for the customized portal desktop.public void setDesktopPath(DesktopPath desktopPath)
desktopPath
- an object representing a part of the url for the customized portal desktop.public boolean equals(Object o)
equals
in class Object
o
- a DesktopDefinitionId
object to compare to this DesktopDefinitionId
.true
if this DesktopDefinitionId
is the same as the DesktopDefinitionId
object passed in; false
otherwise.public int hashCode()
hashCode
in class Object
public static DesktopDefinitionId createDesktopDefinitionId(String webAppName, String portalPathStr, String desktopPathStr)
webAppName
- the name of the webapp where this desktop will reside.portalPathStr
- the part of the url that identifies this portal.desktopPathStr
- the part of the url that identifies this desktop.DesktopDefinitionId
with the webapp name, portal path, and desktop path set to the values passed in.public static DesktopDefinitionId clone(DesktopDefinitionId desktopDefinitionId)
desktopDefinitionId
- the DesktopDefinitionId
to clone.DesktopDefinitionId
with the exact same parameters as the DesktopDefinitionId
passed in.protected Object clone()
clone
in class Object
DesktopDefinitionId
with the exact same parameters as this DesktopDefinitionId
.public String toString()
toString
in class Object
PortalPath
and DesktopPath
appended.public int getId()
TemplateId
getId
in interface TemplateId
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.