Package com.avoka.fc.core.dao
Class TransactionLookupDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.TransactionLookupDao
Provides a DAO for the TransactionLookup entity.
- Since:
- 4.0.0
- See Also:
-
Field Summary
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetClientId
(String clientCode) Gets the client id.Gets the form id.getFormName
(String formOid) Gets the form name.getLookupsForClient
(Object clientId) The list of transaction lookups for a specific client This query uses a fetch limit of 10000.boolean
updateOrCreateLookup
(Long clientOid, Long formOid, String clientCode, String formCode, String formName) Update or create lookup.Methods inherited from class com.avoka.fc.core.dao.AbstractDao
andFilterClientExcludeNull, andFilterClientIncludeNull, andFilterClientOnly, isClientAccessAllowed, performQueryConfigCached
Methods inherited from class com.avoka.core.dao.BaseDao
addOrdering, addOrderingCaseInsensitive, addOrderingCaseSensitive, andQueryBetween, andQueryInExp, andQueryInExp, andQueryLikeIgnoreCaseExp, andQueryMatchDbExp, andQueryMatchExp, andQueryMatchIsNotNull, andQueryMatchIsNull, andQueryNoMatchExp, andQueryNotTrue, deleteObject, deleteObjects, findObject, getDataContext, getFetchLimit, getLogger, getObjectForPK, newObject, orQueryLikeIgnoreCaseExp, orQueryMatchExp, performNamedQuery, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, performQuery, registerNewObject, setCacheStrategy, setFetchLimit, setLocalCacheStrategy, setLocalCacheStrategy, setSharedCacheStrategy, toMap, toMap
-
Constructor Details
-
TransactionLookupDao
public TransactionLookupDao()
-
-
Method Details
-
updateOrCreateLookup
public boolean updateOrCreateLookup(Long clientOid, Long formOid, String clientCode, String formCode, String formName) Update or create lookup.- Parameters:
clientOid
- the client oidformOid
- the form oidclientCode
- the client codeformCode
- the form codeformName
- the form name- Returns:
- true, if successful
-
getFormName
Gets the form name.- Parameters:
formOid
- the form oid- Returns:
- the form name
-
getFormId
Gets the form id.- Parameters:
formCode
- the form code- Returns:
- the form id
-
getClientId
Gets the client id.- Parameters:
clientCode
- the client code- Returns:
- the client id
-
getLookupsForClient
The list of transaction lookups for a specific client This query uses a fetch limit of 10000.- Parameters:
clientId
- the OID of the client (optional)- Returns:
- the list of transaction lookups for the client
- Since:
- 4.1.0
-