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
-
public class ClientPropertyDao extends AbstractDao
Provides a DAO for the ClientProperty entity.- See Also:
ClientProperty
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description ClientPropertyDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientProperty
getClientProperty(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 clientClientProperty
getProperty(Client client, String name)
Return the named client property or null if not definedString
getPropertyValue(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
-
-
-
-
Method Detail
-
getClientProperty
public ClientProperty getClientProperty(Object entityId)
Return the client property with the specified OID- Parameters:
entityId
- the OID- Returns:
- the matching client property, or null if not found
-
getPropertiesByClient
public List<org.apache.cayenne.DataRow> getPropertiesByClient(String clientId)
Return information about client properties for a specified client- Parameters:
clientId
- the client OID- Returns:
- a list of
DataRow
objects
-
getProperty
public ClientProperty getProperty(Client client, String name)
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
-
-