|
|||||||||
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.CommonOpenerOpenObjIDURL
public class CommonOpenerOpenObjIDURL
URL Class for CommonOpenerURL using Object ID and Class ID pair. UPDATE FOR PORTAL 6.5: This class has been repurposed to use friendly URL instead of commonopener URL. Just keep this as a facade so that we don't have to change old code
Field Summary | |
---|---|
static java.lang.String |
KEY_COMMONOPENER_CLASSID
Class ID in the URL |
static java.lang.String |
KEY_COMMONOPENER_OBJECTID
Object ID in the URL |
static java.lang.String |
KEY_COMMONOPENER_PAGEID
|
protected int |
m_nClassID
|
protected int |
m_nObjectID
|
protected int |
m_nPageID
|
static java.lang.String |
URL_TYPE_OBJCOMMONOPENER
|
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_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 | |
---|---|
CommonOpenerOpenObjIDURL(java.lang.String strTitle,
int nClassID,
int nObjectID,
int nMode,
AActivitySpace owner)
|
|
CommonOpenerOpenObjIDURL(java.lang.String strTitle,
java.lang.String strApplicationBaseURL,
int nClassID,
int nObjectID,
int nMode,
int nUserID)
Add Control Parameters ASConstants.PARENTSPACEID and ASConstants.PARENTSPACENAME. |
|
CommonOpenerOpenObjIDURL(java.lang.String strTitle,
java.lang.String strApplicationBaseURL,
int nClassID,
int nObjectID,
int nMode,
int nUserID,
int communityPageID)
Add Control Parameters ASConstants.PARENTSPACEID and ASConstants.PARENTSPACENAME. |
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, GetHierData, SetHierData, 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_COMMONOPENER_CLASSID
public static final java.lang.String KEY_COMMONOPENER_OBJECTID
public static final java.lang.String URL_TYPE_OBJCOMMONOPENER
protected int m_nClassID
protected int m_nObjectID
public static final java.lang.String KEY_COMMONOPENER_PAGEID
protected int m_nPageID
Constructor Detail |
---|
public CommonOpenerOpenObjIDURL(java.lang.String strTitle, java.lang.String strApplicationBaseURL, int nClassID, int nObjectID, int nMode, int nUserID)
strTitle
- strApplicationBaseURL
- nClassID
- nObjectID
- nMode
- nUserID
- public CommonOpenerOpenObjIDURL(java.lang.String strTitle, java.lang.String strApplicationBaseURL, int nClassID, int nObjectID, int nMode, int nUserID, int communityPageID)
strTitle
- strApplicationBaseURL
- nClassID
- nObjectID
- nMode
- nUserID
- communityPageID
- public CommonOpenerOpenObjIDURL(java.lang.String strTitle, int nClassID, int nObjectID, int nMode, AActivitySpace owner)
strTitle
- nClassID
- nObjectID
- nMode
- owner
- 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_COMMONOPENER_CLASSID
KEY_COMMONOPENER_OBJECTID
KEY_COMMONOPENER_OPENERMODE
PTURLConstants.KEY_URLTYPE
KEY_COMMONOPENER_CLASSID
KEY_COMMONOPENER_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_COMMONOPENER_CLASSID
KEY_COMMONOPENER_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 |