TaackJdbcService.Jdbc (taack-ui 0.5.5-SNAPSHOT API)
Package: taack.domain

[Groovy] Class TaackJdbcService.Jdbc

    • taack.domain.TaackJdbcService.Jdbc


    • static final class TaackJdbcService.Jdbc
      extends java.lang.Object

      Allow to register a GormEntity class as base class for TQL queries.

      @PostConstruct
        private static void init() {
            def u = new User()
            Jdbc.registerClass( User,
                                u.username_, u.mail_, u.mainSubsidiary_, u.firstName_,
                                u.lastName_, u.businessUnit_, u.enabled_)
         
       }

      • Methods Summary

          Methods 
          Type Params Return Type Name and description
          static final java.util.Map<java.lang.Class<? extends org.grails.datastore.gorm.GormEntity>, FieldInfo> getFieldInfoMap()
          static final void registerClassGetters(java.lang.Class<? extends org.grails.datastore.gorm.GormEntity> aClass, GetMethodReturn[] methodReturns)
          static final void registerClassProperties(java.lang.Class<? extends org.grails.datastore.gorm.GormEntity> aClass, FieldInfo[] fieldInfos)
      • Inherited Methods Summary

          Inherited Methods 
          Methods inherited from class Name
          class java.lang.Object java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
      • Constructor Detail

        • TaackJdbcService.Jdbc()

      • Method Detail

        • static final java.util.Map<java.lang.Class<? extends org.grails.datastore.gorm.GormEntity>, FieldInfo> getFieldInfoMap()

        • static final void registerClassGetters(java.lang.Class<? extends org.grails.datastore.gorm.GormEntity> aClass, GetMethodReturn[] methodReturns)

        • static final void registerClassProperties(java.lang.Class<? extends org.grails.datastore.gorm.GormEntity> aClass, FieldInfo[] fieldInfos)