Package com.avoka.fc.core.dao
Class ClientPropertyDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.ClientPropertyDao
Provides a DAO for the ClientProperty entity.
- 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 TypeMethodDescriptiongetClientProperty
(Object entityId) Return the client property with the specified OIDList
<org.apache.cayenne.DataRow> getPropertiesByClient
(String clientId) Return information about client properties for a specified clientgetProperty
(Client client, String name) Return the named client property or null if not definedgetPropertyByVersion
(Client client, String name, String version) Return the named client property with specific version or null if not definedgetPropertyValue
(Client client, String name) Return the named client property value or null if not defined.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
-
ClientPropertyDao
public ClientPropertyDao()
-
-
Method Details
-
getClientProperty
Return the client property with the specified OID- Parameters:
entityId
- the OID- Returns:
- the matching client property, or null if not found
-
getPropertiesByClient
Return information about client properties for a specified client- Parameters:
clientId
- the client OID- Returns:
- a list of
DataRow
objects
-
getProperty
Return the named client property or null if not defined- Parameters:
client
- the clientname
- the property name- Returns:
- the named client property or null if not defined
- Since:
- 3.6.4
-
getPropertyByVersion
Return the named client property with specific version or null if not defined- Parameters:
client
- the clientname
- the property nameversion
- the version of the client property- Returns:
- the named client property with version or null if not defined
- Since:
- 23.4.0
-
getPropertyValue
Return the named client property value or null if not defined.- Parameters:
client
- the clientname
- the property name- Returns:
- the named client property value or null if not defined
-