Interface ParameterDefinitionQuery
- All Superinterfaces:
QueryBuilder<ParameterDefinition>
Interface for building queries to retrieve
ParameterDefinition entities.
This interface extends QueryBuilder and provides additional methods
to construct queries based on specific attributes of a ParameterDefinition,
such as ID, identifier, name, group name, and publication type ID.
It allows for method chaining to facilitate the construction of complex queries.
Example usage:
ParameterDefinitionQuery query = parameterService.createParameterDefinitionQuery()
.id(123)
.name("SomeParameter")
.publicationTypeId(publicationTypeId);
List<ParameterDefinition> results = query.list(); // retrieve list of results
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionSets the group name of theParameterDefinitionin the query.Sets the ID of theParameterDefinitionin the query.identifier(String id) Sets the identifier of theParameterDefinitionin the query.Sets the name of theParameterDefinitionin the query.publicationTypeId(PublicationTypeId publicationTypeId) Sets the publication type ID associated with theParameterDefinitionin the query.Methods inherited from interface com.priint.pubserverapi.query.QueryBuilder
list, singleResult
-
Method Details
-
id
Sets the ID of theParameterDefinitionin the query.- Parameters:
id- the ID of the parameter definition- Returns:
- the current
ParameterDefinitionQueryinstance for method chaining
-
identifier
Sets the identifier of theParameterDefinitionin the query.- Parameters:
id- the identifier of the parameter definition- Returns:
- the current
ParameterDefinitionQueryinstance for method chaining
-
name
Sets the name of theParameterDefinitionin the query.- Parameters:
id- the name of the parameter definition- Returns:
- the current
ParameterDefinitionQueryinstance for method chaining
-
groupName
Sets the group name of theParameterDefinitionin the query.- Parameters:
id- the group name of the parameter definition- Returns:
- the current
ParameterDefinitionQueryinstance for method chaining
-
publicationTypeId
Sets the publication type ID associated with theParameterDefinitionin the query.- Parameters:
publicationTypeId- thePublicationTypeIdassociated with the parameter definition- Returns:
- the current
ParameterDefinitionQueryinstance for method chaining
-