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
Business object representing a search filter for the resources.
- 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 TypeMethodDescriptionReturns the birthdate.getColor()Returns the color.Checks whether the competencies need to be copied from the original source to all the related resource on loan.getDummy()Checks whether the resource is a dummy.getEmail()Returns the email.Returns the end address.Returns the end date.getId()Returns the resource ids.Returns the identification number.Returns the ids of the original resource from which the loan is made.Returns the mobile phone.getName()Returns the name.Returns the operation center.getOrder()Returns the order.Returns the collection of oss space ids that was set as filter.Returns the resource management.Returns the resource type.Returns the secondary identification number.Returns the single team.Returns the start address.Returns the start date.Returns the surname.Returns the username.Returns the vehicle.Returns the work center.Returns the working time type.isLoan()Checks whether the resource that was set as filter is on loan.voidsetBirthDate(DateTimeRange birthDate) Sets the birthDate.voidSets the color.voidsetCopyCompetencies(Boolean copyCompetencies) Sets the copy competencies flag as filter.voidSets the resource as dummy as filter.voidSets the email.voidsetEndAddress(Collection<Long> endAddress) Sets the end address.voidsetEndDate(DateTimeRange endDate) Sets the end date.voidsetId(Collection<Long> id) Sets the resource ids.voidsetIdentificationNumber(Collection<String> identificationNumber) Sets the identification number.voidSets the resource as on loan as filter.voidsetLoanSource(Collection<Long> loanSource) Sets the given resource ids as loan source in the filter.voidsetMobilePhone(String mobilePhone) Sets the mobile phone.voidSets the name.voidsetOperationCenter(Collection<Long> operationCenter) Sets the operation center.voidSets the order.voidsetOssSpace(Collection<Long> ossSpace) Sets the collection of oss space ids as filter.voidsetResourceManagement(Collection<Long> resourceManagement) Sets the resource management.voidsetResourceType(Collection<Long> resourceType) Sets the resource type.voidsetSecondaryIdentificationNumber(Collection<String> secondaryIdentificationNumber) Sets the secondary identification number.voidsetSingleTeam(Collection<Long> singleTeam) Sets the single team.voidsetStartAddress(Collection<Long> startAddress) Sets the start address.voidsetStartDate(DateTimeRange startDate) Sets the start date.voidsetSurname(String surname) Sets the surname.voidsetUsername(String username) Sets the username.voidsetVehicle(Collection<Long> vehicle) Sets the vehicle.voidsetWorkCenter(Collection<Long> workCenter) Sets the work center.voidsetWorkingTimeType(Collection<Long> workingTimeType) Sets the working time type.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
-
ResourceSearchFilter
public ResourceSearchFilter()
-
-
Method Details
-
getId
Returns the resource ids.- Returns:
- the resource ids
-
setId
Sets the resource ids.- Parameters:
id- the resource ids
-
getSurname
Returns the surname.- Returns:
- the surname
-
setSurname
Sets the surname.- Parameters:
surname- the surname
-
getName
Returns the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the name
-
getBirthDate
Returns the birthdate.- Returns:
- the birthdate
-
setBirthDate
Sets the birthDate.- Parameters:
birthDate- the birthDate
-
getEmail
Returns the email.- Returns:
- the email
-
setEmail
Sets the email.- Parameters:
email- the email
-
getOperationCenter
Returns the operation center.- Returns:
- the operation center
-
setOperationCenter
Sets the operation center.- Parameters:
operationCenter- the operation center
-
getMobilePhone
Returns the mobile phone.- Returns:
- the mobile phone
-
setMobilePhone
Sets the mobile phone.- Parameters:
mobilePhone- the mobile phone
-
getStartAddress
Returns the start address.- Returns:
- the start address
-
setStartAddress
Sets the start address.- Parameters:
startAddress- the start address
-
getEndAddress
Returns the end address.- Returns:
- the end address
-
setEndAddress
Sets the end address.- Parameters:
endAddress- the end address
-
getIdentificationNumber
Returns the identification number.- Returns:
- the identification number
-
setIdentificationNumber
Sets the identification number.- Parameters:
identificationNumber- the identification number
-
getResourceType
Returns the resource type.- Returns:
- the resource type
-
setResourceType
Sets the resource type.- Parameters:
resourceType- the resource type
-
getWorkingTimeType
Returns the working time type.- Returns:
- the working time type
-
setWorkingTimeType
Sets the working time type.- Parameters:
workingTimeType- the working time type
-
getColor
Returns the color.- Returns:
- the color
-
setColor
Sets the color.- Parameters:
color- the color
-
getVehicle
Returns the vehicle.- Returns:
- the vehicle
-
setVehicle
Sets the vehicle.- Parameters:
vehicle- the vehicle
-
getOrder
Returns the order.- Returns:
- the order
-
setOrder
Sets the order.- Parameters:
order- the order
-
getSingleTeam
Returns the single team.- Returns:
- the single team
-
setSingleTeam
Sets the single team.- Parameters:
singleTeam- the single team
-
getWorkCenter
Returns the work center.- Returns:
- the work center
-
setWorkCenter
Sets the work center.- Parameters:
workCenter- the work center
-
getResourceManagement
Returns the resource management.- Returns:
- the resource management
-
setResourceManagement
Sets the resource management.- Parameters:
resourceManagement- the resource management
-
getOssSpace
Returns the collection of oss space ids that was set as filter.- Returns:
- a collection of oss space ids
-
setOssSpace
Sets the collection of oss space ids as filter.- Parameters:
ossSpace- the oss space ids
-
getStartDate
Returns the start date.- Returns:
- the start
-
setStartDate
Sets the start date.- Parameters:
startDate- the start date
-
getEndDate
Returns the end date.- Returns:
- the end
-
setEndDate
Sets the end date.- Parameters:
endDate- the end date
-
getSecondaryIdentificationNumber
Returns the secondary identification number.- Returns:
- the secondary identification number
-
setSecondaryIdentificationNumber
Sets the secondary identification number.- Parameters:
secondaryIdentificationNumber- the secondary identification number
-
getUsername
Returns the username.- Returns:
- the username
-
setUsername
Sets the username.- Parameters:
username- the username
-
isLoan
Checks whether the resource that was set as filter is on loan.- Returns:
- true if the resource is on loan, false otherwise
-
setLoan
Sets the resource as on loan as filter.- Parameters:
loan- true if the resource must be on loan, false otherwise
-
getLoanSource
Returns the ids of the original resource from which the loan is made.- Returns:
- the loan source ids
-
setLoanSource
Sets the given resource ids as loan source in the filter.- Parameters:
loanSource- the loan source ids
-
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
Sets the copy competencies flag as filter.- Parameters:
copyCompetencies- true if the competencies need to be copied, false otherwise
-
getDummy
Checks whether the resource is a dummy.- Returns:
- true if the resource is a dummy, false otherwise
-
setDummy
Sets the resource as dummy as filter.- Parameters:
dummy- true if the resource must be dummy, false otherwise
-