public interface TestFunctions
String throwWithoutInterceptor(ExecutionContext ctx) throws ErrorException
ctx - ErrorExceptionString throwWithInterceptor(ExecutionContext ctx) throws ErrorException
ctx - ErrorExceptionBinaryHolder toBinary(ExecutionContext ctx, String str) throws ErrorException
ctx - str - ErrorExceptionString fromBinaryToString(ExecutionContext ctx, BinaryHolder binaryHolder) throws ErrorException
ctx - binaryHolder - ErrorExceptionSetHolder findAllInSession(ExecutionContext ctx, Type type) throws ErrorException
ctx - type - ErrorExceptionvoid addIsDirtyListener(ExecutionContext ctx)
ctx - boolean isDirty(ExecutionContext ctx)
ctx - void setDirty(ExecutionContext ctx, Boolean isDirty)
ctx - isDirty - void setIsTrackingDirty(ExecutionContext ctx, Boolean isTracking)
ctx - isTracking - String validationExceptionString(ExecutionContext ctx, Type type)
ctx - type - Property getProperty(ExecutionContext ctx, ReferenceHolder ref)
RecordHolder getPropertyRecord(ExecutionContext ctx, ReferenceHolder ref) throws ErrorException
ErrorExceptionSetHolder getOptimisticLockConflicts(ExecutionContext ctx, ListHolder levels, Boolean resetVersionForUnchanged)
boolean isReferenceChanged(ReferenceHolder ref)
Object getReferencedValue(ExecutionContext ctx, ReferenceHolder ref, String evaluationLevel) throws ErrorException
ErrorExceptionRecordHolder getReadOnlyRecord(ExecutionContext ctx, RecordHolder holder, String level)
Object getClosureInLevelAndEvaluate(ExecutionContext ctx, Object holder, ListHolder arguments, String level) throws ErrorException
ErrorExceptionListHolder dynamicQuery(ExecutionContext ctx, Type recordType, String iterator, String where, ListHolder ordering, Decimal index, Decimal count) throws ErrorException, ValidationException
ErrorExceptionValidationExceptionListHolder dynamicQuery(ExecutionContext ctx, ClosureHolder closureWithQuery, String iterator, String where, ListHolder ordering, Decimal index, Decimal count) throws ErrorException, ValidationException
ErrorExceptionValidationExceptionListHolder dynamicAuditQuery(ExecutionContext ctx, Type recordType, String iterator, String where, ListHolder ordering, Decimal index, Decimal count, Decimal revision, ListHolder auditCriteria) throws ErrorException, ValidationException
ErrorExceptionValidationExceptionDecimal dynamicCountQuery(ExecutionContext ctx, Type recordType, String iterator, String where) throws ErrorException, ValidationException
ErrorExceptionValidationExceptionDecimal dynamicCountQuery(ExecutionContext ctx, ClosureHolder closureWithQuery, String iterator, String where) throws ErrorException, ValidationException
ErrorExceptionValidationExceptionvoid merge(ExecutionContext ctx, String evaluationLevel) throws LspsException
LspsExceptionvoid setStringVar(ExecutionContext ctx, String name, String val)
ctx - name - val - void setCompatibilityVersion(ExecutionContext ctx, String version, CollectionHolder moduleIds)
String compareModelInstances(Decimal modelInstanceId1, Decimal modelInstanceId2)
modelInstanceId1 - modelInstanceId2 - Object executeMethod(ExecutionContext ctx, RecordHolder record, String methodName, Object... args) throws ErrorException
ErrorExceptionObject executeInNewTransaction(ExecutionContext ctx, ClosureHolder closure, ListHolder arguments) throws ErrorException
ErrorExceptionObject interpret(ExecutionContext ctx, String expression) throws ErrorException
ErrorExceptionObject interpret(ExecutionContext ctx, String expression, ListHolder arguments) throws ErrorException
ErrorExceptionMapHolder getTypeMetadata(ExecutionContext ctx, Type type) throws ErrorException
ErrorExceptionMapHolder getVariableMetadata(ExecutionContext ctx, String name) throws ErrorException
ErrorExceptionMapHolder getFunctionMetadata(ExecutionContext ctx, String name) throws ErrorException
ErrorExceptionMapHolder getConstraintMetadata(ExecutionContext ctx, String constraintId) throws ErrorException
ErrorExceptionMapHolder getConstantMetadata(ExecutionContext ctx, String name) throws ErrorException
ErrorExceptionObject compileToJavaEndExecute(ExecutionContext ctx, String expStr) throws ErrorException
ErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.