]> git.sur5r.net Git - bacula/bacula/blob - gui/baculum/framework/Data/SqlMap/Statements/TInsertMappedStatement.php
baculum: New Baculum API and Baculum Web
[bacula/bacula] / gui / baculum / framework / Data / SqlMap / Statements / TInsertMappedStatement.php
1 <?php
2 /**
3  * TInsertMappedStatement class file.
4  *
5  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
6  * @link https://github.com/pradosoft/prado
7  * @copyright Copyright &copy; 2005-2016 The PRADO Group
8  * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9  * @package System.Data.SqlMap.Statements
10  */
11
12 /**
13  * TInsertMappedStatement class.
14  *
15  * @author Wei Zhuo <weizho[at]gmail[dot]com>
16  * @package System.Data.SqlMap.Statements
17  * @since 3.1
18  */
19 class TInsertMappedStatement extends TMappedStatement
20 {
21         public function executeQueryForMap($connection, $parameter,
22                                                                 $keyProperty, $valueProperty=null)
23         {
24                 throw new TSqlMapExecutionException(
25                                 'sqlmap_cannot_execute_query_for_map', get_class($this), $this->getID());
26         }
27
28         public function executeUpdate($connection, $parameter)
29         {
30                 throw new TSqlMapExecutionException(
31                                 'sqlmap_cannot_execute_update', get_class($this), $this->getID());
32         }
33
34         public function executeQueryForList($connection, $parameter, $result=null,
35                                                                                 $skip=-1, $max=-1)
36         {
37                 throw new TSqlMapExecutionException(
38                                 'sqlmap_cannot_execute_query_for_list', get_class($this), $this->getID());
39         }
40
41         public function executeQueryForObject($connection, $parameter, $result=null)
42         {
43                 throw new TSqlMapExecutionException(
44                                 'sqlmap_cannot_execute_query_for_object', get_class($this), $this->getID());
45         }
46 }
47