Package com.priint.pubserverapi.team
Interface TeamQuery
- All Superinterfaces:
QueryBuilder<Team>
-
Method Summary
Modifier and TypeMethodDescriptionSets the id of theTeamin the querySets the login of theTeamin the querySets the name of theTeamin the querySets the person id of theTeamin the querywithPersons(boolean withUsers) Sets the withPersons in the query Decides if result contains field with persons of the teamMethods inherited from interface com.priint.pubserverapi.query.QueryBuilder
list, singleResult
-
Method Details
-
id
Sets the id of theTeamin the query- Parameters:
id- team id- Returns:
- the current
TeamQueryinstance for method chaining
-
name
Sets the name of theTeamin the query- Parameters:
name- team name- Returns:
- the current
TeamQueryinstance for method chaining
-
login
Sets the login of theTeamin the query- Parameters:
login- login name- Returns:
- the current
TeamQueryinstance for method chaining
-
personId
Sets the person id of theTeamin the query- Parameters:
personId- person id- Returns:
- the current
TeamQueryinstance for method chaining
-
withPersons
Sets the withPersons in the query Decides if result contains field with persons of the team- Parameters:
withUsers- true - team persons attached to the result- Returns:
- the current
TeamQueryinstance for method chaining
-