Package org.apache.ofbiz.minilang.method
Class MethodOperation
java.lang.Object
org.apache.ofbiz.minilang.MiniLangElement
org.apache.ofbiz.minilang.method.MethodOperation
- Direct Known Subclasses:
AddError
,Assert
,Break
,Calculate
,CallClassMethod
,CallObjectMethod
,CallScript
,CallService
,CallServiceAsynch
,CallSimpleMapProcessor
,CallSimpleMethod
,CheckErrors
,CheckId
,CheckPermission
,ClearField
,CloneValue
,CompareCondition
,CompareFieldCondition
,Continue
,CreateObject
,CreateValue
,EmptyCondition
,EntityOperation
,FieldToList
,FieldToRequest
,FieldToResult
,FieldToSession
,FilterListByAnd
,FilterListByDate
,FirstFromList
,GetRelated
,GetRelatedOne
,HasPermissionCondition
,IfInstanceOf
,IfNotEmpty
,Iterate
,IterateMap
,ListToList
,Log
,Loop
,MakeNextSeqId
,MapToMap
,MasterIf
,Now
,OrderMapList
,OrderValueList
,PropertyToField
,RefreshValue
,RegexpCondition
,RemoveRelated
,RemoveValue
,RequestParametersToList
,RequestToField
,Return
,SessionToField
,SetCalendar
,SetCurrentUserLogin
,SetNonpkFields
,SetOperation
,SetPkFields
,SetServiceFields
,StoreValue
,StringAppend
,StringToList
,ToString
,Trace
,TransactionBegin
,TransactionCommit
,TransactionRollback
,ValidateMethodCondition
,WebappPropertyToField
,While
An abstract class for Mini-language element models.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
static interface
MethodOperation.Factory<M extends MethodOperation>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MethodOperation
(Element element, SimpleMethod simpleMethod) -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
exec
(MethodContext methodContext) Executes the operation.expandedString
(MethodContext methodContext) Deprecated.Deprecated.Methods inherited from class org.apache.ofbiz.minilang.MiniLangElement
gatherArtifactInfo, getLineNumber, getSimpleMethod, getTagName, outputTraceMessage, toString
-
Constructor Details
-
MethodOperation
-
-
Method Details
-
exec
Executes the operation. Returnstrue
if script execution should continue, orfalse
if script execution should stop.- Throws:
MiniLangException
-
expandedString
Deprecated.Create a string representation of the operation, using the current context. -
rawString
Deprecated.Create a string representation of the operation - similar to the original XML.
-
MiniLangElement.toString()
.