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
public abstract class MethodOperation extends MiniLangElement
An abstract class for Mini-language element models.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MethodOperation.DeprecatedOperation
static interface
MethodOperation.Factory<M extends MethodOperation>
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.minilang.MiniLangElement
simpleMethod
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MethodOperation(org.w3c.dom.Element element, SimpleMethod simpleMethod)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract boolean
exec(MethodContext methodContext)
Executes the operation.java.lang.String
expandedString(MethodContext methodContext)
Deprecated.No replacement.java.lang.String
rawString()
Deprecated.-
Methods inherited from class org.apache.ofbiz.minilang.MiniLangElement
gatherArtifactInfo, getLineNumber, getSimpleMethod, getTagName, outputTraceMessage, toString
-
-
-
-
Constructor Detail
-
MethodOperation
protected MethodOperation(org.w3c.dom.Element element, SimpleMethod simpleMethod)
-
-
Method Detail
-
exec
public abstract boolean exec(MethodContext methodContext) throws MiniLangException
Executes the operation. Returnstrue
if script execution should continue, orfalse
if script execution should stop.- Throws:
MiniLangException
-
expandedString
@Deprecated public java.lang.String expandedString(MethodContext methodContext)
Deprecated.No replacement.Create a string representation of the operation, using the current context.
-
rawString
@Deprecated public java.lang.String rawString()
Deprecated.Create a string representation of the operation - similar to the original XML.
-
-