Class AssetStatusSearchFilter
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.assets.bl.status.event.AssetStatusSearchFilter
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a research filter for the asset status.
- 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 TypeMethodDescriptiongetCode()Returns the asset status code that was set as filter.getColor()Returns the asset status color that was set as filter.Returns the asset status description that was set as filter.getId()Returns the asset status ids that was set as filter.getOrder()Returns the asset status order that was set as filter.getType()Returns the ids of the asset status type that was set as filter.Returns the type category of the asset status that was set as filter.isActive()Checks if the asset status that was set as filter is active.voidSets the asset status to active as filter.voidsetCode(Collection<String> code) Sets the asset status code as filter.voidSets the asset status color as filter.voidsetDescription(LocalizedString description) Sets the asset status description as filter.voidsetId(Collection<Long> id) Sets the asset status ids as filter.voidSets the asset status order as filter.voidsetType(Collection<Long> type) Sets the ids of the asset status type as filter.voidsetTypeCategory(Long typeCategory) Sets the type category of the asset status 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
-
AssetStatusSearchFilter
public AssetStatusSearchFilter()
-
-
Method Details
-
getId
Returns the asset status ids that was set as filter.- Returns:
- the asset status ids
-
setId
Sets the asset status ids as filter.- Parameters:
id- the asset status ids
-
getCode
Returns the asset status code that was set as filter.- Returns:
- the code
-
setCode
Sets the asset status code as filter.- Parameters:
code- the code
-
getColor
Returns the asset status color that was set as filter.- Returns:
- the color
-
setColor
Sets the asset status color as filter.- Parameters:
color- the color
-
getDescription
Returns the asset status description that was set as filter.- Returns:
- the description
-
setDescription
Sets the asset status description as filter.- Parameters:
description- the description
-
getType
Returns the ids of the asset status type that was set as filter.- Returns:
- the ids of the type
-
setType
Sets the ids of the asset status type as filter.- Parameters:
type- the type ids
-
getTypeCategory
Returns the type category of the asset status that was set as filter.- Returns:
- the type category
-
setTypeCategory
Sets the type category of the asset status as filter.- Parameters:
typeCategory- type category
-
getOrder
Returns the asset status order that was set as filter.- Returns:
- the order
-
setOrder
Sets the asset status order as filter.- Parameters:
order- the order
-
isActive
Checks if the asset status that was set as filter is active.- Returns:
- true if is the asset status is active, false otherwise
-
setActive
Sets the asset status to active as filter.- Parameters:
active- true if the asset status must be active, false otherwise
-