1 | <?php |
||
18 | class ObjectCriteria extends AbstractCriteria |
||
19 | { |
||
20 | use ConnectionTrait, |
||
21 | CacheTrait, |
||
22 | IdAttributeTrait, |
||
23 | ObjectAttributeTrait, |
||
24 | PayloadAttributeTrait; |
||
25 | |||
26 | /** |
||
27 | * @param array $criteria |
||
28 | * @param array $config |
||
29 | * @return ResponseInterface |
||
30 | * @throws \Exception |
||
31 | */ |
||
32 | public function basic(array $criteria = [], array $config = []): ResponseInterface |
||
44 | |||
45 | /** |
||
46 | * @param array $criteria |
||
47 | * @param array $config |
||
48 | * @return ResponseInterface |
||
49 | * @throws \Exception |
||
50 | */ |
||
51 | public function describe(array $criteria = [], array $config = []): ResponseInterface |
||
63 | |||
64 | /** |
||
65 | * @param array $criteria |
||
66 | * @param array $config |
||
67 | * @return ResponseInterface |
||
68 | * @throws \Exception |
||
69 | */ |
||
70 | public function read(array $criteria = [], array $config = []): ResponseInterface |
||
83 | |||
84 | /** |
||
85 | * @param array $criteria |
||
86 | * @param array $config |
||
87 | * @return ResponseInterface |
||
88 | * @throws \Exception |
||
89 | */ |
||
90 | public function create(array $criteria = [], array $config = []): ResponseInterface |
||
102 | |||
103 | /** |
||
104 | * @param array $criteria |
||
105 | * @param array $config |
||
106 | * @return ResponseInterface |
||
107 | * @throws \Exception |
||
108 | */ |
||
109 | public function update(array $criteria = [], array $config = []): ResponseInterface |
||
123 | |||
124 | /** |
||
125 | * @param array $criteria |
||
126 | * @param array $config |
||
127 | * @return ResponseInterface |
||
128 | * @throws \Exception |
||
129 | */ |
||
130 | public function upsert(array $criteria = [], array $config = []): ResponseInterface |
||
144 | |||
145 | /** |
||
146 | * @param array $criteria |
||
147 | * @param array $config |
||
148 | * @return ResponseInterface |
||
149 | * @throws \Exception |
||
150 | */ |
||
151 | public function delete(array $criteria = [], array $config = []): ResponseInterface |
||
164 | } |
||
165 |