|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.ptlink.PTURLConstants com.plumtree.portaluiinfrastructure.ptlink.APTURL com.plumtree.portaluiinfrastructure.ptlink.FullURL
public class FullURL
Full URL type
Field Summary | |
---|---|
static java.lang.String |
KEY_FULLURL_BASEURL
Baseurl |
static java.lang.String |
KEY_FULLURL_FULLURL
The Full URL |
static java.lang.String |
KEY_FULLURL_URI
URI |
protected java.lang.String |
m_strBaseURL
|
protected java.lang.String |
m_strURI
|
static java.lang.String |
URL_TYPE_FULLURL
URL Type. |
Fields inherited from class com.plumtree.portaluiinfrastructure.ptlink.APTURL |
---|
m_children, m_ClassID, m_IconAlt, m_IconHeight, m_IconImg, m_IconWidth, m_jsaction, m_listParamNames, m_listParamValues, m_MarkedAsCurrent, m_nonControlParamNames, m_nonControlParamValues, m_ObjectID, m_Title |
Fields inherited from class com.plumtree.portaluiinfrastructure.ptlink.PTURLConstants |
---|
KEY_CLASSID, KEY_CURRENTMARKER, KEY_FULLURL, KEY_ICONIMG, KEY_ICONIMGALT, KEY_ICONIMGHEIGHT, KEY_ICONIMGWIDTH, KEY_JAVASCRIPT_ACTION, KEY_OBJECTID, KEY_PARAMS, KEY_TITLE, KEY_URI, KEY_URLTYPE |
Constructor Summary | |
---|---|
FullURL(java.lang.String strTitle,
java.lang.String strFullURL)
|
Method Summary | |
---|---|
java.lang.String |
GetData(java.lang.String strKey)
Supports the following keys (although not all keys might be set on every URL): PTURLConstants.KEY_FULLURL
PTURLConstants.KEY_URI
PTURLConstants.KEY_TITLE
PTURLConstants.KEY_ICONIMG
PTURLConstants.KEY_ICONIMGWIDTH
PTURLConstants.KEY_ICONIMGHEIGHT
PTURLConstants.KEY_ICONIMGALT
PTURLConstants.KEY_CURRENTMARKER
PTURLConstants.KEY_OBJECTID
PTURLConstants.KEY_CLASSID
KEY_PARAMS
It is also possible to retrieve the value of specific querystring or non-control parameters
by passing in the name of the parameter as the key
E.g. |
java.lang.String |
GetFullURL()
Returns the entire URL with http:// and server name E.g http://portalserver/portal/server.pt |
java.lang.String |
GetURI()
Returns the URI, the part of the URL after sever name E.g /portal/server.pt |
Methods inherited from class com.plumtree.portaluiinfrastructure.ptlink.APTURL |
---|
AddControlParameter, AddControlParameter, AddNonControlParameter, GetHierData, SetHierData, SetURLData, SetURLImageType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KEY_FULLURL_FULLURL
public static final java.lang.String KEY_FULLURL_BASEURL
public static final java.lang.String KEY_FULLURL_URI
public static final java.lang.String URL_TYPE_FULLURL
protected java.lang.String m_strBaseURL
protected java.lang.String m_strURI
Constructor Detail |
---|
public FullURL(java.lang.String strTitle, java.lang.String strFullURL)
strTitle
- strFullURL
- URL, null URLs are acceptedMethod Detail |
---|
public java.lang.String GetFullURL()
APTURL
GetFullURL
in interface IPTURL
GetFullURL
in class APTURL
IPTURL.GetFullURL()
public java.lang.String GetURI()
APTURL
GetURI
in interface IPTURL
GetURI
in class APTURL
IPTURL.GetURI()
public java.lang.String GetData(java.lang.String strKey)
APTURL
PTURLConstants.KEY_FULLURL
PTURLConstants.KEY_URI
PTURLConstants.KEY_TITLE
PTURLConstants.KEY_ICONIMG
PTURLConstants.KEY_ICONIMGWIDTH
PTURLConstants.KEY_ICONIMGHEIGHT
PTURLConstants.KEY_ICONIMGALT
PTURLConstants.KEY_CURRENTMARKER
PTURLConstants.KEY_OBJECTID
PTURLConstants.KEY_CLASSID
KEY_PARAMS
It is also possible to retrieve the value of specific querystring or non-control parameters
by passing in the name of the parameter as the key
E.g.
To get the value of param1 in the URL below, pass in 'param1' (without the quotes )as the key.
http://www.servername.com/portal/server.pt?param1=value1¶m2=value2¶m3=value3
GetData
in interface IDataObject
GetData
in class APTURL
strKey
- The key for the requested data
IDataObject.GetData(java.lang.String)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |