com.ibm.portal.resolver.operations
Interface UnsafeOperation

All Superinterfaces:
ActiveFlag, Addressable, Disposable, Localized, Operation

public interface UnsafeOperation
extends Operation

An unsafe operation is a operation which can be used to modify server-side state (session or persistent state). An unsafe operation may also result in a new navigational state which is displayed after executing the operation.

Since:
8.0

Field Summary
 
Fields inherited from interface com.ibm.portal.resolver.data.Addressable
EMPTY_PARAMETERS
 
Method Summary
 boolean resolve(Resolved result, java.io.InputStream stream, java.lang.String mimeType)
          Executes the operation by potentially modifying server-side models and navigational state.
 
Methods inherited from interface com.ibm.portal.resolver.operations.Operation
getBinding
 
Methods inherited from interface com.ibm.portal.Localized
getDescription, getLocales, getTitle
 
Methods inherited from interface com.ibm.portal.ActiveFlag
isActive
 
Methods inherited from interface com.ibm.portal.resolver.data.Addressable
getParameters, getURI
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 

Method Detail

resolve

boolean resolve(Resolved result,
                java.io.InputStream stream,
                java.lang.String mimeType)
                throws ResolutionException,
                       java.io.IOException,
                       ModelException,
                       StateException
Executes the operation by potentially modifying server-side models and navigational state. Changes to the navigational state are done by modifying the StateHolderController that can be accessed via the given Resolved object.

Parameters:
result - The resolution result. Must not be null.
stream - The form input stream. Must not be null.
mimeType - The mime type. Must not be null.
Returns:
true if the operation could be executed, else false
Throws:
ResolutionException
java.io.IOException
ModelException
StateException