<?php
namespace Pimcore\Model\DataObject\JobOffer;
use Pimcore\Model;
use Pimcore\Model\DataObject;
/**
* @method DataObject\JobOffer|false current()
* @method DataObject\JobOffer[] load()
* @method DataObject\JobOffer[] getData()
* @method DataObject\JobOffer[] getObjects()
*/
class Listing extends DataObject\Listing\Concrete
{
protected $classId = "1";
protected $className = "JobOffer";
/**
* Filter by title (title)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByTitle ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("title")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by company (company)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByCompany ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("company")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by location (location)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByLocation ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("location")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by companyDescription (companyDescription)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByCompanyDescription ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("companyDescription")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by requirements (requirements)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByRequirements ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("requirements")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by notes (notes)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByNotes ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("notes")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by clause (clause)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByClause ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("clause")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by experience (experience)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByExperience ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("experience")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by positionDescription (positionDescription)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByPositionDescription ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("positionDescription")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by opportunities (opportunities)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByOpportunities ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("opportunities")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by publishDate (publishDate)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByPublishDate ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("publishDate")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by expiryDate (expiryDate)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByExpiryDate ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("expiryDate")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by lastModificationDate (lastModificationDate)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByLastModificationDate ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("lastModificationDate")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by referenceNumber (referenceNumber)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByReferenceNumber ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("referenceNumber")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by uniqueId (uniqueId)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByUniqueId ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("uniqueId")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by country (country)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByCountry ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("country")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by countryRegion (countryRegion)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByCountryRegion ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("countryRegion")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by countryId (countryId)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByCountryId ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("countryId")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by countryRegionId (countryRegionId)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByCountryRegionId ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("countryRegionId")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by jobOfferId (jobOfferId)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByJobOfferId ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("jobOfferId")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by customLayoutId (customLayoutId)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByCustomLayoutId ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("customLayoutId")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by lastModificationDateRaw (lastModificationDateRaw)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByLastModificationDateRaw ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("lastModificationDateRaw")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by department (department)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByDepartment ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("department")->addListingFilter($this, $data, $operator);
return $this;
}
}