Class BackendVariantsUtil
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.variants.BackendVariantsUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Serializable
getVariantId
(QBackendMetaData backendMetaData) Get the variant id from the session for the backend.static QRecord
getVariantRecord
(QBackendMetaData backendMetaData) For backends that use variants, look up the variant record (in theory, based on an id in the session's backend variants map, then fetched from the backend's variant options table.
-
Constructor Details
-
BackendVariantsUtil
public BackendVariantsUtil()
-
-
Method Details
-
getVariantId
Get the variant id from the session for the backend.- Throws:
QException
-
getVariantRecord
For backends that use variants, look up the variant record (in theory, based on an id in the session's backend variants map, then fetched from the backend's variant options table.- Throws:
QException
-