Class SystemInfoDao


public class SystemInfoDao extends AbstractDao
Provides a DAO for the Client entity.
See Also:
  • SystemInfo
  • Constructor Details

    • SystemInfoDao

      public SystemInfoDao()
  • Method Details

    • getTIServiceAccountId

      public String getTIServiceAccountId()
      Returns:
      the Transact Insights Google Service Account ID.
      Since:
      5.0
    • getTIServiceAccountPrivateKey

      public byte[] getTIServiceAccountPrivateKey()
      Returns:
      the Transact Insights Google Service Account Private Key data.
      Since:
      5.0
    • getTIInstance

      public SystemInfoDao.TIInstance getTIInstance()
      Returns:
      the Transact Insights Instance ID
      Since:
      5.0
    • initTIServiceAccountInfo

      public void initTIServiceAccountInfo()
      Initialize the Transact Insights Google Account info.
      Since:
      5.0
    • getValueByName

      public String getValueByName(String name)
      Return the value with the specified name
      Parameters:
      name - the system info name
      Returns:
      value for the name
    • getSystemInfoByName

      public com.avoka.fc.core.entity.SystemInfo getSystemInfoByName(String name)
      Return the value with the specified name
      Parameters:
      name - the system info name
      Returns:
      value for the name
    • getAllSystemInfos

      public Map<String,String> getAllSystemInfos()
      Gets the all system infos.
      Returns:
      the all system infos
    • saveSystemInfo

      public void saveSystemInfo(Map<String,String> map)
      Save system info.
      Parameters:
      map - the system info entry
    • setDefaultValue

      public boolean setDefaultValue(String name, String defaultValue)
      Set a value for a system info object ONLY IF no system info object with the given name exists.
      Parameters:
      name - the name (required)
      defaultValue - the value
      Returns:
      true if a system info object was created; false if one already existed and no change was made
      Since:
      4.2.0
    • getLicensingSystemKey

      public String getLicensingSystemKey()
      Return the license system key
      Returns:
      the license system key
      Since:
      4.3.4
    • getLicenseClientCode

      public String getLicenseClientCode()
      Return the license client code for this TM instance
      Returns:
      the license client code
      Since:
      4.3.4
    • getLicenseName

      public String getLicenseName()
      Return the license name for this TM instance
      Returns:
      the license name
      Since:
      4.3.4
    • getLicenseType

      public String getLicenseType()
      Return the license type for this TM instance
      Returns:
      the license type
      Since:
      4.3.4
    • getEnvironmentType

      public String getEnvironmentType()
      Return the environment type for this TM instance
      Returns:
      the environment type (e.g. PROD)
      Since:
      4.3.4
    • getLicenseGuid

      public String getLicenseGuid()
      Return the license GUID.
      Returns:
      the license GUID (part of the license key)
      Since:
      4.3.4