Class DTOBundlingRuleFilter
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.bundler.rs1.bundlingrule.DTOBundlingRuleFilter
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
DTO representing a search filter to search for bundling rule.
- Since:
- 20.1
- See Also:
- GCApi:
- dto
-
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 TypeMethodDescriptionfinal BooleanChecks if the bundling rule that was set as filter is active.final BooleanChecks if the bundling rule execution that was set as filter is automatic.final BooleanChecks if the searched bundling rule is by operation type.final BooleanChecks if the searched bundling rule is by request type.final BooleanChecks if the searched bundling rule is by service type.final BooleanChecks if the searched bundling rule is by team cardinality.final BooleanChecks if the searched bundling rule is by technical object type.final Collection<String> getCode()Returns the bundling rule code that was set as filter.final LocalizedStringReturns the bundling rule description that was set as filter.final Collection<Long> getId()Returns the bundling rule id that was set as filter.final BooleanChecks if the bundling rule is set as default.final LongReturns the location bundling type of the rule that was set as filter.final BooleanChecks if the bundling rule execution that was set as filter is manual.final LongReturns the max bundle duration that was set as filter.final LongReturns the max bundle size that was set as filter.final LongReturns the min bundle size that was set as filter.final LongReturns the bundling rule priority.final LongReturns the technical object bundling type of the rule that was set as filter.final voidSets the bundling rule to active as filter.final voidsetAutomaticExecution(Boolean automaticExecution) Sets the bundling rule execution to automatic as filter.final voidsetBundlingByOperationType(Boolean bundlingByOperationType) Sets the bundling rule by operation type as filter.final voidsetBundlingByRequestType(Boolean bundlingByRequestType) Sets the bundling rule by request type as filter.final voidsetBundlingByServiceType(Boolean bundlingByServiceType) Sets the bundling rule by service type as filter.final voidsetBundlingByTeamCardinality(Boolean bundlingByTeamCardinality) Sets the bundling rule by team cardinality as filter.final voidsetBundlingByTechnicalObjectType(Boolean bundlingByTechnicalObjectType) Sets the bundling rule by technical object type as filter.final voidsetCode(Collection<String> code) Sets the bundling rule code as filter.final voidsetDescription(LocalizedString description) Sets the bundling rule description as filter.final voidsetId(Collection<Long> id) Sets the bundling rule id as filter.final voidsetIsDefault(Boolean isDefault) Sets if the bundling rule is default.final voidsetLocationBundlingType(Long locationBundlingType) Sets the location bundling type of the rule as filter.final voidsetManualExecution(Boolean manualExecution) Sets the bundling rule execution to manual as filter.final voidsetMaxBundleDuration(Long maxBundleDuration) Sets the max bundle duration as filter.final voidsetMaxBundleSize(Long maxBundleSize) Sets the max bundle size as filter.final voidsetMinBundleSize(Long minBundleSize) Sets the min bundle size as filter.final voidsetPriority(Long priority) Sets the bundling rule priority.final voidsetTechnicalObjectBundlingType(Long technicalObjectBundlingType) Sets the technical object bundling type of the rule 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
-
DTOBundlingRuleFilter
public DTOBundlingRuleFilter()
-
-
Method Details
-
getId
Returns the bundling rule id that was set as filter.- Returns:
- the id
-
setId
Sets the bundling rule id as filter.- Parameters:
id- the id
-
getCode
Returns the bundling rule code that was set as filter.- Returns:
- the code
-
setCode
Sets the bundling rule code as filter.- Parameters:
code- the code
-
getDescription
Returns the bundling rule description that was set as filter.- Returns:
- the description
-
setDescription
Sets the bundling rule description as filter.- Parameters:
description- the description
-
getPriority
Returns the bundling rule priority.- Returns:
- the priority
-
setPriority
Sets the bundling rule priority.- Parameters:
priority- the priority
-
getActive
Checks if the bundling rule that was set as filter is active.- Returns:
- true if the bundling rule is active, false otherwise
-
setActive
Sets the bundling rule to active as filter.- Parameters:
active- true if the bundling rule must be active, false otherwise
-
getManualExecution
Checks if the bundling rule execution that was set as filter is manual.- Returns:
- true if the bundling rule execution is manual, false otherwise
-
setManualExecution
Sets the bundling rule execution to manual as filter.- Parameters:
manualExecution- true if the bundling rule execution can be manual, false otherwise
-
getAutomaticExecution
Checks if the bundling rule execution that was set as filter is automatic.- Returns:
- true if the bundling rule execution is automatic, false otherwise
-
setAutomaticExecution
Sets the bundling rule execution to automatic as filter.- Parameters:
automaticExecution- true if the bundling rule execution can be automatic, false otherwise
-
getTechnicalObjectBundlingType
Returns the technical object bundling type of the rule that was set as filter.- Returns:
- the technical object bundling type
- See Also:
-
setTechnicalObjectBundlingType
Sets the technical object bundling type of the rule as filter.- Parameters:
technicalObjectBundlingType- the technical object bundling type- See Also:
-
getLocationBundlingType
Returns the location bundling type of the rule that was set as filter.- Returns:
- the location bundling type
- See Also:
-
setLocationBundlingType
Sets the location bundling type of the rule as filter.- Parameters:
locationBundlingType- the location bundling type- See Also:
-
getBundlingByRequestType
Checks if the searched bundling rule is by request type.- Returns:
- true if the bundling rule is by request type, false otherwise
-
setBundlingByRequestType
Sets the bundling rule by request type as filter.- Parameters:
bundlingByRequestType- true if the bundling rule must be by request type, false otherwise
-
getBundlingByServiceType
Checks if the searched bundling rule is by service type.- Returns:
- true if the bundling rule is by service type, false otherwise
-
setBundlingByServiceType
Sets the bundling rule by service type as filter.- Parameters:
bundlingByServiceType- true if the bundling rule must be by service type, false otherwise
-
getBundlingByTechnicalObjectType
Checks if the searched bundling rule is by technical object type.- Returns:
- true if the bundling rule is by technical object type, false otherwise
-
setBundlingByTechnicalObjectType
Sets the bundling rule by technical object type as filter.- Parameters:
bundlingByTechnicalObjectType- true if the bundling rule must be by technical object type, false otherwise
-
getBundlingByOperationType
Checks if the searched bundling rule is by operation type.- Returns:
- true if the bundling rule is by operation type, false otherwise
-
setBundlingByOperationType
Sets the bundling rule by operation type as filter.- Parameters:
bundlingByOperationType- true if the bundling rule must be by operation type, false otherwise
-
getMinBundleSize
Returns the min bundle size that was set as filter.- Returns:
- the min bundle size
-
setMinBundleSize
Sets the min bundle size as filter.- Parameters:
minBundleSize- the min bundle size
-
getMaxBundleSize
Returns the max bundle size that was set as filter.- Returns:
- the max bundle size
-
setMaxBundleSize
Sets the max bundle size as filter.- Parameters:
maxBundleSize- the max bundle size
-
getMaxBundleDuration
Returns the max bundle duration that was set as filter.- Returns:
- the max bundle duration
-
setMaxBundleDuration
Sets the max bundle duration as filter.- Parameters:
maxBundleDuration- the max bundle duration
-
getBundlingByTeamCardinality
Checks if the searched bundling rule is by team cardinality.- Returns:
- true if the bundling rule is by team cardinality, false otherwise
-
setBundlingByTeamCardinality
Sets the bundling rule by team cardinality as filter.- Parameters:
bundlingByTeamCardinality- true if the bundling rule must be by team cardinality, false otherwise
-
getIsDefault
Checks if the bundling rule is set as default.- Returns:
- true if the rule is set as default, false otherwise
-
setIsDefault
Sets if the bundling rule is default.- Parameters:
isDefault- true if the rule is default, false otherwise
-