Class GetTableApiFieldsAction
java.lang.Object
com.kingsrook.qqq.backend.core.actions.AbstractQActionFunction<GetTableApiFieldsInput,GetTableApiFieldsOutput>
com.kingsrook.qqq.api.actions.GetTableApiFieldsAction
public class GetTableApiFieldsAction
extends AbstractQActionFunction<GetTableApiFieldsInput,GetTableApiFieldsOutput>
For a given table (name) and API version, return the list of fields that apply
for the API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Input-record for convenience methods -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Allow tests (that manipulate meta-data) to clear field caches.execute
(GetTableApiFieldsInput input) static List
<QFieldMetaData> getTableApiFieldList
(GetTableApiFieldsAction.ApiNameVersionAndTableName apiNameVersionAndTableName) convenience (and caching) wrapperstatic Map
<String, QFieldMetaData> getTableApiFieldMap
(GetTableApiFieldsAction.ApiNameVersionAndTableName apiNameVersionAndTableName) convenience (and caching) wrapperMethods inherited from class com.kingsrook.qqq.backend.core.actions.AbstractQActionFunction
executeAsync
-
Constructor Details
-
GetTableApiFieldsAction
public GetTableApiFieldsAction()
-
-
Method Details
-
clearCaches
public static void clearCaches()Allow tests (that manipulate meta-data) to clear field caches. -
getTableApiFieldMap
public static Map<String,QFieldMetaData> getTableApiFieldMap(GetTableApiFieldsAction.ApiNameVersionAndTableName apiNameVersionAndTableName) throws QException convenience (and caching) wrapper- Throws:
QException
-
getTableApiFieldList
public static List<QFieldMetaData> getTableApiFieldList(GetTableApiFieldsAction.ApiNameVersionAndTableName apiNameVersionAndTableName) throws QException convenience (and caching) wrapper- Throws:
QException
-
execute
- Specified by:
execute
in classAbstractQActionFunction<GetTableApiFieldsInput,
GetTableApiFieldsOutput> - Throws:
QException
-