Class ProcessParamSearchDAO
java.lang.Object
ru.bgcrm.dao.CommonDAO
org.bgerp.dao.process.ProcessParamSearchDAO
Fluent DAO for selection processes by parameter values.
-
Nested Class Summary
Nested classes/interfaces inherited from class CommonDAO
CommonDAO.ObjectExtractor<T>, CommonDAO.RecordUpdater<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DynActionFormUser request context for isolationsprotected StringFields inherited from class CommonDAO
con, log, SQL_AND, SQL_DELETE, SQL_DELETE_FROM, SQL_DESC, SQL_DISTINCT, SQL_FROM, SQL_GROUP_BY, SQL_INNER_JOIN, SQL_INSERT_IGNORE_INTO, SQL_INSERT_INTO, SQL_LEFT_JOIN, SQL_LIMIT, SQL_ON_DUP_KEY_UPDATE, SQL_ORDER_BY, SQL_REPLACE, SQL_SELECT, SQL_SELECT_ALL_FROM, SQL_SELECT_COUNT_ROWS, SQL_SET, SQL_UNION_ALL, SQL_UPDATE, SQL_VALUES, SQL_VALUES_1, SQL_VALUES_2, SQL_VALUES_3, SQL_VALUES_4, SQL_VALUES_5, SQL_WHERE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected org.bgerp.dao.process.SearchDAOSelection order.protected voidorder(PreparedQuery pq) voidsearch(Pageable<ParameterSearchedObject<Process>> result) Queries processes with param values.protected org.bgerp.dao.process.SearchDAOwithExecutor(Set<Integer> values) Filter by process executorsprotected org.bgerp.dao.process.SearchDAOwithIdOrDescriptionLike(String value) SQL LIKE expression for id or description.Filter by process closing dateprotected org.bgerp.dao.process.SearchDAOExcluded process IDswithParamTextIds(Set<Integer> values) withParamTextValue(String value) protected org.bgerp.dao.process.SearchDAOwithStatus(Set<Integer> values) Filter by process status IDprotected org.bgerp.dao.process.SearchDAOFilter by process type IDMethods inherited from class CommonDAO
deleteById, foundRows, getById, getGroupedIds, getGroupedIds, getIds, getIds, getPageLimit, getPeriodSql, lastInsertId, setPeriodParamValue, setRecordCount, update, updateColumn, updateIds, updateIds, updateOrInsert
-
Field Details
-
form
User request context for isolations -
executorIds
-
excludeIds
-
idOrDescriptionLike
-
-
Constructor Details
-
ProcessParamSearchDAO
-
ProcessParamSearchDAO
-
-
Method Details
-
withOpen
Filter by process closing date- Parameters:
value-null- no filter, or process closing date is not null- Returns:
-
withParamTextIds
-
withParamTextValue
-
search
Queries processes with param values.- Parameters:
result- pageable result.- Throws:
SQLException
-
withType
-
withStatus
-
withExecutor
-
withoutId
-
withIdOrDescriptionLike
SQL LIKE expression for id or description.- Parameters:
value- the LIKE expression.- Returns:
-
order
Selection order.- Parameters:
value- enum value.- Returns:
-
filterOpen
-
filterType
-
filterStatus
-
filterExecutor
-
filterId
-
filterIdOrDescriptionLike
-
order
-