TaackSimpleFilterService.TaackSimpleFilterExtension (taack-ui 0.3.9-SNAPSHOT API)
Package: taack.base

[Groovy] Class TaackSimpleFilterService.TaackSimpleFilterExtension

    • taack.base.TaackSimpleFilterService.TaackSimpleFilterExtension


    • static final class TaackSimpleFilterService.TaackSimpleFilterExtension
      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 void registerStringExt(java.lang.Class<? extends org.grails.datastore.gorm.GormEntity> aClass, ITaackFilterExtension filterExtension)
      • 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

        • TaackSimpleFilterService.TaackSimpleFilterExtension()

      • Method Detail

        • static final void registerStringExt(java.lang.Class<? extends org.grails.datastore.gorm.GormEntity> aClass, ITaackFilterExtension filterExtension)