Package com.avoka.fc.core.dao
Class ServiceParameterDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.ServiceParameterDao
Provides a ServiceParameter DAO class.
- 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 TypeMethodDescriptiongetServiceParameterForName
(ServiceDefinition service, String name) Return the parameter with the specified name and service definition.Return the service parameter with the specified OIDReturn the list of service parameters for the given service definitionReturn the list of unit test service parameters for the given service definitiongetValueForDefaultServiceAndParamName
(String serviceType, String parameterName) Return the parameter value for the default service type and parameter name, or null if not found.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
-
ServiceParameterDao
public ServiceParameterDao()
-
-
Method Details
-
getServiceParameterForPK
Return the service parameter with the specified OID- Parameters:
id
- the OID- Returns:
- the matching service parameter , or null if not found
- Since:
- 4.3.0
-
getValueForDefaultServiceAndParamName
Return the parameter value for the default service type and parameter name, or null if not found.- Parameters:
serviceType
- the default service type (required)parameterName
- the parameter name (required)- Returns:
- the parameter value for the default service type and parameter name, or null if not found
-
getServiceParametersForService
Return the list of service parameters for the given service definition- Parameters:
service
- the service definition- Returns:
- the list of service parameters for the given service definition
- Since:
- 4.0.0
-
getUnitTestServiceParametersForService
Return the list of unit test service parameters for the given service definition- Parameters:
service
- the service definition- Returns:
- the list of unit test service parameters for the given service definition
- Since:
- 4.3.0
-
getServiceParameterForName
Return the parameter with the specified name and service definition. This combination uniquely identifies a service parameter.- Parameters:
service
- the service definition (required)name
- the exact parameter name (required)- Returns:
- the matching service parameter, or null if none was found
- Since:
- 4.3.0
-