java.lang.Object
com.sankcrm.erp.domain.model.IdentifiedDomainObject
com.sankcrm.erp.domain.model.Entity
com.sankcrm.erp.domain.model.ConcurrencySafeEntity
com.sankcrm.erp.auth.domain.model.App
All Implemented Interfaces:
Serializable

@Entity public class App extends com.sankcrm.erp.domain.model.ConcurrencySafeEntity
应用信息
Since:
2.1.0
Author:
zhsxin
See Also:
create time:
2023/4/1 20:28
  • Constructor Summary

    Constructors
    Constructor
    Description
    App()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> App
    addChannelConf(String channelKey, T value)
    增加渠道配置
    <T extends Serializable>
    App
    addExtra(String name, T value)
    增加扩展信息
    <T> Optional<T>
    getChannelConf(String channelKey, Type type)
    获取配置
    <T extends Serializable>
    T
    获取扩展信息

    Methods inherited from class com.sankcrm.erp.domain.model.ConcurrencySafeEntity

    failWhenConcurrencyViolation, getUpdatedDateTime, getVersion, setUpdatedDateTime, setVersion

    Methods inherited from class com.sankcrm.erp.domain.model.Entity

    getCreatedDateTime, setCreatedDateTime

    Methods inherited from class com.sankcrm.erp.domain.model.IdentifiedDomainObject

    equals, evict, getId, hashCode, merge, refresh, setId

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • App

      public App()
  • Method Details

    • addChannelConf

      public <T> App addChannelConf(String channelKey, T value)
      增加渠道配置
      Type Parameters:
      T - 类型
      Parameters:
      channelKey - channelKey
      value - 值
      Returns:
      App
      Since:
      2.1.3
    • getChannelConf

      public <T> Optional<T> getChannelConf(String channelKey, Type type)
      获取配置
      Type Parameters:
      T - 类型
      Parameters:
      channelKey - channelKey
      type - 类型
      Returns:
      Conf
      Since:
      2.1.3
    • addExtra

      public <T extends Serializable> App addExtra(String name, T value)
      增加扩展信息
      Type Parameters:
      T - 值类型
      Parameters:
      name - 扩展名
      value - 扩展值
      Returns:
      配置
      Since:
      2.1.1
    • getExtra

      public <T extends Serializable> T getExtra(String name)
      获取扩展信息
      Type Parameters:
      T - 值类型
      Parameters:
      name - 名称
      Returns:
      值
      Since:
      2.1.1