Package com.avoka.fc.core.dao
Class SystemInfoDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.SystemInfoDao
Provides a DAO for the Client entity.
- See Also:
-
SystemInfo
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Provides a TIInstance enumeration. -
Field Summary
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the all system infos.Return the environment type for this TM instanceReturn the license client code for this TM instanceReturn the license GUID.Return the license name for this TM instanceReturn the license type for this TM instanceReturn the license system keycom.avoka.fc.core.entity.SystemInfo
getSystemInfoByName
(String name) Return the value with the specified namebyte[]
getValueByName
(String name) Return the value with the specified namevoid
Initialize the Transact Insights Google Account info.void
saveSystemInfo
(Map<String, String> map) Save system info.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.Methods inherited from class com.avoka.fc.core.dao.AbstractDao
andFilterClientExcludeNull, andFilterClientIncludeNull, andFilterClientOnly, isClientAccessAllowed, performQueryConfigCached
Methods inherited from class com.avoka.core.dao.BaseDao
addOrdering, addOrderingCaseInsensitive, addOrderingCaseSensitive, andQueryBetween, andQueryInExp, andQueryInExp, andQueryLikeIgnoreCaseExp, andQueryMatchDbExp, andQueryMatchExp, andQueryMatchIsNotNull, andQueryMatchIsNull, andQueryNoMatchExp, andQueryNotTrue, deleteObject, deleteObjects, findObject, getDataContext, getFetchLimit, getLogger, getObjectForPK, newObject, orQueryLikeIgnoreCaseExp, orQueryMatchExp, performNamedQuery, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, performQuery, registerNewObject, setCacheStrategy, setFetchLimit, setLocalCacheStrategy, setLocalCacheStrategy, setSharedCacheStrategy, toMap, toMap
-
Constructor Details
-
SystemInfoDao
public SystemInfoDao()
-
-
Method Details
-
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
- Returns:
- the Transact Insights Instance ID
- Since:
- 5.0
-
initTIServiceAccountInfo
public void initTIServiceAccountInfo()Initialize the Transact Insights Google Account info.- Since:
- 5.0
-
getValueByName
Return the value with the specified name- Parameters:
name
- the system info name- Returns:
- value for the name
-
getSystemInfoByName
Return the value with the specified name- Parameters:
name
- the system info name- Returns:
- value for the name
-
getAllSystemInfos
Gets the all system infos.- Returns:
- the all system infos
-
saveSystemInfo
Save system info.- Parameters:
map
- the system info entry
-
setDefaultValue
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
Return the license system key- Returns:
- the license system key
- Since:
- 4.3.4
-
getLicenseClientCode
Return the license client code for this TM instance- Returns:
- the license client code
- Since:
- 4.3.4
-
getLicenseName
Return the license name for this TM instance- Returns:
- the license name
- Since:
- 4.3.4
-
getLicenseType
Return the license type for this TM instance- Returns:
- the license type
- Since:
- 4.3.4
-
getEnvironmentType
Return the environment type for this TM instance- Returns:
- the environment type (e.g. PROD)
- Since:
- 4.3.4
-
getLicenseGuid
Return the license GUID.- Returns:
- the license GUID (part of the license key)
- Since:
- 4.3.4
-