|
|||||||||
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 String |
GLOBAL_PARAMETER_KEEP_STATE
Global parameter to keep pageflow state. |
static String |
GLOBAL_PARAMETER_RESET_STATE
Global parameter to forcefully reset pageflow state. |
Method Summary | |
---|---|
IPortletURL |
addPortletURL(String anotherPortlet)
Creates portlet URL for another portlet on the the same target page. |
void |
clearParameters()
Removes all portlet parameters from the URL |
void |
clearState()
Clears the state of the url keeping just the baseUrl |
String |
getBaseURL()
Returns base url for this portlet url. |
String |
getPortletNamespace(String portlet)
Returns parameter namespace used for the specified portlet |
void |
removeGlobalParameter(String name)
Removes any global parameters from this url. |
void |
removeParameter(String name)
Removes a portlet paremeter from the URL |
void |
removeParameter(String portlet,
String name)
Removes parameter from the specified portlet |
void |
setAXSRFT(boolean useToken)
True to include anti-cross-site-request-forgery token on url when invoking portlet action; false to omit token. |
void |
setBaseURL(String url)
Sets base url for this portlet url. |
void |
setGlobalParameter(String name,
String value)
Sets global parameter for this Url, global parameters are affecting all portlets being rendered as a result of processing of this 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 |
setParameter(String portlet,
String name,
String[] value,
boolean encodeValue)
Sets given portlet parameter String[] value.. |
void |
setParameter(String portlet,
String name,
String value,
boolean encodeValue)
Sets given portlet parameter String value. |
void |
setPortlet(String portlet)
Sets target portlet for this url. |
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 action)
Sets target action to execute on the portlet. |
void |
setTargetView(String view)
Sets target view to display |
Field Detail |
---|
static final String GLOBAL_PARAMETER_KEEP_STATE
static final String GLOBAL_PARAMETER_RESET_STATE
Method Detail |
---|
void setBaseURL(String url) throws Exception
url
-
Exception
String getBaseURL()
IPortletURL.setBaseURL(String)
void setPortletMethod(String pcaMethod) throws Exception
pcaMethod
- name of the method
Exception
void setPortletLayout(String pcaLayout) throws Exception
pcaLayout
- the layout to display
Exception
void clearParameters()
void removeParameter(String name)
name
- the name of the parameter to removevoid setTargetAction(String action) throws Exception
action
- action target JSF method binding expression
Exception
void setTargetView(String view) throws Exception
view
- name of view to display for a given portlet
Exception
void setParameter(String name, String value, boolean encodeValue)
name
- the portlet parameter namevalue
- the parameter valueencodeValue
- false to not encode the value.void setParameter(String name, String[] value, boolean encodeValue)
name
- the portlet parameter namevalue
- the parameter valueencodeValue
- false to not encode the valueIPortletURL.setParameter(String, String, boolean)
void setParameter(String portlet, String name, String value, boolean encodeValue)
name
- the portlet parameter namevalue
- the parameter valueencodeValue
- false to not encode the value.void setParameter(String portlet, String name, String[] value, boolean encodeValue)
name
- the portlet parameter namevalue
- the parameter valueencodeValue
- false to not encode the valueIPortletURL.setParameter(String, String, boolean)
void removeParameter(String portlet, String name)
portlet
- the portlet ID to remove parameter fromname
- parameter namevoid setGlobalParameter(String name, String value)
IPortletURL.GLOBAL_PARAMETER_KEEP_STATE
and
IPortletURL.GLOBAL_PARAMETER_RESET_STATE
name
- global parameter namevalue
- global parameter valuevoid removeGlobalParameter(String name)
IPortletURL.GLOBAL_PARAMETER_KEEP_STATE
and
IPortletURL.GLOBAL_PARAMETER_RESET_STATE
name
- global parameter nameIPortletURL addPortletURL(String anotherPortlet) throws Exception
anotherPortlet
-
Exception
void setPortlet(String portlet) throws Exception
Exception
void setAXSRFT(boolean useToken)
String getPortletNamespace(String portlet) throws Exception
portlet
-
Exception
void clearState()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |