Package org.apache.ofbiz.webtools
Class WebToolsServices
- java.lang.Object
-
- org.apache.ofbiz.webtools.WebToolsServices
-
public class WebToolsServices extends java.lang.Object
WebTools Services
-
-
Constructor Summary
Constructors Constructor Description WebToolsServices()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>
entityExportAll(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
entityImport(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
entityImportDir(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
entityImportReaders(DispatchContext dctx, java.util.Map<java.lang.String,java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
entityMaintPermCheck(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
Performs an entity maintenance security check.static java.util.Map<java.lang.String,java.lang.Object>
exportEntityEoModelBundle(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
exportServiceEoModelBundle(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
getEntityRefData(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
Get entity reference data.static java.util.Map<java.lang.String,java.lang.Object>
parseEntityXmlFile(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
-
Method Detail
-
entityImport
public static java.util.Map<java.lang.String,java.lang.Object> entityImport(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
entityImportDir
public static java.util.Map<java.lang.String,java.lang.Object> entityImportDir(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
entityImportReaders
public static java.util.Map<java.lang.String,java.lang.Object> entityImportReaders(DispatchContext dctx, java.util.Map<java.lang.String,java.lang.Object> context)
-
parseEntityXmlFile
public static java.util.Map<java.lang.String,java.lang.Object> parseEntityXmlFile(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
entityExportAll
public static java.util.Map<java.lang.String,java.lang.Object> entityExportAll(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
getEntityRefData
public static java.util.Map<java.lang.String,java.lang.Object> getEntityRefData(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
Get entity reference data. Returns the number of entities innumberOfEntities
and a List of Maps -packagesList
. Each Map contains:
packageName
- the entity package nameentitiesList
- a list of Maps:entityName
helperName
groupName
plainTableName
title
description
javaNameList
- list of Maps:isPk
name
colName
description
type
javaType
sqlType
relationsList
- list of Maps:title
relEntity
fkName
type
length
keysList
- list of Maps:row
fieldName
relFieldName
indexList
- list of Maps:name
fieldNameList
- list of Strings
-
exportEntityEoModelBundle
public static java.util.Map<java.lang.String,java.lang.Object> exportEntityEoModelBundle(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
entityMaintPermCheck
public static java.util.Map<java.lang.String,java.lang.Object> entityMaintPermCheck(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
Performs an entity maintenance security check. Returns hasPermission=true if the user has the ENTITY_MAINT permission.- Parameters:
dctx
- the dispatch contextcontext
- the context- Returns:
- return the result of the service execution
-
exportServiceEoModelBundle
public static java.util.Map<java.lang.String,java.lang.Object> exportServiceEoModelBundle(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
-