@PermitAll public class DmnPersistFunctionsBean extends Object implements DmnPersistFunctions
Constructor and Description |
---|
DmnPersistFunctionsBean() |
Modifier and Type | Method and Description |
---|---|
SetHolder |
findDecisionTableIds(ExecutionContext ctx,
String idPattern)
Returns a set of ids of the saved decision tables matching the idPattern regexp.
|
SetHolder |
findDecisionTables(ExecutionContext ctx,
String idPattern)
Returns a set of the saved decision tables matching the idPattern regexp.
|
boolean |
load(ExecutionContext ctx,
String id)
Loads the stored content of the decision table into "this" decision table
(replacing the current content).
|
void |
save(ExecutionContext ctx,
String id)
Persistently stores the content of the decision table under the given identifier.
|
public void save(ExecutionContext ctx, String id) throws ErrorException
DmnPersistFunctions
save
in interface DmnPersistFunctions
ErrorException
public boolean load(ExecutionContext ctx, String id) throws ErrorException
DmnPersistFunctions
load
in interface DmnPersistFunctions
true
if success, false
if the decision table
with the given id is not foundErrorException
public SetHolder findDecisionTableIds(ExecutionContext ctx, String idPattern) throws ErrorException
DmnPersistFunctions
findDecisionTableIds
in interface DmnPersistFunctions
ErrorException
public SetHolder findDecisionTables(ExecutionContext ctx, String idPattern) throws ErrorException
DmnPersistFunctions
findDecisionTables
in interface DmnPersistFunctions
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.