Class UserPreferencesMetaData
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.preferences.UserPreferencesMetaData
- All Implemented Interfaces:
MetaDataProducerOutput,QMetaDataObject,QSupplementalInstanceMetaData,TopLevelMetaDataInterface,Serializable
Registry and startup validation of user preference sections.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet keyValueTableName.getName()Supplemental metadata registry name.Get sections.static UserPreferencesMetaDataGet registered preferences, or null when none are installed.static UserPreferencesMetaDataofOrWithNew(QInstance qInstance) Get or register preferences metadata.voidsetKeyValueTableName(String keyValueTableName) Set keyValueTableName.voidsetSections(List<UserPreferenceSectionMetaData> sections) Set sections.voidvalidate(QInstance qInstance, QInstanceValidator validator) Validate through QInstanceValidator's supplemental metadata hook.withKeyValueTableName(String keyValueTableName) With keyValueTableName.withSection(UserPreferenceSectionMetaData section) Add a section.withSections(List<UserPreferenceSectionMetaData> sections) With sections.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.backend.core.model.metadata.QSupplementalInstanceMetaData
addSelfToInstance, enrich
-
Field Details
-
NAME
- See Also:
-
DEFAULT_TABLE_NAME
- See Also:
-
-
Constructor Details
-
UserPreferencesMetaData
public UserPreferencesMetaData()
-
-
Method Details
-
of
Get registered preferences, or null when none are installed. -
ofOrWithNew
Get or register preferences metadata. -
getName
Supplemental metadata registry name.- Specified by:
getNamein interfaceTopLevelMetaDataInterface
-
withSection
Add a section. -
getSections
Get sections. -
setSections
Set sections. -
withSections
With sections. -
getKeyValueTableName
Get keyValueTableName. -
setKeyValueTableName
Set keyValueTableName. -
withKeyValueTableName
With keyValueTableName. -
validate
Validate through QInstanceValidator's supplemental metadata hook.- Specified by:
validatein interfaceQSupplementalInstanceMetaData
-