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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.workflow.taglib.model.BaseActionProps
BaseActionProps.name
-
-
Field Summary
-
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
-
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
-
-
Constructor Summary
Constructors Constructor Description FcSqlStatementProps()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UuidEntityRef
getDatabaseConnection()
UuidEntityRef
getDatabaseQuery()
String
getQuery()
List<Setting<String>>
getQueryParameters()
boolean
isUseClientDatabaseQuery()
void
setDatabaseConnection(UuidEntityRef databaseConnection)
void
setDatabaseQuery(UuidEntityRef databaseQuery)
void
setQuery(String query)
void
setQueryParameters(List<Setting<String>> queryParameters)
void
setUseClientDatabaseQuery(boolean useClientDatabaseQuery)
-
Methods inherited from class de.xima.fc.workflow.taglib.model.BaseActionProps
getBeschreibung, getColor, getDescription, getIcon, getName, setColor, setDescription, setIcon, setName
-
-
-
-
Method Detail
-
getDatabaseConnection
public UuidEntityRef getDatabaseConnection()
- Returns:
- The UUID from a persisted database connection.
-
getDatabaseQuery
public UuidEntityRef getDatabaseQuery()
- Returns:
UuidEntityRef
of a client defined database query.
-
getQuery
public String getQuery()
- Returns:
- The statement to be executed
-
getQueryParameters
public List<Setting<String>> getQueryParameters()
- Returns:
- parameters for the selected database query.
-
isUseClientDatabaseQuery
public boolean isUseClientDatabaseQuery()
- Returns:
true
if a configured database query should be used. Otherwise a database query will be defined inside this action.
-
setDatabaseConnection
public void setDatabaseConnection(UuidEntityRef databaseConnection)
- Parameters:
databaseConnection
- The UUID from a persisted database connection.
-
setDatabaseQuery
public void setDatabaseQuery(UuidEntityRef databaseQuery)
- Parameters:
databaseQuery
- aUuidEntityRef
of a client defined database query.
-
setQuery
public void setQuery(String query)
- Parameters:
query
- The statement to be executed.
-
setQueryParameters
public void setQueryParameters(List<Setting<String>> queryParameters)
- Parameters:
queryParameters
- parameters for the selected database query.
-
setUseClientDatabaseQuery
public void setUseClientDatabaseQuery(boolean useClientDatabaseQuery)
- Parameters:
useClientDatabaseQuery
-true
if a configured database query should be used. Otherwise a database query will be defined inside this action.
-
-