AdminInterface.php 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945
  1. <?php
  2. /*
  3. * This file is part of the Sonata package.
  4. *
  5. * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Sonata\AdminBundle\Admin;
  11. use Sonata\AdminBundle\Admin\Pool;
  12. use Sonata\AdminBundle\Admin\FieldDescriptionInterface;
  13. use Sonata\AdminBundle\Builder\FormContractorInterface;
  14. use Sonata\AdminBundle\Builder\ListBuilderInterface;
  15. use Sonata\AdminBundle\Builder\DatagridBuilderInterface;
  16. use Sonata\AdminBundle\Security\Handler\SecurityHandlerInterface;
  17. use Sonata\AdminBundle\Builder\RouteBuilderInterface;
  18. use Sonata\AdminBundle\Translator\LabelTranslatorStrategyInterface;
  19. use Sonata\AdminBundle\Validator\ErrorElement;
  20. use Sonata\AdminBundle\Route\RouteGeneratorInterface;
  21. use Knp\Menu\FactoryInterface as MenuFactoryInterface;
  22. use Symfony\Component\Validator\ValidatorInterface;
  23. use Symfony\Component\Translation\TranslatorInterface;
  24. use Symfony\Component\HttpFoundation\Request;
  25. interface AdminInterface
  26. {
  27. /**
  28. * @param \Sonata\AdminBundle\Builder\FormContractorInterface $formContractor
  29. *
  30. * @return void
  31. */
  32. public function setFormContractor(FormContractorInterface $formContractor);
  33. /**
  34. * Set ListBuilder
  35. *
  36. * @param ListBuilderInterface $listBuilder
  37. *
  38. * @return void
  39. */
  40. public function setListBuilder(ListBuilderInterface $listBuilder);
  41. /**
  42. * Get ListBuilder
  43. *
  44. * @return \Sonata\AdminBundle\Builder\ListBuilderInterface
  45. */
  46. public function getListBuilder();
  47. /**
  48. * Set DatagridBuilder
  49. *
  50. * @param \Sonata\AdminBundle\Builder\DatagridBuilderInterface $datagridBuilder
  51. *
  52. * @return void
  53. */
  54. public function setDatagridBuilder(DatagridBuilderInterface $datagridBuilder);
  55. /**
  56. * Get DatagridBuilder
  57. *
  58. * @return \Sonata\AdminBundle\Builder\DatagridBuilderInterface
  59. */
  60. public function getDatagridBuilder();
  61. /**
  62. * Set translator
  63. *
  64. * @param \Symfony\Component\Translation\TranslatorInterface $translator
  65. *
  66. * @return void
  67. */
  68. public function setTranslator(TranslatorInterface $translator);
  69. /**
  70. * Get translator
  71. *
  72. * @return \Symfony\Component\Translation\TranslatorInterface
  73. */
  74. public function getTranslator();
  75. /**
  76. * @param \Symfony\Component\HttpFoundation\Request $request
  77. *
  78. * @return void
  79. */
  80. public function setRequest(Request $request);
  81. /**
  82. * @param Pool $pool
  83. *
  84. * @return void
  85. */
  86. public function setConfigurationPool(Pool $pool);
  87. /**
  88. * @param \Sonata\AdminBundle\Route\RouteGeneratorInterface $routeGenerator
  89. *
  90. * @return void
  91. */
  92. public function setRouteGenerator(RouteGeneratorInterface $routeGenerator);
  93. /**
  94. * Returns subjectClass/class/subclass name managed
  95. * - subclass name if subclass parameter is defined
  96. * - subject class name if subject is defined
  97. * - class name if not
  98. *
  99. * @return string
  100. */
  101. public function getClass();
  102. /**
  103. * @param \Sonata\AdminBundle\Admin\FieldDescriptionInterface $fieldDescription
  104. *
  105. * @return void
  106. */
  107. public function attachAdminClass(FieldDescriptionInterface $fieldDescription);
  108. /**
  109. * @return \Sonata\AdminBundle\Datagrid\DatagridInterface
  110. */
  111. public function getDatagrid();
  112. /**
  113. * Set base controller name
  114. *
  115. * @param string $baseControllerName
  116. */
  117. public function setBaseControllerName($baseControllerName);
  118. /**
  119. * Get base controller name
  120. *
  121. * @return string
  122. */
  123. public function getBaseControllerName();
  124. /**
  125. * Generates the object url with the given $name
  126. *
  127. * @param string $name
  128. * @param mixed $object
  129. * @param array $parameters
  130. * @param boolean $absolute
  131. *
  132. * @return string return a complete url
  133. */
  134. public function generateObjectUrl($name, $object, array $parameters = array(), $absolute = false);
  135. /**
  136. * Generates an url for the given parameters
  137. *
  138. * @param string $name
  139. * @param array $parameters
  140. * @param bool $absolute
  141. *
  142. * @return string return a complete url
  143. */
  144. public function generateUrl($name, array $parameters = array(), $absolute = false);
  145. /**
  146. * @return \Sonata\AdminBundle\Model\ModelManagerInterface;
  147. */
  148. public function getModelManager();
  149. /**
  150. * @return string the manager type of the admin
  151. */
  152. public function getManagerType();
  153. /**
  154. * @param string $context
  155. *
  156. * @return \Sonata\AdminBundle\Datagrid\ProxyQueryInterface
  157. */
  158. public function createQuery($context = 'list');
  159. /**
  160. * @return \Symfony\Component\Form\FormBuilder the form builder
  161. */
  162. public function getFormBuilder();
  163. /**
  164. * Return FormFieldDescription
  165. *
  166. * @param string $name
  167. *
  168. * @return \Sonata\AdminBundle\Admin\FieldDescriptionInterface
  169. */
  170. public function getFormFieldDescription($name);
  171. /**
  172. * Build and return the collection of form FieldDescription
  173. *
  174. * @return array collection of form FieldDescription
  175. */
  176. public function getFormFieldDescriptions();
  177. /**
  178. * Returns a form depend on the given $object
  179. *
  180. * @return \Symfony\Component\Form\Form
  181. */
  182. public function getForm();
  183. /**
  184. * @return \Symfony\Component\HttpFoundation\Request
  185. *
  186. * @throws \RuntimeException if no request is set.
  187. */
  188. public function getRequest();
  189. /**
  190. * @return boolean true if a request object is linked to this Admin, false
  191. * otherwise.
  192. */
  193. public function hasRequest();
  194. /**
  195. *
  196. * @return string
  197. */
  198. public function getCode();
  199. /**
  200. *
  201. * @return string
  202. */
  203. public function getBaseCodeRoute();
  204. /**
  205. * Return the roles and permissions per role
  206. * - different permissions per role for the acl handler
  207. * - one permission that has the same name as the role for the role handler
  208. * This should be used by experimented users
  209. *
  210. * @return array [role] => array([permission], [permission])
  211. */
  212. public function getSecurityInformation();
  213. /**
  214. * @param \Sonata\AdminBundle\Admin\FieldDescriptionInterface $parentFieldDescription
  215. *
  216. * @return void
  217. */
  218. public function setParentFieldDescription(FieldDescriptionInterface $parentFieldDescription);
  219. /**
  220. * Get parent field description
  221. *
  222. * @return \Sonata\AdminBundle\Admin\FieldDescriptionInterface The parent field description
  223. */
  224. public function getParentFieldDescription();
  225. /**
  226. * Returns true if the Admin is linked to a parent FieldDescription
  227. *
  228. * @return bool
  229. */
  230. public function hasParentFieldDescription();
  231. /**
  232. * translate a message id
  233. *
  234. * @param string $id
  235. * @param array $parameters
  236. * @param null $domain
  237. * @param null $locale
  238. *
  239. * @return string the translated string
  240. */
  241. public function trans($id, array $parameters = array(), $domain = null, $locale = null);
  242. /**
  243. * Returns the list of available urls
  244. *
  245. * @return \Sonata\AdminBundle\Route\RouteCollection the list of available urls
  246. */
  247. public function getRoutes();
  248. /**
  249. * Return the parameter name used to represent the id in the url
  250. *
  251. * @return string
  252. */
  253. public function getRouterIdParameter();
  254. /**
  255. * Returns the parameter representing request id, ie: id or childId
  256. *
  257. * @return string
  258. */
  259. public function getIdParameter();
  260. /**
  261. * Returns true if the admin has a FieldDescription with the given $name
  262. *
  263. * @param string $name
  264. *
  265. * @return bool
  266. */
  267. public function hasShowFieldDescription($name);
  268. /**
  269. * add a FieldDescription
  270. *
  271. * @param string $name
  272. * @param \Sonata\AdminBundle\Admin\FieldDescriptionInterface $fieldDescription
  273. *
  274. * @return void
  275. */
  276. public function addShowFieldDescription($name, FieldDescriptionInterface $fieldDescription);
  277. /**
  278. * Remove a ShowFieldDescription
  279. *
  280. * @param string $name
  281. */
  282. public function removeShowFieldDescription($name);
  283. /**
  284. * add a list FieldDescription
  285. *
  286. * @param string $name
  287. * @param \Sonata\AdminBundle\Admin\FieldDescriptionInterface $fieldDescription
  288. *
  289. * @return void
  290. */
  291. public function addListFieldDescription($name, FieldDescriptionInterface $fieldDescription);
  292. /**
  293. * Remove a list FieldDescription
  294. *
  295. * @param string $name
  296. *
  297. * @return void
  298. */
  299. public function removeListFieldDescription($name);
  300. /**
  301. * Returns true if the filter FieldDescription exists
  302. *
  303. * @param string $name
  304. *
  305. * @return bool
  306. */
  307. public function hasFilterFieldDescription($name);
  308. /**
  309. * add a filter FieldDescription
  310. *
  311. * @param string $name
  312. * @param \Sonata\AdminBundle\Admin\FieldDescriptionInterface $fieldDescription
  313. *
  314. * @return void
  315. */
  316. public function addFilterFieldDescription($name, FieldDescriptionInterface $fieldDescription);
  317. /**
  318. * Remove a filter FieldDescription
  319. *
  320. * @param string $name
  321. */
  322. public function removeFilterFieldDescription($name);
  323. /**
  324. * Returns the filter FieldDescription collection
  325. *
  326. * @return FieldDescriptionInterface[]
  327. */
  328. public function getFilterFieldDescriptions();
  329. /**
  330. * Returns a list depend on the given $object
  331. *
  332. * @return \Sonata\AdminBundle\Admin\FieldDescriptionCollection
  333. */
  334. public function getList();
  335. /**
  336. * @param \Sonata\AdminBundle\Security\Handler\SecurityHandlerInterface $securityHandler
  337. *
  338. * @return void
  339. */
  340. public function setSecurityHandler(SecurityHandlerInterface $securityHandler);
  341. /**
  342. * @return \Sonata\AdminBundle\Security\Handler\SecurityHandlerInterface|null
  343. */
  344. public function getSecurityHandler();
  345. /**
  346. * @param string $name
  347. * @param object|null $object
  348. *
  349. * @return boolean
  350. */
  351. public function isGranted($name, $object = null);
  352. /**
  353. * @param mixed $entity
  354. */
  355. public function getUrlsafeIdentifier($entity);
  356. /**
  357. * @param mixed $entity
  358. */
  359. public function getNormalizedIdentifier($entity);
  360. /**
  361. * Shorthand method for templating
  362. *
  363. * @param object $entity
  364. *
  365. * @return mixed
  366. */
  367. public function id($entity);
  368. /**
  369. * @param \Symfony\Component\Validator\ValidatorInterface $validator
  370. *
  371. * @return void
  372. */
  373. public function setValidator(ValidatorInterface $validator);
  374. /**
  375. * @return \Symfony\Component\Validator\ValidatorInterface
  376. */
  377. public function getValidator();
  378. /**
  379. * @return array
  380. */
  381. public function getShow();
  382. /**
  383. * @param array $formTheme
  384. *
  385. * @return void
  386. */
  387. public function setFormTheme(array $formTheme);
  388. /**
  389. * @return array
  390. */
  391. public function getFormTheme();
  392. /**
  393. * @param array $filterTheme
  394. *
  395. * @return void
  396. */
  397. public function setFilterTheme(array $filterTheme);
  398. /**
  399. * @return array
  400. */
  401. public function getFilterTheme();
  402. /**
  403. * @param AdminExtensionInterface $extension
  404. *
  405. * @return void
  406. */
  407. public function addExtension(AdminExtensionInterface $extension);
  408. /**
  409. * Returns an array of extension related to the current Admin
  410. *
  411. * @return AdminExtensionInterface[]
  412. */
  413. public function getExtensions();
  414. /**
  415. * @param \Knp\Menu\FactoryInterface $menuFactory
  416. *
  417. * @return void
  418. */
  419. public function setMenuFactory(MenuFactoryInterface $menuFactory);
  420. /**
  421. * @return \Knp\Menu\FactoryInterface
  422. */
  423. public function getMenuFactory();
  424. /**
  425. * @param \Sonata\AdminBundle\Builder\RouteBuilderInterface $routeBuilder
  426. */
  427. public function setRouteBuilder(RouteBuilderInterface $routeBuilder);
  428. /**
  429. * @return \Sonata\AdminBundle\Builder\RouteBuilderInterface
  430. */
  431. public function getRouteBuilder();
  432. /**
  433. * @param mixed $object
  434. *
  435. * @return string
  436. */
  437. public function toString($object);
  438. /**
  439. * @param \Sonata\Adminbundle\Translator\LabelTranslatorStrategyInterface $labelTranslatorStrategy
  440. */
  441. public function setLabelTranslatorStrategy(LabelTranslatorStrategyInterface $labelTranslatorStrategy);
  442. /**
  443. * @return \Sonata\AdminBundle\Translator\LabelTranslatorStrategyInterface
  444. */
  445. public function getLabelTranslatorStrategy();
  446. /**
  447. * Returning true will enable preview mode for
  448. * the target entity and show a preview button
  449. * when editing/creating an entity
  450. *
  451. * @return boolean
  452. */
  453. public function supportsPreviewMode();
  454. /**
  455. * add an Admin child to the current one
  456. *
  457. * @param \Sonata\AdminBundle\Admin\AdminInterface $child
  458. *
  459. * @return void
  460. */
  461. public function addChild(AdminInterface $child);
  462. /**
  463. * Returns true or false if an Admin child exists for the given $code
  464. *
  465. * @param string $code Admin code
  466. *
  467. * @return bool True if child exist, false otherwise
  468. */
  469. public function hasChild($code);
  470. /**
  471. * Returns an collection of admin children
  472. *
  473. * @return array list of Admin children
  474. */
  475. public function getChildren();
  476. /**
  477. * Returns an admin child with the given $code
  478. *
  479. * @param string $code
  480. *
  481. * @return array|null
  482. */
  483. public function getChild($code);
  484. /**
  485. * @return mixed a new object instance
  486. */
  487. public function getNewInstance();
  488. /**
  489. * @param string $uniqId
  490. *
  491. * @return mixed
  492. */
  493. public function setUniqid($uniqId);
  494. /**
  495. * Returns the uniqid
  496. *
  497. * @return integer
  498. */
  499. public function getUniqid();
  500. /**
  501. * @param mixed $id
  502. *
  503. * @return mixed
  504. */
  505. public function getObject($id);
  506. /**
  507. * @param string $subject
  508. *
  509. * @return mixed
  510. */
  511. public function setSubject($subject);
  512. /**
  513. * @return mixed
  514. */
  515. public function getSubject();
  516. /**
  517. * Returns a list FieldDescription
  518. *
  519. * @param string $name
  520. *
  521. * @return \Sonata\AdminBundle\Admin\FieldDescriptionInterface
  522. */
  523. public function getListFieldDescription($name);
  524. /**
  525. * Returns true if the list FieldDescription exists
  526. *
  527. * @param string $name
  528. *
  529. * @return bool
  530. */
  531. public function hasListFieldDescription($name);
  532. /**
  533. * Returns the collection of list FieldDescriptions
  534. *
  535. * @return array
  536. */
  537. public function getListFieldDescriptions();
  538. /**
  539. * Returns the array of allowed export formats
  540. *
  541. * @return array
  542. */
  543. public function getExportFormats();
  544. /**
  545. * Returns SourceIterator
  546. *
  547. * @return \Exporter\Source\SourceIteratorInterface
  548. */
  549. public function getDataSourceIterator();
  550. /**
  551. * @return void
  552. */
  553. public function configure();
  554. /**
  555. * @param mixed $object
  556. *
  557. * @return mixed
  558. */
  559. public function update($object);
  560. /**
  561. * @param mixed $object
  562. *
  563. * @return mixed
  564. */
  565. public function create($object);
  566. /**
  567. * @param mixed $object
  568. *
  569. * @return mixed
  570. */
  571. public function delete($object);
  572. /**
  573. * @param mixed $object
  574. *
  575. * @return mixed
  576. */
  577. public function preUpdate($object);
  578. /**
  579. * @param mixed $object
  580. *
  581. * @return mixed
  582. */
  583. public function postUpdate($object);
  584. /**
  585. * @param mixed $object
  586. *
  587. * @return mixed
  588. */
  589. public function prePersist($object);
  590. /**
  591. * @param mixed $object
  592. *
  593. * @return mixed
  594. */
  595. public function postPersist($object);
  596. /**
  597. * @param mixed $object
  598. *
  599. * @return mixed
  600. */
  601. public function preRemove($object);
  602. /**
  603. * @param mixed $object
  604. *
  605. * @return mixed
  606. */
  607. public function postRemove($object);
  608. /**
  609. * Return array of filter parameters.
  610. *
  611. * @return array
  612. */
  613. public function getFilterParameters();
  614. /**
  615. * Return true if the Admin is related to a subject
  616. *
  617. * @return boolean
  618. */
  619. public function hasSubject();
  620. /**
  621. *
  622. * @param \Sonata\AdminBundle\Validator\ErrorElement $errorElement
  623. * @param mixed $object
  624. *
  625. * @return void
  626. *
  627. * @deprecated this feature cannot be stable, use a custom validator,
  628. * the feature will be removed with Symfony 2.2
  629. */
  630. public function validate(ErrorElement $errorElement, $object);
  631. /**
  632. * @param string $context
  633. *
  634. * @return boolean
  635. */
  636. public function showIn($context);
  637. /**
  638. * Add object security, fe. make the current user owner of the object
  639. *
  640. * @param mixed $object
  641. */
  642. public function createObjectSecurity($object);
  643. /**
  644. * Returns the url defined by the $name
  645. *
  646. * @param string $name
  647. *
  648. * @return \Symfony\Component\Routing\Route
  649. */
  650. public function getRoute($name);
  651. /**
  652. * @return AdminInterface
  653. */
  654. public function getParent();
  655. /**
  656. * @param AdminInterface $admin
  657. *
  658. * @return void
  659. */
  660. public function setParent(AdminInterface $admin);
  661. /**
  662. * Returns true if the Admin class has an Parent Admin defined
  663. *
  664. * @return boolean
  665. */
  666. public function isChild();
  667. /**
  668. * Returns template
  669. *
  670. * @param string $name
  671. *
  672. * @return null|string
  673. */
  674. public function getTemplate($name);
  675. /**
  676. * Set the translation domain
  677. *
  678. * @param string $translationDomain the translation domain
  679. *
  680. * @return void
  681. */
  682. public function setTranslationDomain($translationDomain);
  683. /**
  684. * Returns the translation domain
  685. *
  686. * @return string the translation domain
  687. */
  688. public function getTranslationDomain();
  689. /**
  690. * Return the form groups
  691. *
  692. * @return array
  693. */
  694. public function getFormGroups();
  695. /**
  696. * Set the form groups
  697. *
  698. * @param array $formGroups
  699. */
  700. public function setFormGroups(array $formGroups);
  701. /**
  702. * Returns the show groups
  703. *
  704. * @return array
  705. */
  706. public function getShowGroups();
  707. /**
  708. * Set the show groups
  709. *
  710. * @param array $showGroups
  711. */
  712. public function setShowGroups(array $showGroups);
  713. /**
  714. * Reorder items in showGroup
  715. *
  716. * @param string $group
  717. * @param array $keys
  718. */
  719. public function reorderShowGroup($group, array $keys);
  720. /**
  721. * add a FieldDescription
  722. *
  723. * @param string $name
  724. * @param \Sonata\AdminBundle\Admin\FieldDescriptionInterface $fieldDescription
  725. *
  726. * @return void
  727. */
  728. public function addFormFieldDescription($name, FieldDescriptionInterface $fieldDescription);
  729. /**
  730. * Returns true if this admin uses ACL
  731. *
  732. * @return boolean
  733. */
  734. public function isAclEnabled();
  735. /**
  736. * Sets the list of supported sub classes
  737. *
  738. * @param array $subClasses the list of sub classes
  739. */
  740. public function setSubClasses(array $subClasses);
  741. /**
  742. * Returns true if the admin has the sub classes
  743. *
  744. * @param string $name The name of the sub class
  745. *
  746. * @return bool
  747. */
  748. public function hasSubClass($name);
  749. /**
  750. * Returns true if a subclass is currently active
  751. *
  752. * @return bool
  753. */
  754. public function hasActiveSubClass();
  755. /**
  756. * Returns the currently active sub class
  757. *
  758. * @return string the active sub class
  759. */
  760. public function getActiveSubClass();
  761. /**
  762. * Returns the currently active sub class code
  763. *
  764. * @return string the code for active sub class
  765. */
  766. public function getActiveSubclassCode();
  767. /**
  768. * Returns the list of batchs actions
  769. *
  770. * @return array the list of batchs actions
  771. */
  772. public function getBatchActions();
  773. /**
  774. * Returns Admin`s label
  775. *
  776. * @return string
  777. */
  778. public function getLabel();
  779. /**
  780. * Returns an array of persistent parameters
  781. *
  782. * @return array
  783. */
  784. public function getPersistentParameters();
  785. /**
  786. * Get breadcrumbs for $action
  787. *
  788. * @param string $action
  789. *
  790. * @return array
  791. */
  792. public function getBreadcrumbs($action);
  793. /**
  794. * Set the current child status
  795. *
  796. * @param boolean $currentChild
  797. */
  798. public function setCurrentChild($currentChild);
  799. /**
  800. * Returns the current child status
  801. *
  802. * @return bool
  803. */
  804. public function getCurrentChild();
  805. /**
  806. * Get translation label using the current TranslationStrategy.
  807. *
  808. * @param string $label
  809. * @param string $context
  810. * @param string $type
  811. *
  812. * @return string
  813. */
  814. public function getTranslationLabel($label, $context = '', $type = '');
  815. }