Class AssetSearchFilter
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.assets.bl.event.AssetSearchFilter
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a search filter for the asset.
- 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 code that was set as filter.Returns the asset description that was set as filter.Returns the external code of the asset that was set as a filter.Returns the collection of the asset external system ids that was set as filter.getId()Returns the collection of asset idsReturns the collection of the operation center ids that was set as filter.Returns the collection of the asset ids parent that was set as filter.getRoot()Returns the collection of the asset ids root that was set as filter.Returns the collection of the asset status ids that was set as filter.getType()Returns the collection of the asset type ids that was set as filter.Returns the work center id of the asset that was set as filter.voidsetCode(Collection<String> code) Sets the asset code as filter.voidsetDescription(String description) Sets the asset description as filter.voidsetExternalCode(String externalCode) Sets the external code of the asset to be used as filter.voidsetExternalSystem(Collection<Long> externalSystem) Sets the list of asset external system ids as a filter.voidsetId(Collection<Long> id) Sets the list of asset idsvoidsetOperationCenter(Collection<Long> operationCenter) Sets the list of operation center ids as a filter.voidsetParent(Collection<Long> parent) Sets the list of asset parent ids as a filter.voidsetRoot(Collection<Long> root) Sets the list of asset root ids as a filter.voidsetStatus(Collection<Long> status) Sets the list of asset status ids as a filter.voidsetType(Collection<Long> type) Sets the list of asset type ids as a filter.voidsetWorkCenter(Collection<Long> workCenter) Sets the work center id of the asset 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
-
AssetSearchFilter
public AssetSearchFilter()
-
-
Method Details
-
getId
Returns the collection of asset ids- Returns:
- the asset id
-
setId
Sets the list of asset ids- Parameters:
id- the asset ids
-
getParent
Returns the collection of the asset ids parent that was set as filter.- Returns:
- the parent asset id
- See Also:
-
setParent
Sets the list of asset parent ids as a filter.- Parameters:
parent- the parent asset ids- See Also:
-
getRoot
Returns the collection of the asset ids root that was set as filter.- Returns:
- the root asset id
- See Also:
-
setRoot
Sets the list of asset root ids as a filter.- Parameters:
root- the root asset id- See Also:
-
getCode
Returns the asset code that was set as filter.- Returns:
- the code
-
setCode
Sets the asset code as filter.- Parameters:
code- the code
-
getDescription
Returns the asset description that was set as filter.- Returns:
- the description
-
setDescription
Sets the asset description as filter.- Parameters:
description- the description
-
getType
Returns the collection of the asset type ids that was set as filter.- Returns:
- the ids of the type
-
setType
Sets the list of asset type ids as a filter.- Parameters:
type- the ids of the type
-
getOperationCenter
Returns the collection of the operation center ids that was set as filter.- Returns:
- the operation center ids
-
setOperationCenter
Sets the list of operation center ids as a filter.- Parameters:
operationCenter- the operation center ids
-
getStatus
Returns the collection of the asset status ids that was set as filter.- Returns:
- the status id
-
setStatus
Sets the list of asset status ids as a filter.- Parameters:
status- the status ids
-
getExternalSystem
Returns the collection of the asset external system ids that was set as filter.- Returns:
- the external system ids
-
setExternalSystem
Sets the list of asset external system ids as a filter.- Parameters:
externalSystem- the external system id
-
getExternalCode
Returns the external code of the asset that was set as a filter.- Returns:
- externalCode the the external code of the asset that was set as a filter
-
setExternalCode
Sets the external code of the asset to be used as filter.- Parameters:
externalCode- the external code of the asset to be used as filter
-
getWorkCenter
Returns the work center id of the asset that was set as filter.- Returns:
- the work center id
-
setWorkCenter
Sets the work center id of the asset as filter.- Parameters:
workCenter- the work center id
-