Class MaterialSearchFilter
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.materials.bl.material.event.MaterialSearchFilter
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a search filter for the
BOMaterial. - Since:
- 17.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 TypeMethodDescriptionRChecks if the material that was set as filter is active.Returns the material alternative code that was set as filter.getBrand()Returns the material brand that was set as filter.getCode()Returns the material description that was set as filter.Returns the material extended description that was set as filter.Returns the material external status that was set as filter.Returns the material external system that was set as filter.Checks if the material that was set as filter is generic.Returns the material goods group that was set as filter.getId()Returns the collection of the on call shift id that was set as filter.Returns the material item type that was set as filter.Checks if the material that was set as filter is managed in stock.Returns the material management type that was set as filter.Returns the material material class that was set as filter.Returns the material measure unit that was set as filter.getNote()Returns the material note that was set as filter.getType()Returns the material type that was set as filter.Returns the material validity begin that was set as filter.Returns the material validity end that was set as filter.voidSets the material to active as filter.voidsetAlternativeCode(String alternativeCode) Sets the material alternative code as filter.voidsetBrand(Collection<Long> brand) Sets the material brand as filter.voidsetCode(Collection<String> code) voidsetDescription(LocalizedString description) Sets the material description as filter.voidsetExtendedDescription(LocalizedString extendedDescription) Sets the material extended description as filter.voidsetExternalStatus(String externalStatus) Sets the material external status as filter.voidsetExternalSystem(Collection<Long> externalSystem) Sets the material external system as filter.voidsetGeneric(Boolean generic) Sets the material to generic as filter.voidsetGoodsGroup(Collection<Long> goodsGroup) Sets the material goods group as filter.voidsetId(Collection<Long> id) Sets the collection of the on call shift id as filter.voidsetItemType(Collection<Long> itemType) Sets the material item type as filter.voidsetManagedInStock(Boolean managedInStock) Sets the material to managed in stock as filter.voidsetManagementType(Collection<Long> managementType) Sets the material management type as filter.voidsetMaterialClass(Collection<Long> materialClass) Sets the material material class as filter.voidsetMeasureUnit(Collection<Long> measureUnit) Sets the material measure unit as filter.voidsetNote(LocalizedString note) Sets the material note as filter.voidSets the material type as filter.voidsetValidityBegin(DateTimeRange validityBegin) Sets the material validity begin as filter.voidsetValidityEnd(DateTimeRange validityEnd) Sets the material validity end 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
-
MaterialSearchFilter
public MaterialSearchFilter()
-
-
Method Details
-
getId
Returns the collection of the on call shift id that was set as filter.- Returns:
- the collection of id
-
setId
Sets the collection of the on call shift id as filter.- Parameters:
id- the collection of id
-
getCode
-
setCode
-
getAlternativeCode
Returns the material alternative code that was set as filter.- Returns:
- the material alternative code
-
setAlternativeCode
Sets the material alternative code as filter.- Parameters:
alternativeCode- the material alternative code
-
getDescription
Returns the material description that was set as filter.- Returns:
- the material description
-
setDescription
Sets the material description as filter.- Parameters:
description- the material description
-
getExternalStatus
Returns the material external status that was set as filter.- Returns:
- the material external status
-
setExternalStatus
Sets the material external status as filter.- Parameters:
externalStatus- the material external status
-
getExtendedDescription
Returns the material extended description that was set as filter.- Returns:
- the material extended description
-
setExtendedDescription
Sets the material extended description as filter.- Parameters:
extendedDescription- the material extended description
-
getValidityBegin
Returns the material validity begin that was set as filter.- Returns:
- the material validity begin
-
setValidityBegin
Sets the material validity begin as filter.- Parameters:
validityBegin- the material validity begin
-
getValidityEnd
Returns the material validity end that was set as filter.- Returns:
- the material validity end
-
setValidityEnd
Sets the material validity end as filter.- Parameters:
validityEnd- the material validity end
-
getType
Returns the material type that was set as filter.- Returns:
- the material type
- See Also:
-
setType
Sets the material type as filter.- Parameters:
type- the material type- See Also:
-
getManagementType
Returns the material management type that was set as filter.- Returns:
- the material management type
- See Also:
-
setManagementType
Sets the material management type as filter.- Parameters:
managementType- the material management type- See Also:
-
getMeasureUnit
Returns the material measure unit that was set as filter.- Returns:
- the material measure unit
-
setMeasureUnit
Sets the material measure unit as filter.- Parameters:
measureUnit- the material measure unit
-
getMaterialClass
Returns the material material class that was set as filter.- Returns:
- the material material class
- See Also:
-
setMaterialClass
Sets the material material class as filter.- Parameters:
materialClass- the material material class- See Also:
-
getBrand
Returns the material brand that was set as filter.- Returns:
- the material brand
-
setBrand
Sets the material brand as filter.- Parameters:
brand- the material brand
-
getItemType
Returns the material item type that was set as filter.- Returns:
- the material item type
-
setItemType
Sets the material item type as filter.- Parameters:
itemType- the material item type
-
getGoodsGroup
Returns the material goods group that was set as filter.- Returns:
- the material goods group
- See Also:
-
setGoodsGroup
Sets the material goods group as filter.- Parameters:
goodsGroup- the material goods group- See Also:
-
getExternalSystem
Returns the material external system that was set as filter.- Returns:
- the material external system
-
setExternalSystem
Sets the material external system as filter.- Parameters:
externalSystem- the material external system
-
getNote
Returns the material note that was set as filter.- Returns:
- the material note
-
setNote
Sets the material note as filter.- Parameters:
note- the material note
-
getActive
RChecks if the material that was set as filter is active.- Returns:
- true if the material is active, false otherwise
-
setActive
Sets the material to active as filter.- Parameters:
active- true if the material must be active, false otherwise
-
getGeneric
Checks if the material that was set as filter is generic.- Returns:
- true if the material is generic, false otherwise
-
setGeneric
Sets the material to generic as filter.- Parameters:
generic- true if the material must be generic, false otherwise
-
getManagedInStock
Checks if the material that was set as filter is managed in stock.- Returns:
- true if the material is managed in stock, false otherwise
-
setManagedInStock
Sets the material to managed in stock as filter.- Parameters:
managedInStock- true if the material must be managed in stock, false otherwise
-