Class FindByPrimaryKey
- java.lang.Object
-
- org.apache.ofbiz.minilang.MiniLangElement
-
- org.apache.ofbiz.minilang.method.MethodOperation
-
- org.apache.ofbiz.minilang.method.entityops.EntityOperation
-
- org.apache.ofbiz.minilang.method.entityops.FindByPrimaryKey
-
public final class FindByPrimaryKey extends EntityOperation
Implements the <find-by-primary-key> element.- See Also:
- Mini-language Reference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FindByPrimaryKey.FindByPrimaryKeyFactory
A factory for the <find-by-primary-key> element.-
Nested classes/interfaces inherited from class org.apache.ofbiz.minilang.method.MethodOperation
MethodOperation.DeprecatedOperation, MethodOperation.Factory<M extends MethodOperation>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Fields inherited from class org.apache.ofbiz.minilang.MiniLangElement
simpleMethod
-
-
Constructor Summary
Constructors Constructor Description FindByPrimaryKey(org.w3c.dom.Element element, SimpleMethod simpleMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exec(MethodContext methodContext)
Executes the operation.void
gatherArtifactInfo(ArtifactInfoContext aic)
Updatesaic
with this element's artifact information.java.lang.String
toString()
-
Methods inherited from class org.apache.ofbiz.minilang.method.entityops.EntityOperation
getDelegator
-
Methods inherited from class org.apache.ofbiz.minilang.method.MethodOperation
expandedString, rawString
-
Methods inherited from class org.apache.ofbiz.minilang.MiniLangElement
getLineNumber, getSimpleMethod, getTagName, outputTraceMessage
-
-
-
-
Constructor Detail
-
FindByPrimaryKey
public FindByPrimaryKey(org.w3c.dom.Element element, SimpleMethod simpleMethod) throws MiniLangException
- Throws:
MiniLangException
-
-
Method Detail
-
exec
public boolean exec(MethodContext methodContext) throws MiniLangException
Description copied from class:MethodOperation
Executes the operation. Returnstrue
if script execution should continue, orfalse
if script execution should stop.- Specified by:
exec
in classMethodOperation
- Throws:
MiniLangException
-
gatherArtifactInfo
public void gatherArtifactInfo(ArtifactInfoContext aic)
Description copied from class:MiniLangElement
Updatesaic
with this element's artifact information.- Overrides:
gatherArtifactInfo
in classMiniLangElement
- Parameters:
aic
- The artifact information context
-
toString
public java.lang.String toString()
- Overrides:
toString
in classMiniLangElement
-
-