|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.portal.pcm.admin.PcmUri
public class PcmUri
The class that represents a URL of a portal object or resource.
The URL (location) can be one of the following types:
| Field Summary | |
|---|---|
protected String |
m_application
The application that contains the resource. |
protected String |
m_queryString
The query part of the URL. |
protected String |
m_url
The URL of the resource. |
protected int |
m_urlType
The URL type. |
static int |
URL_TYPE_ABSOLUTE
A constant that represents an absolute URL of a resource. |
static int |
URL_TYPE_APPLICATION_RESOURCE
A constant that represents a URL of an application resource. |
static int |
URL_TYPE_JNDI_URL
A constant that represents a JNDI URL of a resource. |
| Constructor Summary | |
|---|---|
PcmUri()
Constructs an empty PcmUri. |
|
PcmUri(String url,
int type)
Constructs a PcmUri object with a URL of the specified type. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
String |
getApplication()
Gets the name of the application that contains the resource. |
String |
getQueryString()
Gets the URL query string. |
int |
getUrlType()
Gets the URL type. |
void |
setApplication(String app)
Sets the application containing the resource represented by this object. |
void |
setQueryString(String queryString)
Sets the URL query string. |
void |
setUrlType(int urlType)
Sets the URL type. |
String |
toString()
Gets a string representation of the URL. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String m_url
protected String m_application
protected int m_urlType
protected String m_queryString
public static final int URL_TYPE_ABSOLUTE
public static final int URL_TYPE_JNDI_URL
public static final int URL_TYPE_APPLICATION_RESOURCE
| Constructor Detail |
|---|
public PcmUri()
public PcmUri(String url,
int type)
url - the URLtype - the URL type| Method Detail |
|---|
public String toString()
toString in class Objectpublic void setQueryString(String queryString)
queryString - the query string of the URL, without the '?'public String getQueryString()
public void setUrlType(int urlType)
urlType - a constant that represents the URL typeURL_TYPE_ABSOLUTE,
URL_TYPE_JNDI_URL,
URL_TYPE_APPLICATION_RESOURCEpublic int getUrlType()
URL_TYPE_ABSOLUTE,
URL_TYPE_JNDI_URL,
URL_TYPE_APPLICATION_RESOURCEpublic void setApplication(String app)
app - the name of the application that contains the resourcepublic String getApplication()
public Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionObject.clone()| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcm/admin/public/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||