Class ResourceSearchFilter

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.resources.bl.resource.event.ResourceSearchFilter
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

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

    • ResourceSearchFilter

      public ResourceSearchFilter()
  • Method Details

    • getId

      public Collection<Long> getId()
      Returns the resource ids.
      Returns:
      the resource ids
    • setId

      public void setId(Collection<Long> id)
      Sets the resource ids.
      Parameters:
      id - the resource ids
    • getSurname

      public String getSurname()
      Returns the surname.
      Returns:
      the surname
    • setSurname

      public void setSurname(String surname)
      Sets the surname.
      Parameters:
      surname - the surname
    • getName

      public String getName()
      Returns the name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - the name
    • getBirthDate

      public DateTimeRange getBirthDate()
      Returns the birthdate.
      Returns:
      the birthdate
    • setBirthDate

      public void setBirthDate(DateTimeRange birthDate)
      Sets the birthDate.
      Parameters:
      birthDate - the birthDate
    • getEmail

      public String getEmail()
      Returns the email.
      Returns:
      the email
    • setEmail

      public void setEmail(String email)
      Sets the email.
      Parameters:
      email - the email
    • getOperationCenter

      public Collection<Long> getOperationCenter()
      Returns the operation center.
      Returns:
      the operation center
    • setOperationCenter

      public void setOperationCenter(Collection<Long> operationCenter)
      Sets the operation center.
      Parameters:
      operationCenter - the operation center
    • getMobilePhone

      public String getMobilePhone()
      Returns the mobile phone.
      Returns:
      the mobile phone
    • setMobilePhone

      public void setMobilePhone(String mobilePhone)
      Sets the mobile phone.
      Parameters:
      mobilePhone - the mobile phone
    • getStartAddress

      public Collection<Long> getStartAddress()
      Returns the start address.
      Returns:
      the start address
    • setStartAddress

      public void setStartAddress(Collection<Long> startAddress)
      Sets the start address.
      Parameters:
      startAddress - the start address
    • getEndAddress

      public Collection<Long> getEndAddress()
      Returns the end address.
      Returns:
      the end address
    • setEndAddress

      public void setEndAddress(Collection<Long> endAddress)
      Sets the end address.
      Parameters:
      endAddress - the end address
    • getIdentificationNumber

      public Collection<String> getIdentificationNumber()
      Returns the identification number.
      Returns:
      the identification number
    • setIdentificationNumber

      public void setIdentificationNumber(Collection<String> identificationNumber)
      Sets the identification number.
      Parameters:
      identificationNumber - the identification number
    • getResourceType

      public Collection<Long> getResourceType()
      Returns the resource type.
      Returns:
      the resource type
    • setResourceType

      public void setResourceType(Collection<Long> resourceType)
      Sets the resource type.
      Parameters:
      resourceType - the resource type
    • getWorkingTimeType

      public Collection<Long> getWorkingTimeType()
      Returns the working time type.
      Returns:
      the working time type
    • setWorkingTimeType

      public void setWorkingTimeType(Collection<Long> workingTimeType)
      Sets the working time type.
      Parameters:
      workingTimeType - the working time type
    • getColor

      public String getColor()
      Returns the color.
      Returns:
      the color
    • setColor

      public void setColor(String color)
      Sets the color.
      Parameters:
      color - the color
    • getVehicle

      public Collection<Long> getVehicle()
      Returns the vehicle.
      Returns:
      the vehicle
    • setVehicle

      public void setVehicle(Collection<Long> vehicle)
      Sets the vehicle.
      Parameters:
      vehicle - the vehicle
    • getOrder

      public Long getOrder()
      Returns the order.
      Returns:
      the order
    • setOrder

      public void setOrder(Long order)
      Sets the order.
      Parameters:
      order - the order
    • getSingleTeam

      public Collection<Long> getSingleTeam()
      Returns the single team.
      Returns:
      the single team
    • setSingleTeam

      public void setSingleTeam(Collection<Long> singleTeam)
      Sets the single team.
      Parameters:
      singleTeam - the single team
    • getWorkCenter

      public Collection<Long> getWorkCenter()
      Returns the work center.
      Returns:
      the work center
    • setWorkCenter

      public void setWorkCenter(Collection<Long> workCenter)
      Sets the work center.
      Parameters:
      workCenter - the work center
    • getResourceManagement

      public Collection<Long> getResourceManagement()
      Returns the resource management.
      Returns:
      the resource management
    • setResourceManagement

      public void setResourceManagement(Collection<Long> resourceManagement)
      Sets the resource management.
      Parameters:
      resourceManagement - the resource management
    • getOssSpace

      public Collection<Long> getOssSpace()
      Returns the collection of oss space ids that was set as filter.
      Returns:
      a collection of oss space ids
    • setOssSpace

      public void setOssSpace(Collection<Long> ossSpace)
      Sets the collection of oss space ids as filter.
      Parameters:
      ossSpace - the oss space ids
    • getStartDate

      public DateTimeRange getStartDate()
      Returns the start date.
      Returns:
      the start
    • setStartDate

      public void setStartDate(DateTimeRange startDate)
      Sets the start date.
      Parameters:
      startDate - the start date
    • getEndDate

      public DateTimeRange getEndDate()
      Returns the end date.
      Returns:
      the end
    • setEndDate

      public void setEndDate(DateTimeRange endDate)
      Sets the end date.
      Parameters:
      endDate - the end date
    • getSecondaryIdentificationNumber

      public Collection<String> getSecondaryIdentificationNumber()
      Returns the secondary identification number.
      Returns:
      the secondary identification number
    • setSecondaryIdentificationNumber

      public void setSecondaryIdentificationNumber(Collection<String> secondaryIdentificationNumber)
      Sets the secondary identification number.
      Parameters:
      secondaryIdentificationNumber - the secondary identification number
    • getUsername

      public String getUsername()
      Returns the username.
      Returns:
      the username
    • setUsername

      public void setUsername(String username)
      Sets the username.
      Parameters:
      username - the username
    • isLoan

      public Boolean isLoan()
      Checks whether the resource that was set as filter is on loan.
      Returns:
      true if the resource is on loan, false otherwise
    • setLoan

      public void setLoan(Boolean loan)
      Sets the resource as on loan as filter.
      Parameters:
      loan - true if the resource must be on loan, false otherwise
    • getLoanSource

      public Collection<Long> getLoanSource()
      Returns the ids of the original resource from which the loan is made.
      Returns:
      the loan source ids
    • setLoanSource

      public void setLoanSource(Collection<Long> loanSource)
      Sets the given resource ids as loan source in the filter.
      Parameters:
      loanSource - the loan source ids
    • getCopyCompetencies

      public Boolean getCopyCompetencies()
      Checks whether the competencies need to be copied from the original source to all the related resource on loan.
      Returns:
      true if the competencies need to be copied, false otherwise
    • setCopyCompetencies

      public void setCopyCompetencies(Boolean copyCompetencies)
      Sets the copy competencies flag as filter.
      Parameters:
      copyCompetencies - true if the competencies need to be copied, false otherwise
    • getDummy

      public Boolean getDummy()
      Checks whether the resource is a dummy.
      Returns:
      true if the resource is a dummy, false otherwise
    • setDummy

      public void setDummy(Boolean dummy)
      Sets the resource as dummy as filter.
      Parameters:
      dummy - true if the resource must be dummy, false otherwise