|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletPocService
Portlet version of the PocService
that is associated with one portlet
window. The Identifiable
interface represents the ID of this portlet
window.
This service must be disposed after it has been retrieved via its home interface.
Disposable
Nested Class Summary | |
---|---|
static class |
PortletPocService.URI_SCOPE
Constants that define the scope of the portlet URI |
Method Summary | |
---|---|
java.net.URI |
createPortletURI(PortletPocService.URI_SCOPE scope,
java.net.URI pocURI)
Constructs a URI that addresses the portlet |
java.net.URI |
createResourceBundleURI()
Creates a URI that addresses the default resource bundle for the portlet |
java.net.URI |
createResourceBundleURI(java.lang.String bundleName)
Creates a URI that addresses a named bundle for the portlet |
java.util.Map<java.lang.String,java.lang.String[]> |
decodeParameters(java.lang.String aDigest)
Converts the short parameter map representation back into a map |
PortletURI |
decodePortletURI(java.net.URI uri)
Decodes a URI object as created via createPortletURI(URI_SCOPE, URI) into a PortletURI
object that contains information about the addressed entity and the
original URI |
java.lang.String |
encodeParameters(java.util.Map<java.lang.String,java.lang.String[]> aParams)
Converts a parameter map, e.g. |
ObjectID |
getObjectID()
Returns the ObjectID of the portlet window receiving this
request. |
Methods inherited from interface com.ibm.portal.resolver.service.PocService |
---|
createContext, createDigestURI, createDigestURI, createURI, createURI, createURI, createXMLReader, getContext, getContextAccessor, getLookupService, getNonce, getServerContext, getURIParser, getURLFactory, getURLFactory, resolve, serveHeaders |
Methods inherited from interface com.ibm.portal.Disposable |
---|
dispose |
Method Detail |
---|
java.net.URI createPortletURI(PortletPocService.URI_SCOPE scope, java.net.URI pocURI) throws java.net.URISyntaxException, java.io.IOException
scope
- scope of the URI, may be null
, the default is
#URI_SCOPE.PORTLET_WINDOW
pocURI
- the POC URI to the actual data, not null
null
java.net.URISyntaxException
java.io.IOException
java.net.URI createResourceBundleURI() throws java.net.URISyntaxException, java.io.IOException
java.net.URISyntaxException
java.io.IOException
ResourceBundleURI
java.net.URI createResourceBundleURI(java.lang.String bundleName) throws java.net.URISyntaxException, java.io.IOException
bundleName
- the name of the resource bundle
java.net.URISyntaxException
java.io.IOException
ResourceBundleURI
java.util.Map<java.lang.String,java.lang.String[]> decodeParameters(java.lang.String aDigest) throws java.io.IOException
aDigest
- the short representation as generated by
encodeParameters(Map)
null
if the map could not be
decoded
java.io.IOException
encodeParameters(Map)
PortletURI decodePortletURI(java.net.URI uri) throws SerializationException, java.net.URISyntaxException, java.io.IOException
createPortletURI(URI_SCOPE, URI)
into a PortletURI
object that contains information about the addressed entity and the
original URI
uri
- the URI to decode, not null
SerializationException
java.net.URISyntaxException
java.io.IOException
java.lang.String encodeParameters(java.util.Map<java.lang.String,java.lang.String[]> aParams) throws java.io.IOException
aParams
- the render parameter map to encode, not null
java.io.IOException
decodeParameters(String)
ObjectID getObjectID()
ObjectID
of the portlet window receiving this
request.
getObjectID
in interface Identifiable
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |