Package de.xima.fc.workflow.model.nodes
Class FcSqlStatementProps
java.lang.Object
de.xima.fc.workflow.taglib.model.BaseActionProps
de.xima.fc.workflow.model.nodes.FcSqlStatementProps
- All Implemented Interfaces:
IDescriptionProviding,INameProviding,Serializable
@NotNullIf(field="databaseConnection",dependants="useClientDatabaseQuery",target=FcSqlStatementProps.class) @NotNullIf(field="databaseQuery",dependants="useClientDatabaseQuery",target=FcSqlStatementProps.class)
@NotEmptyIf(field="query",
dependants="useClientDatabaseQuery",
target=FcSqlStatementProps.class)
public class FcSqlStatementProps
extends BaseActionProps
implements Serializable
Model class for the database statement action (
EWorkflowNodeType.FC_SQL_STATEMENT).- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTIONFields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()booleanvoidsetDatabaseConnection(UuidEntityRef databaseConnection) voidsetDatabaseQuery(UuidEntityRef databaseQuery) voidvoidsetQueryParameters(List<Setting<String>> queryParameters) voidsetUseClientDatabaseQuery(boolean useClientDatabaseQuery) Methods inherited from class de.xima.fc.workflow.taglib.model.BaseActionProps
getBeschreibung, getColor, getDescription, getIcon, getName, setColor, setDescription, setIcon, setName
-
Constructor Details
-
FcSqlStatementProps
public FcSqlStatementProps()
-
-
Method Details
-
getDatabaseConnection
- Returns:
- The UUID from a persisted database connection.
-
getDatabaseQuery
- Returns:
UuidEntityRefof a client defined database query.
-
getQuery
- Returns:
- The statement to be executed
-
getQueryParameters
- Returns:
- parameters for the selected database query.
-
isUseClientDatabaseQuery
public boolean isUseClientDatabaseQuery()- Returns:
trueif a configured database query should be used. Otherwise a database query will be defined inside this action.
-
setDatabaseConnection
- Parameters:
databaseConnection- The UUID from a persisted database connection.
-
setDatabaseQuery
- Parameters:
databaseQuery- aUuidEntityRefof a client defined database query.
-
setQuery
- Parameters:
query- The statement to be executed.
-
setQueryParameters
- Parameters:
queryParameters- parameters for the selected database query.
-
setUseClientDatabaseQuery
public void setUseClientDatabaseQuery(boolean useClientDatabaseQuery) - Parameters:
useClientDatabaseQuery-trueif a configured database query should be used. Otherwise a database query will be defined inside this action.
-