|
|||||||||
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.ACommonOpenerURL com.plumtree.portaluiinfrastructure.ptlink.CommonOpenerFriendlyURL
public class CommonOpenerFriendlyURL
Class for generating friendly Urls in Adaptive Tags
Field Summary | |
---|---|
static java.lang.String |
KEY_FRIENDLYURL_CHILDID
|
static java.lang.String |
KEY_FRIENDLYURL_CHILDNAME
|
static java.lang.String |
KEY_FRIENDLYURL_CLASSID
Class ID in the URL |
static java.lang.String |
KEY_FRIENDLYURL_OBJECTID
Object ID in the URL |
static java.lang.String |
KEY_FRIENDLYURL_OBJECTNAME
Object Name in the URL |
protected int |
m_childId
|
protected java.lang.String |
m_childName
|
protected int |
m_classId
|
protected java.lang.String |
m_friendlyURI
|
protected java.lang.String |
m_friendlyURL
|
protected int |
m_objectId
|
protected java.lang.String |
m_objectName
|
Fields inherited from class com.plumtree.portaluiinfrastructure.ptlink.ACommonOpenerURL |
---|
KEY_COMMONOPENER_APPBASEURL, KEY_COMMONOPENER_OPENERMODE, KEY_COMMONOPENER_USERID, m_nOpenerMode, m_nUserID, m_strApplicationBaseURL |
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 | |
---|---|
CommonOpenerFriendlyURL(java.lang.String label,
int classId,
int objectId,
AActivitySpace space)
|
|
CommonOpenerFriendlyURL(java.lang.String label,
int classId,
int objectId,
int childId,
AActivitySpace space)
|
|
CommonOpenerFriendlyURL(java.lang.String label,
int classId,
int objectId,
java.lang.String objectName,
AActivitySpace space)
|
|
CommonOpenerFriendlyURL(java.lang.String label,
int classId,
int objectId,
java.lang.String objectName,
int childId,
AActivitySpace space)
|
|
CommonOpenerFriendlyURL(java.lang.String label,
int classId,
int objectId,
java.lang.String objectName,
int childId,
java.lang.String childName,
AActivitySpace space)
|
Method Summary | |
---|---|
java.lang.String |
GetData(java.lang.String strKey)
Gets URL data. |
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 |
void |
SetURLData(java.lang.String strKey,
java.lang.String strValue)
Sets URL data. |
Methods inherited from class com.plumtree.portaluiinfrastructure.ptlink.APTURL |
---|
AddControlParameter, AddControlParameter, AddNonControlParameter, 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_FRIENDLYURL_CLASSID
public static final java.lang.String KEY_FRIENDLYURL_OBJECTID
public static final java.lang.String KEY_FRIENDLYURL_OBJECTNAME
public static final java.lang.String KEY_FRIENDLYURL_CHILDNAME
public static final java.lang.String KEY_FRIENDLYURL_CHILDID
protected int m_classId
protected int m_objectId
protected java.lang.String m_objectName
protected int m_childId
protected java.lang.String m_childName
protected java.lang.String m_friendlyURL
protected java.lang.String m_friendlyURI
Constructor Detail |
---|
public CommonOpenerFriendlyURL(java.lang.String label, int classId, int objectId, AActivitySpace space)
public CommonOpenerFriendlyURL(java.lang.String label, int classId, int objectId, java.lang.String objectName, AActivitySpace space)
public CommonOpenerFriendlyURL(java.lang.String label, int classId, int objectId, int childId, AActivitySpace space)
public CommonOpenerFriendlyURL(java.lang.String label, int classId, int objectId, java.lang.String objectName, int childId, AActivitySpace space)
public CommonOpenerFriendlyURL(java.lang.String label, int classId, int objectId, java.lang.String objectName, int childId, java.lang.String childName, AActivitySpace space)
Method Detail |
---|
public java.lang.String GetFullURL()
APTURL
GetFullURL
in interface IPTURL
GetFullURL
in class ACommonOpenerURL
IPTURL.GetFullURL()
public java.lang.String GetURI()
APTURL
GetURI
in interface IPTURL
GetURI
in class ACommonOpenerURL
IPTURL.GetURI()
public java.lang.String GetData(java.lang.String strKey)
KEY_FRIENDLYURL_CLASSID
KEY_FRIENDLYURL_OBJECTID
KEY_COMMONOPENER_OPENERMODE
PTURLConstants.KEY_URLTYPE
KEY_FRIENDLYURL_CLASSID
KEY_FRIENDLYURL_OBJECTID
in addition to the common URL and CommonOpener URL data keys.
GetData
in interface IDataObject
GetData
in class ACommonOpenerURL
strKey
- The key for the requested data
IDataObject.GetData(java.lang.String)
public void SetURLData(java.lang.String strKey, java.lang.String strValue)
KEY_FRIENDLYURL_CLASSID
KEY_FRIENDLYURL_OBJECTID
KEY_COMMONOPENER_OPENERMODE
SetURLData
in interface IPTURL
SetURLData
in class ACommonOpenerURL
strKey
- nValue
- APTURL.SetURLData(java.lang.String, java.lang.String)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |