Class MunicipalitySearchFilter
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.locations.bl.municipality.event.MunicipalitySearchFilter
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a search filter for the municipalities.
- 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 ids of the municipality activity that was set as filter.getCode()Returns the municipality code that was set as filter.Returns the municipality description that was set as filter.Returns the municipality district codes that was set as filter.Returns the municipality external code that was set as filter.Returns the ids of the municipality external system that was set as filter.getId()Returns the municipality ids that was set as filter.Returns the municipality istat code that was set as filter.Checks if the municipality that was set as filter is visible.voidsetActivity(Collection<Long> activity) Sets the ids of the municipality activity as filter.voidsetCode(Collection<String> code) Sets the municipality code as filter.voidsetDescription(String description) Sets the municipality description as filter.voidsetDistrictCode(Collection<String> districtCode) Sets the municipality district codes as filter.voidsetExternalCode(String externalCode) Sets the municipality external code as filter.voidsetExternalSystem(Collection<Long> externalSystem) Sets the ids of the municipality external system as filter.voidsetId(Collection<String> id) Sets the municipality ids as filter.voidsetIstatCode(String istatCode) Sets the municipality istat code as filter.voidsetVisible(Boolean visible) Sets the municipality to visible 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
-
MunicipalitySearchFilter
public MunicipalitySearchFilter()
-
-
Method Details
-
getId
Returns the municipality ids that was set as filter.- Returns:
- the ids
-
setId
Sets the municipality ids as filter.- Parameters:
id- the ids
-
getDescription
Returns the municipality description that was set as filter.- Returns:
- the description
-
setDescription
Sets the municipality description as filter.- Parameters:
description- the description
-
getCode
Returns the municipality code that was set as filter.- Returns:
- the code
-
setCode
Sets the municipality code as filter.- Parameters:
code- the code
-
getExternalCode
Returns the municipality external code that was set as filter.- Returns:
- the external code
-
setExternalCode
Sets the municipality external code as filter.- Parameters:
externalCode- the external code
-
isVisible
Checks if the municipality that was set as filter is visible.- Returns:
- true if is the municipality is visible, false otherwise
-
setVisible
Sets the municipality to visible as filter.- Parameters:
visible- true if the municipality must be visible, false otherwise
-
getDistrictCode
Returns the municipality district codes that was set as filter.- Returns:
- the district codes
- See Also:
-
setDistrictCode
Sets the municipality district codes as filter.- Parameters:
districtCode- the district codes- See Also:
-
getExternalSystem
Returns the ids of the municipality external system that was set as filter.- Returns:
- the external system ids
-
setExternalSystem
Sets the ids of the municipality external system as filter.- Parameters:
externalSystem- the external system ids
-
getActivity
Returns the ids of the municipality activity that was set as filter.- Returns:
- the activity ids
-
setActivity
Sets the ids of the municipality activity as filter.- Parameters:
activity- the activity ids
-
getIstatCode
Returns the municipality istat code that was set as filter.- Returns:
- the istat code
-
setIstatCode
Sets the municipality istat code as filter.- Parameters:
istatCode- the istat code
-