mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 19:43:16 +00:00

fix : search only concept-paths from the relevant thesaurus fix : search only fields from the relevant databoxes (collections)
86 lines
1.5 KiB
PHP
86 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* This file is part of Phraseanet
|
|
*
|
|
* (c) 2005-2016 Alchemy
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Alchemy\Phrasea\SearchEngine\Elastic\Structure;
|
|
|
|
interface Structure
|
|
{
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getDataboxes();
|
|
|
|
/**
|
|
* @return Field[]
|
|
*/
|
|
public function getAllFields();
|
|
|
|
/**
|
|
* @return Field[]
|
|
*/
|
|
public function getUnrestrictedFields();
|
|
|
|
/**
|
|
* @return Field[]
|
|
*/
|
|
public function getPrivateFields();
|
|
|
|
/**
|
|
* @return Field[]
|
|
*/
|
|
public function getThesaurusEnabledFields();
|
|
|
|
/**
|
|
* @return Field[]
|
|
*/
|
|
public function getDateFields();
|
|
|
|
/**
|
|
* @param string $name
|
|
* @return null|Field
|
|
*/
|
|
public function get($name);
|
|
|
|
/**
|
|
* @param string $name
|
|
* @return string|null
|
|
*/
|
|
public function typeOf($name);
|
|
|
|
/**
|
|
* @param string $name
|
|
* @return bool
|
|
* @throws \DomainException
|
|
*/
|
|
public function isPrivate($name);
|
|
|
|
/**
|
|
* @return Flag[]
|
|
*/
|
|
public function getAllFlags();
|
|
|
|
/**
|
|
* @param string $name
|
|
* @return Flag
|
|
*/
|
|
public function getFlagByName($name);
|
|
|
|
/**
|
|
* @return Tag[]
|
|
*/
|
|
public function getMetadataTags();
|
|
|
|
/**
|
|
* @param string $name
|
|
* @return Tag|null
|
|
*/
|
|
public function getMetadataTagByName($name);
|
|
}
|