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

@EntityRef(MaterialEntity.class) public class MaterialSearchFilter extends DynO
Business object representing a search filter for the BOMaterial.
Since:
17.0
See Also:
GCApi:
bo
  • Constructor Details

    • MaterialSearchFilter

      public MaterialSearchFilter()
  • Method Details

    • getId

      public Collection<Long> getId()
      Returns the collection of the on call shift id that was set as filter.
      Returns:
      the collection of id
    • setId

      public void setId(Collection<Long> id)
      Sets the collection of the on call shift id as filter.
      Parameters:
      id - the collection of id
    • getCode

      public Collection<String> getCode()
    • setCode

      public void setCode(Collection<String> code)
    • getAlternativeCode

      public String getAlternativeCode()
      Returns the material alternative code that was set as filter.
      Returns:
      the material alternative code
    • setAlternativeCode

      public void setAlternativeCode(String alternativeCode)
      Sets the material alternative code as filter.
      Parameters:
      alternativeCode - the material alternative code
    • getDescription

      public LocalizedString getDescription()
      Returns the material description that was set as filter.
      Returns:
      the material description
    • setDescription

      public void setDescription(LocalizedString description)
      Sets the material description as filter.
      Parameters:
      description - the material description
    • getExternalStatus

      public String getExternalStatus()
      Returns the material external status that was set as filter.
      Returns:
      the material external status
    • setExternalStatus

      public void setExternalStatus(String externalStatus)
      Sets the material external status as filter.
      Parameters:
      externalStatus - the material external status
    • getExtendedDescription

      public LocalizedString getExtendedDescription()
      Returns the material extended description that was set as filter.
      Returns:
      the material extended description
    • setExtendedDescription

      public void setExtendedDescription(LocalizedString extendedDescription)
      Sets the material extended description as filter.
      Parameters:
      extendedDescription - the material extended description
    • getValidityBegin

      public DateTimeRange getValidityBegin()
      Returns the material validity begin that was set as filter.
      Returns:
      the material validity begin
    • setValidityBegin

      public void setValidityBegin(DateTimeRange validityBegin)
      Sets the material validity begin as filter.
      Parameters:
      validityBegin - the material validity begin
    • getValidityEnd

      public DateTimeRange getValidityEnd()
      Returns the material validity end that was set as filter.
      Returns:
      the material validity end
    • setValidityEnd

      public void setValidityEnd(DateTimeRange validityEnd)
      Sets the material validity end as filter.
      Parameters:
      validityEnd - the material validity end
    • getType

      public Collection<Long> getType()
      Returns the material type that was set as filter.
      Returns:
      the material type
      See Also:
    • setType

      public void setType(Set<Long> type)
      Sets the material type as filter.
      Parameters:
      type - the material type
      See Also:
    • getManagementType

      public Collection<Long> getManagementType()
      Returns the material management type that was set as filter.
      Returns:
      the material management type
      See Also:
    • setManagementType

      public void setManagementType(Collection<Long> managementType)
      Sets the material management type as filter.
      Parameters:
      managementType - the material management type
      See Also:
    • getMeasureUnit

      public Collection<Long> getMeasureUnit()
      Returns the material measure unit that was set as filter.
      Returns:
      the material measure unit
    • setMeasureUnit

      public void setMeasureUnit(Collection<Long> measureUnit)
      Sets the material measure unit as filter.
      Parameters:
      measureUnit - the material measure unit
    • getMaterialClass

      public Collection<Long> getMaterialClass()
      Returns the material material class that was set as filter.
      Returns:
      the material material class
      See Also:
    • setMaterialClass

      public void setMaterialClass(Collection<Long> materialClass)
      Sets the material material class as filter.
      Parameters:
      materialClass - the material material class
      See Also:
    • getBrand

      public Collection<Long> getBrand()
      Returns the material brand that was set as filter.
      Returns:
      the material brand
    • setBrand

      public void setBrand(Collection<Long> brand)
      Sets the material brand as filter.
      Parameters:
      brand - the material brand
    • getItemType

      public Collection<Long> getItemType()
      Returns the material item type that was set as filter.
      Returns:
      the material item type
    • setItemType

      public void setItemType(Collection<Long> itemType)
      Sets the material item type as filter.
      Parameters:
      itemType - the material item type
    • getGoodsGroup

      public Collection<Long> getGoodsGroup()
      Returns the material goods group that was set as filter.
      Returns:
      the material goods group
      See Also:
    • setGoodsGroup

      public void setGoodsGroup(Collection<Long> goodsGroup)
      Sets the material goods group as filter.
      Parameters:
      goodsGroup - the material goods group
      See Also:
    • getExternalSystem

      public Collection<Long> getExternalSystem()
      Returns the material external system that was set as filter.
      Returns:
      the material external system
    • setExternalSystem

      public void setExternalSystem(Collection<Long> externalSystem)
      Sets the material external system as filter.
      Parameters:
      externalSystem - the material external system
    • getNote

      public LocalizedString getNote()
      Returns the material note that was set as filter.
      Returns:
      the material note
    • setNote

      public void setNote(LocalizedString note)
      Sets the material note as filter.
      Parameters:
      note - the material note
    • getActive

      public Boolean getActive()
      RChecks if the material that was set as filter is active.
      Returns:
      true if the material is active, false otherwise
    • setActive

      public void setActive(Boolean active)
      Sets the material to active as filter.
      Parameters:
      active - true if the material must be active, false otherwise
    • getGeneric

      public Boolean getGeneric()
      Checks if the material that was set as filter is generic.
      Returns:
      true if the material is generic, false otherwise
    • setGeneric

      public void setGeneric(Boolean generic)
      Sets the material to generic as filter.
      Parameters:
      generic - true if the material must be generic, false otherwise
    • getManagedInStock

      public Boolean 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

      public void setManagedInStock(Boolean managedInStock)
      Sets the material to managed in stock as filter.
      Parameters:
      managedInStock - true if the material must be managed in stock, false otherwise