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
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. |
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