Package com.avoka.fc.core.dao
Class FormDesignDao
- java.lang.Object
-
- com.avoka.core.dao.BaseDao
-
- com.avoka.fc.core.dao.AbstractDao
-
- com.avoka.fc.core.dao.FormDesignDao
-
public class FormDesignDao extends AbstractDao
Provides a DAO for theFormDesign
entity.- Since:
- 4.0.0
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description FormDesignDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormDesign
getFormDesignForFolder(Long folderId, String formDesignName)
Return the form design for the specified name.FormDesign
getFormDesignForFolderNorm(Long folderId, String formDesignNameNorm)
Return the form design for the specified normalized name.FormDesign
getFormDesignForPK(Object formDesignId)
Return the form design with the specified IDFormDesign
getFormDesignForProject(Long projectId, String formDesignName)
Return the form design for the specified name.-
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
-
getFormDesignForPK
public FormDesign getFormDesignForPK(Object formDesignId)
Return the form design with the specified ID- Parameters:
formDesignId
- the OID of the form design (required)- Returns:
- the matching form design, or null if not found
-
getFormDesignForProject
public FormDesign getFormDesignForProject(Long projectId, String formDesignName)
Return the form design for the specified name. The form design must reside at the root level of the specified project.- Parameters:
projectId
- the project ID (required)formDesignName
- the name of the form design (required)- Returns:
- the form design for the specified project and name
-
getFormDesignForFolder
public FormDesign getFormDesignForFolder(Long folderId, String formDesignName)
Return the form design for the specified name. The form design must reside inside the specified folder.- Parameters:
folderId
- the folder ID (required)formDesignName
- the name of the form design (required)- Returns:
- the form design for the specified folder and name
-
getFormDesignForFolderNorm
public FormDesign getFormDesignForFolderNorm(Long folderId, String formDesignNameNorm)
Return the form design for the specified normalized name. The form design must reside inside the specified folder.- Parameters:
folderId
- the folder ID (required)formDesignNameNorm
- the name of the form design (required)- Returns:
- the form design for the specified folder and normalized name
- Since:
- 17.10.0
-
-