Class GetAction
java.lang.Object
com.kingsrook.qqq.backend.core.actions.tables.GetAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryInput
convertGetInputToQueryInput
(GetInput getInput) static QRecord
execute
(String tableName, Serializable primaryKey) more shorthand way to call for the most common use-case, when you just want the output record to be returned, and you just want to pass in a table name and primary key.static QRecord
execute
(String tableName, Map<String, Serializable> uniqueKey) more shorthand way to call for the most common use-case, when you just want the output record to be returned, and you just want to pass in a table name and unique keyexecuteForRecord
(GetInput getInput) shorthand way to call for the most common use-case, when you just want the output record to be returned.executeViaQuery
(GetInput getInput) Run a GetAction by using the QueryAction instead (e.g., with a filter made from the pkey/ukey, and returning the single record if found).postRecordActions
(QRecord record) Run the necessary actions on a record.
-
Constructor Details
-
GetAction
public GetAction()
-
-
Method Details
-
execute
- Throws:
QException
-
executeForRecord
shorthand way to call for the most common use-case, when you just want the output record to be returned.- Throws:
QException
-
execute
more shorthand way to call for the most common use-case, when you just want the output record to be returned, and you just want to pass in a table name and primary key.- Throws:
QException
-
execute
public static QRecord execute(String tableName, Map<String, Serializable> uniqueKey) throws QExceptionmore shorthand way to call for the most common use-case, when you just want the output record to be returned, and you just want to pass in a table name and unique key- Throws:
QException
-
executeViaQuery
Run a GetAction by using the QueryAction instead (e.g., with a filter made from the pkey/ukey, and returning the single record if found).- Throws:
QException
-
convertGetInputToQueryInput
- Throws:
QException
-
postRecordActions
Run the necessary actions on a record. This may include setting display values, translating possible values, and running post-record customizations.- Throws:
QException
-