workflow/engine/classes/entities/Entity_AppSolrQueue.php workflow/engine/classes/entities/Entity_Base.php workflow/engine/classes/entities/Entity_FacetGroup.php workflow/engine/classes/entities/Entity_FacetInterfaceRequest.php workflow/engine/classes/entities/Entity_FacetInterfaceResult.php workflow/engine/classes/entities/Entity_FacetItem.php workflow/engine/classes/entities/Entity_FacetRequest.php workflow/engine/classes/entities/Entity_FacetResult.php workflow/engine/classes/entities/Entity_SelectedFacetGroupItem.php workflow/engine/classes/entities/Entity_SolrQueryResult.php
42 lines
889 B
PHP
42 lines
889 B
PHP
<?php
|
|
|
|
class EntityFacetRequest extends EntityBase
|
|
{
|
|
public $workspace = '';
|
|
public $searchText = '';
|
|
public $facetFields = array();
|
|
public $facetQueries = array();
|
|
public $facetDates = array();
|
|
public $facetDatesStart = '';
|
|
public $facetDatesEnd = '';
|
|
public $facetDateGap = '';
|
|
public $facetRanges = array();
|
|
public $filters = array();
|
|
public $selectedFacetsString = '';
|
|
|
|
private function __construct()
|
|
{
|
|
}
|
|
|
|
public static function createEmpty()
|
|
{
|
|
$obj = new EntityFacetRequest();
|
|
return $obj;
|
|
}
|
|
|
|
public static function createForRequest($data)
|
|
{
|
|
$obj = new EntityFacetRequest();
|
|
|
|
$obj->initializeObject($data);
|
|
|
|
$requiredFields = array(
|
|
"workspace"
|
|
);
|
|
|
|
$obj->validateRequiredFields($requiredFields);
|
|
|
|
return $obj;
|
|
}
|
|
}
|