|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPortletURL
Represents portlet url.
Field Summary | |
---|---|
static int |
TOSTRINGTYPE_GET_URL
|
static int |
TOSTRINGTYPE_HTML_FORM_ACTION
|
static int |
TOSTRINGTYPE_HTML_FORM_INPUTS
|
static IURI |
UNPREFIXED_PARAMETERS_URI
|
Fields inherited from interface com.webmethods.caf.portlet.IPortletURL |
---|
GLOBAL_PARAMETER_KEEP_STATE, GLOBAL_PARAMETER_RESET_STATE |
Method Summary | |
---|---|
IPortletURL |
addPortletURL(IURI anotherPortlet)
Creates portlet URL for another portlet on the the same target page. |
void |
clearParameters()
Removs all portlet parameters from the URL |
String |
getBaseURL()
Returns base url for this portlet url. |
void |
removeParameter(String name)
Removes a portlet paremeter from the URL |
void |
setBaseURL(String url)
Sets base url for this portlet url. |
void |
setParameter(String name,
String[] value,
boolean encodeValue)
Sets portlet parameter String[] value.. |
void |
setParameter(String name,
String value,
boolean encodeValue)
Sets portlet parameter String value. |
void |
setPortletLayout(String pcaLayout)
Sets PCA layout to display |
void |
setPortletMethod(String pcaMethod)
Sets PCA method name to invoke on the portlet |
void |
setTargetAction(String targetAction)
Sets PCA method name to invoke on the portlet |
void |
setTargetView(String targetView)
Sets target view to display on the portlet |
String |
toString(int type)
Returns either full GET url or HTML form action plus set of hidden fields |
Methods inherited from interface com.webmethods.caf.portlet.IPortletURL |
---|
addPortletURL, clearState, getPortletNamespace, removeGlobalParameter, removeParameter, setAXSRFT, setGlobalParameter, setParameter, setParameter, setPortlet |
Field Detail |
---|
static final IURI UNPREFIXED_PARAMETERS_URI
static final int TOSTRINGTYPE_GET_URL
static final int TOSTRINGTYPE_HTML_FORM_ACTION
static final int TOSTRINGTYPE_HTML_FORM_INPUTS
Method Detail |
---|
void setBaseURL(String url) throws PortalException
setBaseURL
in interface IPortletURL
url
-
PortalException
String getBaseURL()
getBaseURL
in interface IPortletURL
IPortletURL.setBaseURL(String)
void setPortletMethod(String pcaMethod) throws PortalException
setPortletMethod
in interface IPortletURL
pcaMethod
- name of the method
PortalException
void setTargetAction(String targetAction) throws PortalException
setTargetAction
in interface IPortletURL
pcaMethod
- name of the method
PortalException
void setTargetView(String targetView) throws PortalException
setTargetView
in interface IPortletURL
targetView
-
PortalException
void setPortletLayout(String pcaLayout) throws PortalException
setPortletLayout
in interface IPortletURL
pcaLayout
- the layout to display
PortalException
void clearParameters()
clearParameters
in interface IPortletURL
void removeParameter(String name)
removeParameter
in interface IPortletURL
name
- the name of the parameter to removevoid setParameter(String name, String value, boolean encodeValue)
setParameter
in interface IPortletURL
name
- the portlet parameter namevalue
- the parameter valueencodeValue
- false to not encode the value.void setParameter(String name, String[] value, boolean encodeValue)
setParameter
in interface IPortletURL
name
- the portlet parameter namevalue
- the parameter valueencodeValue
- false to not encode the valueIPortletURL.setParameter(String, String, boolean)
IPortletURL addPortletURL(IURI anotherPortlet) throws PortalException
anotherPortlet
-
PortalException
String toString(int type)
type
- is IPortletURL.TOSTRINGTYPE_HTML_FORM_ACTION
and
IPortletURL.TOSTRINGTYPE_HTML_FORM_INPUTS
or IPortletURL.TOSTRINGTYPE_GET_URL
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |