Package com.avoka.fc.core.dao
Class FormPortalDao
- java.lang.Object
-
- com.avoka.core.dao.BaseDao
-
- com.avoka.fc.core.dao.AbstractDao
-
- com.avoka.fc.core.dao.FormPortalDao
-
public class FormPortalDao extends AbstractDao
- Since:
- 5.1.0
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description FormPortalDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormPortal
getObjectForPK(Object formPortalId)
Return the FormPortal with the specified IDboolean
isInternalTxnFlag(Form form, Portal portal)
Return whether the form is set up to allow internal transactions on the given portal.-
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
-
-
-
-
Method Detail
-
getObjectForPK
public FormPortal getObjectForPK(Object formPortalId)
Return the FormPortal with the specified ID- Parameters:
formPortalId
- the OID of the formPortal (required)- Returns:
- the matching folder, or null if not found
-
isInternalTxnFlag
public boolean isInternalTxnFlag(Form form, Portal portal)
Return whether the form is set up to allow internal transactions on the given portal. The check is performed on_FormPortal.getTxnScope()
first, and if null, falls back to_Portal.isInternalTxnFlag()
.- Parameters:
form
- the form (required)portal
- the portal (required)- Returns:
- true if the form portal configuration allows internal transactions
- Since:
- 18.11.0
-
-