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

@EntityRef(AssetEntity.class) public class AssetSearchFilter extends DynO
Business object representing a search filter for the asset.
Since:
16.0
See Also:
GCApi:
bo
  • Constructor Details

    • AssetSearchFilter

      public AssetSearchFilter()
  • Method Details

    • getId

      public Collection<Long> getId()
      Returns the collection of asset ids
      Returns:
      the asset id
    • setId

      public void setId(Collection<Long> id)
      Sets the list of asset ids
      Parameters:
      id - the asset ids
    • getParent

      public Collection<Long> getParent()
      Returns the collection of the asset ids parent that was set as filter.
      Returns:
      the parent asset id
      See Also:
    • setParent

      public void setParent(Collection<Long> parent)
      Sets the list of asset parent ids as a filter.
      Parameters:
      parent - the parent asset ids
      See Also:
    • getRoot

      public Collection<Long> getRoot()
      Returns the collection of the asset ids root that was set as filter.
      Returns:
      the root asset id
      See Also:
    • setRoot

      public void setRoot(Collection<Long> root)
      Sets the list of asset root ids as a filter.
      Parameters:
      root - the root asset id
      See Also:
    • getCode

      public Collection<String> getCode()
      Returns the asset code that was set as filter.
      Returns:
      the code
    • setCode

      public void setCode(Collection<String> code)
      Sets the asset code as filter.
      Parameters:
      code - the code
    • getDescription

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

      public void setDescription(String description)
      Sets the asset description as filter.
      Parameters:
      description - the description
    • getType

      public Collection<Long> getType()
      Returns the collection of the asset type ids that was set as filter.
      Returns:
      the ids of the type
    • setType

      public void setType(Collection<Long> type)
      Sets the list of asset type ids as a filter.
      Parameters:
      type - the ids of the type
    • getOperationCenter

      public Collection<Long> getOperationCenter()
      Returns the collection of the operation center ids that was set as filter.
      Returns:
      the operation center ids
    • setOperationCenter

      public void setOperationCenter(Collection<Long> operationCenter)
      Sets the list of operation center ids as a filter.
      Parameters:
      operationCenter - the operation center ids
    • getStatus

      public Collection<Long> getStatus()
      Returns the collection of the asset status ids that was set as filter.
      Returns:
      the status id
    • setStatus

      public void setStatus(Collection<Long> status)
      Sets the list of asset status ids as a filter.
      Parameters:
      status - the status ids
    • getExternalSystem

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

      public void setExternalSystem(Collection<Long> externalSystem)
      Sets the list of asset external system ids as a filter.
      Parameters:
      externalSystem - the external system id
    • getExternalCode

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

      public void setExternalCode(String externalCode)
      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

      public Collection<Long> getWorkCenter()
      Returns the work center id of the asset that was set as filter.
      Returns:
      the work center id
    • setWorkCenter

      public void setWorkCenter(Collection<Long> workCenter)
      Sets the work center id of the asset as filter.
      Parameters:
      workCenter - the work center id