public class ConfmActionPack extends Object implements com.cultofbits.integrationm.service.actionpack.classic.ActionPack
com.cultofbits.integrationm.service.properties
file
with the confm
key;
for example:
action.names=confm action.confm=confm
Constructor and Description |
---|
ConfmActionPack(String url,
String securityToken,
com.cultofbits.integrationm.service.internal.security.UserCookiesGenerator userCookiesGenerator) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(String operation,
String entityType,
String condition,
Map<String,String> keyValues)
This runs a given operation af the actionPack
|
boolean |
apply(String operation,
String entityType,
String condition,
Map<String,String> keyValues,
String runAsUser)
Same as the the standard apply method but with an additional arg that allows to run the operation as a given user
|
public boolean apply(String operation, String entityType, String condition, Map<String,String> keyValues)
ActionPack
apply
in interface com.cultofbits.integrationm.service.actionpack.classic.ActionPack
operation
- the name of the operation to executeentityType
- the entity on which the operation is to be executedcondition
- an optional condition or filter to be used on the operationkeyValues
- a map of optional parameters to be passed in for the operationpublic boolean apply(String operation, String entityType, String condition, Map<String,String> keyValues, String runAsUser)
ActionPack
apply
in interface com.cultofbits.integrationm.service.actionpack.classic.ActionPack
runAsUser
- the username that will be used to run the operation (a "cobtoken" will be generated for him)Copyright © 2021 Cult Of Bits, lda