Class TeamSearchFilter
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.teams.bl.team.event.TeamSearchFilter
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a search filter to search for teams.
- Since:
- 16.0
- See Also:
- GCApi:
- bo
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the collection of addresses that was set as filter.getCode()Returns the team code that was set as filter.getColor()Returns the team color that was set as filter.Returns the team description that was set as filter.final Collection<Long> Returns the collection of end day addresses that was set as filter.getId()Returns the collection of team ids that was set as filter.Returns the collection of operation centers that was set as filter.Returns the collection of oss spaces that was set as filter.Returns the collection of team cardinalities that was set as filter.Returns the collection of working team dislocations that was set as filter.Returns the collection of working team locations that was set as filter.Returns the collection of time calculation types that was set as filter.getType()Returns the collection of team types that was set as filter.isActive()Checks if the team that was set as filter is active.isLoan()Checks if the team that was set as filter is a loan.voidSets the team to active as filter.voidsetAddress(Collection<Long> address) Sets the collection of addresses as filter.voidsetCode(Collection<String> code) Sets the team code as filter.voidSets the team color as filter.voidsetDescription(String description) Sets the team description as filter.final voidsetEndDayAddress(Collection<Long> endDayAddress) Sets the collection of end day addresses as filter.voidsetId(Collection<Long> id) Sets the collection of team id as filter.voidSets the team to loan as filter.voidsetOperationCenter(Collection<Long> operationCenter) Sets the collection of operation centers as filter.voidsetOssSpace(Collection<Long> ossSpace) Sets the collection of oss spaces as filter.voidsetTeamCardinality(Collection<Long> teamCardinality) Sets the collection of team cardinalities as filter.voidsetTeamDislocation(Collection<Long> teamDislocation) Sets the collection of working team dislocations as filter.voidsetTeamLocation(Collection<Long> teamLocation) Sets the collection of working team locations as filter.voidsetTimeCalculationType(Collection<Long> timeCalculationType) Sets the collection of time calculation types as filter.voidsetType(Collection<Long> type) Sets the collection of team types as filter.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
TeamSearchFilter
public TeamSearchFilter()
-
-
Method Details
-
getId
Returns the collection of team ids that was set as filter.- Returns:
- the team ids
-
setId
Sets the collection of team id as filter.- Parameters:
id- the team ids
-
getCode
Returns the team code that was set as filter.- Returns:
- the team code
-
setCode
Sets the team code as filter.- Parameters:
code- the team code
-
getDescription
Returns the team description that was set as filter.- Returns:
- the team description
-
setDescription
Sets the team description as filter.- Parameters:
description- the team description
-
isActive
Checks if the team that was set as filter is active.- Returns:
- true if is the team is active, false otherwise
-
setActive
Sets the team to active as filter.- Parameters:
active- true if the team must be active, false otherwise
-
getOperationCenter
Returns the collection of operation centers that was set as filter.- Returns:
- the operation centers
-
setOperationCenter
Sets the collection of operation centers as filter.- Parameters:
operationCenter- the operation centers
-
getAddress
Returns the collection of addresses that was set as filter.- Returns:
- the addresses
-
setAddress
Sets the collection of addresses as filter.- Parameters:
address- the addresses
-
getTimeCalculationType
Returns the collection of time calculation types that was set as filter.- Returns:
- the time calculation types
-
setTimeCalculationType
Sets the collection of time calculation types as filter.- Parameters:
timeCalculationType- the time calculation types
-
isLoan
Checks if the team that was set as filter is a loan.- Returns:
- true if is the team is a loan, false otherwise
-
setLoan
Sets the team to loan as filter.- Parameters:
loan- true if the team must be a loan, false otherwise
-
getType
Returns the collection of team types that was set as filter.- Returns:
- the team types
-
setType
Sets the collection of team types as filter.- Parameters:
type- the team types
-
getTeamCardinality
Returns the collection of team cardinalities that was set as filter.- Returns:
- the team cardinalities
-
setTeamCardinality
Sets the collection of team cardinalities as filter.- Parameters:
teamCardinality- the team cardinalities
-
getEndDayAddress
Returns the collection of end day addresses that was set as filter.- Returns:
- the end day addresses
-
setEndDayAddress
Sets the collection of end day addresses as filter.- Parameters:
endDayAddress- the end day address
-
getOssSpace
Returns the collection of oss spaces that was set as filter.- Returns:
- the oss spaces
-
setOssSpace
Sets the collection of oss spaces as filter.- Parameters:
ossSpace- the oss spaces
-
getColor
Returns the team color that was set as filter.- Returns:
- the team color
-
setColor
Sets the team color as filter.- Parameters:
color- the team color
-
getTeamLocation
Returns the collection of working team locations that was set as filter.- Returns:
- the working team locations
-
setTeamLocation
Sets the collection of working team locations as filter.- Parameters:
teamLocation- the working team locations
-
getTeamDislocation
Returns the collection of working team dislocations that was set as filter.- Returns:
- the working team dislocations
-
setTeamDislocation
Sets the collection of working team dislocations as filter.- Parameters:
teamDislocation- the working team dislocations
-