Package com.avoka.fc.core.dao
Class ProjectDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.ProjectDao
Provides a DAO for the
Project
entity.- Since:
- 4.0.0
-
Field Summary
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetClientProjectForName
(Long clientId, String projectName) Return the project for the specified client and project name.getClientProjectForNormalizedName
(Long clientId, String projectNormalizedName) Return the project for the specified client and project normalized name.getProjectForPK
(Object projectId) Return the project with the specified IDMethods 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
-
ProjectDao
public ProjectDao()
-
-
Method Details
-
getProjectForPK
Return the project with the specified ID- Parameters:
projectId
- the OID of the project (required)- Returns:
- the matching project, or null if not found
-
getClientProjectForName
Return the project for the specified client and project name.- Parameters:
clientId
- the owning client ID (required)projectName
- the name of the project (required)- Returns:
- the project for the specified client and project name
-
getClientProjectForNormalizedName
Return the project for the specified client and project normalized name.- Parameters:
clientId
- the owning client ID (required)projectNormalizedName
- the normalized name of the project (required)- Returns:
- the project for the specified client and project normalized name
- Since:
- 17.10.0
-