com.ibm.portal.resolver.service
Interface ActionPocService
- All Superinterfaces:
- Disposable, PocServerContextProvider, PocService, PocURIFactory, ServerContextProvider
- All Known Subinterfaces:
- PortletActionPocService, PortletEventPocService
-
public interface ActionPocService
- extends PocService
Version of the PocService that is available in the scope of an action
or event request, i.e. when the navigational state of portal can still be
modified.
- Since:
- 7.0
Method Summary
|
boolean |
isValidNonce(java.lang.String aNonce)
Check if a given nonce is valid in the current context |
boolean |
resolve(java.net.URI uri,
java.lang.String verb,
java.util.Map<java.lang.String,java.lang.String[]> params)
Performs state resolution in the scope of the current 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 |
isValidNonce
boolean isValidNonce(java.lang.String aNonce)
- Checks if a given nonce is valid in the current context
- Parameters:
- aNonce - the nonce
- Returns:
- true if the nonce is valid, else false
- Since:
- 8.5
- See Also:
- ContextAccessor.getNonce()
resolve
boolean resolve(java.net.URI uri,
java.lang.String verb,
java.util.Map<java.lang.String,java.lang.String[]> params)
throws ResolutionException,
StateException
- Performs state resolution in the scope of the current request. This
method operates on the current state in the request - which is guaranteed
to be modifiable during the action or the eventing phase.
- Parameters:
- uri - the POC URI
- verb - the verb
- params - the parameters
- Returns:
- true if the resolution was successful, else
false
- Throws:
- ResolutionException
- StateException
- Since:
- 7.0