Interface LightIdService

  • All Implemented Interfaces:

    
    public interface LightIdService
    
                        
    Since:

    2019-05-30

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      int geBlockId() Get the default BlockId
      long getId(@NotNull() String name) Get id by name, may be case-insensitive, all lowercase by default.
      long getId(@NotNull() LightIdAware table, int block) Get id by Jooq table name and block.
      long getId(@NotNull() LightIdAware table) Get id by Jooq table name.
      abstract long getId(@NotNull() String name, int block) Get id by name and block, may be case-insensitive, all lowercase by default.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • geBlockId

         int geBlockId()

        Get the default BlockId

      • getId

         long getId(@NotNull() String name)

        Get id by name, may be case-insensitive, all lowercase by default.

      • getId

         long getId(@NotNull() LightIdAware table, int block)

        Get id by Jooq table name and block. e.g. removing the `Table` suffix and name it in lowercase_lowercase.

      • getId

         long getId(@NotNull() LightIdAware table)

        Get id by Jooq table name. e.g. removing the `Table` suffix and name it in lowercase_lowercase.

      • getId

         abstract long getId(@NotNull() String name, int block)

        Get id by name and block, may be case-insensitive, all lowercase by default.