|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LegacyGadgetUrlProvider
Helper interface to provide some utility methods for dealing with legacy portlet URIs.
| Field Summary | |
|---|---|
static String |
LEGACY_BRIDGET_GADGET_URI_PREFIX
|
static String |
LEGACY_PORTLET_ID_PREF
|
static String |
URI_EXTENSION
|
| Method Summary | |
|---|---|
String |
extractPortletKey(URI gadgetUri)
Given a URI for legacy portlet spec, this method extracts the portlet key. |
URI |
getLegacyURI(String portletKey)
Given the portletKey, this method concatenates this instances baseurl, prefix, key and extension to provide the location of the gadget spec for this gadget. |
boolean |
isLegacyGadget(URI gadgetUri)
Given a URI this method checks if the URI is for a legacy portlet. |
| Field Detail |
|---|
static final String LEGACY_BRIDGET_GADGET_URI_PREFIX
static final String URI_EXTENSION
static final String LEGACY_PORTLET_ID_PREF
| Method Detail |
|---|
URI getLegacyURI(String portletKey)
portletKey - The portletKey for the legacy portlet
boolean isLegacyGadget(URI gadgetUri)
gadgetUri - The gadget spec URI
String extractPortletKey(URI gadgetUri)
gadgetUri - The legacy portlet gadget spec URI
IllegalArgumentException - if the gadgetURI is not for a legacy portlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||