Spaces:
Sleeping
Sleeping
processmaker-community / processmaker-files /workflow /engine /classes /entities /EntitySolrRequestData.php
Download processmaker-files/workflow/engine/classes/entities/EntitySolrRequestData.php from kenken999/processmaker-community: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/classes/entities/EntitySolrRequestData.php
- Command line
-
hf download hf://spaces/kenken999/processmaker-community/processmaker-files/workflow/engine/classes/entities/EntitySolrRequestData.php
-
curl -L -o EntitySolrRequestData.php https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/classes/entities/EntitySolrRequestData.php
1.21 kB
| class EntitySolrRequestData extends EntityBase | |
| { | |
| public $workspace = ''; | |
| public $startAfter = 0; | |
| public $pageSize = 10; | |
| public $searchText = '*:*'; | |
| public $filterText = ''; // comma separated list of filters field:value | |
| public $numSortingCols = 0; // number of columns that are sorted | |
| public $sortableCols = array(); // array of booleans indicating if column is | |
| // sortable (true, false) | |
| public $sortCols = array(); // array of indices of sorted columns index | |
| // based in the total number of sorting cols | |
| public $sortDir = array(); // array of direction of sorting for each | |
| // column (desc, asc) | |
| public $includeCols = array(); | |
| public $resultFormat = 'xml'; // json, xml, php | |
| private function __construct() | |
| { | |
| } | |
| public static function createEmpty() | |
| { | |
| $obj = new EntitySolrRequestData(); | |
| return $obj; | |
| } | |
| public static function createForRequestPagination($data) | |
| { | |
| $obj = new EntitySolrRequestData(); | |
| $obj->initializeObject($data); | |
| $requiredFields = array( | |
| 'workspace' | |
| ); | |
| $obj->validateRequiredFields($requiredFields); | |
| return $obj; | |
| } | |
| } | |