com.plumtree.portaluiinfrastructure.ptlink
Class FullURL

java.lang.Object
  extended by com.plumtree.portaluiinfrastructure.ptlink.PTURLConstants
      extended by com.plumtree.portaluiinfrastructure.ptlink.APTURL
          extended by com.plumtree.portaluiinfrastructure.ptlink.FullURL
All Implemented Interfaces:
IPTURL, IDataObject

public class FullURL
extends APTURL
implements IDataObject

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_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, SetURLData, SetURLImageType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_FULLURL_FULLURL

public static final java.lang.String KEY_FULLURL_FULLURL
The Full URL

See Also:
Constant Field Values

KEY_FULLURL_BASEURL

public static final java.lang.String KEY_FULLURL_BASEURL
Baseurl

See Also:
Constant Field Values

KEY_FULLURL_URI

public static final java.lang.String KEY_FULLURL_URI
URI

See Also:
Constant Field Values

URL_TYPE_FULLURL

public static final java.lang.String URL_TYPE_FULLURL
URL Type.

See Also:
Constant Field Values

m_strBaseURL

protected java.lang.String m_strBaseURL

m_strURI

protected java.lang.String m_strURI
Constructor Detail

FullURL

public FullURL(java.lang.String strTitle,
               java.lang.String strFullURL)
Parameters:
strTitle -
strFullURL - URL, null URLs are accepted
Method Detail

GetFullURL

public java.lang.String GetFullURL()
Description copied from class: APTURL
Returns the entire URL with http:// and server name E.g http://portalserver/portal/server.pt

Specified by:
GetFullURL in interface IPTURL
Specified by:
GetFullURL in class APTURL
See Also:
IPTURL.GetFullURL()

GetURI

public java.lang.String GetURI()
Description copied from class: APTURL
Returns the URI, the part of the URL after sever name E.g /portal/server.pt

Specified by:
GetURI in interface IPTURL
Specified by:
GetURI in class APTURL
See Also:
IPTURL.GetURI()

GetData

public java.lang.String GetData(java.lang.String strKey)
Description copied from class: APTURL
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. 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

Specified by:
GetData in interface IDataObject
Overrides:
GetData in class APTURL
Parameters:
strKey - The key for the requested data
Returns:
String The requested data
See Also:
IDataObject.GetData(java.lang.String)



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.