Class WebToolsServices


  • public class WebToolsServices
    extends java.lang.Object
    WebTools Services
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String module  
      static java.lang.String resource  
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
    • Constructor Detail

      • WebToolsServices

        public WebToolsServices()
    • 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 in numberOfEntities and a List of Maps - packagesList. Each Map contains:
        • packageName - the entity package name
        • entitiesList - 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 context
        context - 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)