@PermitAll public class TestFunctionsImpl extends Object implements TestFunctions
Constructor and Description |
---|
TestFunctionsImpl() |
public String throwWithoutInterceptor(ExecutionContext ctx) throws ErrorException
TestFunctions
throwWithoutInterceptor
in interface TestFunctions
ErrorException
public String throwWithInterceptor(ExecutionContext ctx) throws ErrorException
TestFunctions
throwWithInterceptor
in interface TestFunctions
ErrorException
public BinaryHolder toBinary(ExecutionContext ctx, String str)
TestFunctions
toBinary
in interface TestFunctions
public String fromBinaryToString(ExecutionContext ctx, BinaryHolder binaryHolder)
TestFunctions
fromBinaryToString
in interface TestFunctions
public SetHolder findAllInSession(ExecutionContext ctx, Type type) throws ErrorException
TestFunctions
findAllInSession
in interface TestFunctions
ErrorException
public void addIsDirtyListener(ExecutionContext ctx)
TestFunctions
addIsDirtyListener
in interface TestFunctions
public boolean isDirty(ExecutionContext ctx)
TestFunctions
isDirty
in interface TestFunctions
public void setDirty(ExecutionContext ctx, Boolean isDirty)
TestFunctions
setDirty
in interface TestFunctions
public void setIsTrackingDirty(ExecutionContext ctx, Boolean isTracking)
TestFunctions
setIsTrackingDirty
in interface TestFunctions
public String validationExceptionString(ExecutionContext ctx, Type type)
TestFunctions
validationExceptionString
in interface TestFunctions
public Property getProperty(ExecutionContext ctx, ReferenceHolder ref)
getProperty
in interface TestFunctions
public RecordHolder getPropertyRecord(ExecutionContext ctx, ReferenceHolder ref) throws ErrorException
getPropertyRecord
in interface TestFunctions
ErrorException
public boolean isReferenceChanged(ReferenceHolder ref)
isReferenceChanged
in interface TestFunctions
public SetHolder getOptimisticLockConflicts(ExecutionContext ctx, ListHolder levels, Boolean resetVersionForUnchanged)
getOptimisticLockConflicts
in interface TestFunctions
public Object getReferencedValue(ExecutionContext ctx, ReferenceHolder ref, String evaluationLevel) throws ErrorException
getReferencedValue
in interface TestFunctions
ErrorException
public RecordHolder getReadOnlyRecord(ExecutionContext ctx, RecordHolder holder, String level)
getReadOnlyRecord
in interface TestFunctions
public Object getClosureInLevelAndEvaluate(ExecutionContext ctx, Object holder, ListHolder arguments, String level) throws ErrorException
getClosureInLevelAndEvaluate
in interface TestFunctions
ErrorException
public ListHolder dynamicQuery(ExecutionContext ctx, Type recordType, String iterator, String where, ListHolder ordering, Decimal index, Decimal count) throws ErrorException, ValidationException
dynamicQuery
in interface TestFunctions
ErrorException
ValidationException
public ListHolder dynamicAuditQuery(ExecutionContext ctx, Type recordType, String iterator, String where, ListHolder ordering, Decimal index, Decimal count, Decimal revision, ListHolder auditCriteria) throws ErrorException, ValidationException
dynamicAuditQuery
in interface TestFunctions
ErrorException
ValidationException
public ListHolder dynamicQuery(ExecutionContext ctx, ClosureHolder closureWithQuery, String iterator, String where, ListHolder ordering, Decimal index, Decimal count) throws ErrorException, ValidationException
dynamicQuery
in interface TestFunctions
ErrorException
ValidationException
public Decimal dynamicCountQuery(ExecutionContext ctx, Type recordType, String iterator, String where) throws ErrorException, ValidationException
dynamicCountQuery
in interface TestFunctions
ErrorException
ValidationException
public Decimal dynamicCountQuery(ExecutionContext ctx, ClosureHolder closureWithQuery, String iterator, String where) throws ErrorException, ValidationException
dynamicCountQuery
in interface TestFunctions
ErrorException
ValidationException
public void merge(ExecutionContext ctx, String evaluationLevel) throws LspsException
merge
in interface TestFunctions
LspsException
public void setStringVar(ExecutionContext ctx, String name, String val)
TestFunctions
setStringVar
in interface TestFunctions
public void setCompatibilityVersion(ExecutionContext ctx, String version, CollectionHolder moduleIds)
setCompatibilityVersion
in interface TestFunctions
public String compareModelInstances(Decimal modelInstanceId1, Decimal modelInstanceId2)
TestFunctions
compareModelInstances
in interface TestFunctions
public String toUnicode(String str)
toUnicode
in interface TestFunctions
public Object executeMethod(ExecutionContext ctx, RecordHolder record, String methodName, Object... args) throws ErrorException
executeMethod
in interface TestFunctions
ErrorException
public Object executeInNewTransaction(ExecutionContext ctx, ClosureHolder closure, ListHolder arguments) throws ErrorException
executeInNewTransaction
in interface TestFunctions
ErrorException
public Object interpret(ExecutionContext ctx, String expression) throws ErrorException
interpret
in interface TestFunctions
ErrorException
public Object interpret(ExecutionContext ctx, String expression, ListHolder arguments) throws ErrorException
interpret
in interface TestFunctions
ErrorException
public MapHolder getTypeMetadata(ExecutionContext ctx, Type type) throws ErrorException
getTypeMetadata
in interface TestFunctions
ErrorException
public MapHolder getVariableMetadata(ExecutionContext ctx, String name) throws ErrorException
getVariableMetadata
in interface TestFunctions
ErrorException
public MapHolder getFunctionMetadata(ExecutionContext ctx, String name) throws ErrorException
getFunctionMetadata
in interface TestFunctions
ErrorException
public MapHolder getConstraintMetadata(ExecutionContext ctx, String constraintId) throws ErrorException
getConstraintMetadata
in interface TestFunctions
ErrorException
public MapHolder getConstantMetadata(ExecutionContext ctx, String name) throws ErrorException
getConstantMetadata
in interface TestFunctions
ErrorException
public Object compileToJavaEndExecute(ExecutionContext ctx, String expStr) throws ErrorException
compileToJavaEndExecute
in interface TestFunctions
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.