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
-
public class ProjectDao extends AbstractDao
Provides a DAO for theProjectentity.- 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 ProjectDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectgetClientProjectForName(Long clientId, String projectName)Return the project for the specified client and project name.ProjectgetClientProjectForNormalizedName(Long clientId, String projectNormalizedName)Return the project for the specified client and project normalized name.ProjectgetProjectForPK(Object projectId)Return the project with the specified ID-
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
-
getProjectForPK
public Project getProjectForPK(Object projectId)
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
public Project getClientProjectForName(Long clientId, String projectName)
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
public Project getClientProjectForNormalizedName(Long clientId, String projectNormalizedName)
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
-
-