/[drupal]/contributions/modules/kt/includes/KnowledgeTreeService_SOAP.php
ViewVC logotype

Diff of /contributions/modules/kt/includes/KnowledgeTreeService_SOAP.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Wed Aug 12 09:32:28 2009 UTC revision 1.1.2.1, Wed Aug 12 09:32:28 2009 UTC
# Line 0  Line 1 
1    <?php
2    
3    /*
4     * Generated automatically from KT 3.6.1 WSDL
5     * Using WSDL->PHP generator http://code.google.com/p/wsdl2php-interpreter/
6     * with a few custom tweaks
7     * @author aantonop
8     */
9    
10    include "KnowledgeTreeService_classes.php";
11    
12    if (!class_exists("KnowledgeTreeSOAPService")) {
13    /**
14     * KnowledgeTreeSOAPService
15     * @author WSDLInterpreter
16     */
17    class KnowledgeTreeSOAPService extends SoapClient {
18            /**
19             * Default class map for wsdl=>php
20             * @access private
21             * @var array
22             */
23            private static $classmap = array(
24                    "kt_response" => "kt_response",
25                    "kt_folder_detail" => "kt_folder_detail",
26                    "kt_folder_item" => "kt_folder_item",
27                    "kt_folder_items" => "kt_folder_items",
28                    "kt_folder_contents" => "kt_folder_contents",
29                    "kt_document_detail" => "kt_document_detail",
30                    "kt_search_result_item" => "kt_search_result_item",
31                    "kt_search_results" => "kt_search_results",
32                    "kt_search_response" => "kt_search_response",
33                    "kt_sysdata_item" => "kt_sysdata_item",
34                    "kt_sysdata" => "kt_sysdata",
35                    "kt_metadata_selection_item" => "kt_metadata_selection_item",
36                    "kt_metadata_selection" => "kt_metadata_selection",
37                    "kt_metadata_field" => "kt_metadata_field",
38                    "kt_metadata_fields" => "kt_metadata_fields",
39                    "kt_metadata_fieldset" => "kt_metadata_fieldset",
40                    "kt_metadata_fieldsets" => "kt_metadata_fieldsets",
41                    "kt_metadata_response" => "kt_metadata_response",
42                    "kt_workflow_transitions" => "kt_workflow_transitions",
43                    "kt_workflow_transitions_response" => "kt_workflow_transitions_response",
44                    "kt_workflows_array" => "kt_workflows_array",
45                    "kt_workflows_response" => "kt_workflows_response",
46                    "kt_document_transaction_history_item" => "kt_document_transaction_history_item",
47                    "kt_linked_document" => "kt_linked_document",
48                    "kt_linked_documents" => "kt_linked_documents",
49                    "kt_linked_document_response" => "kt_linked_document_response",
50                    "kt_document_transaction_history" => "kt_document_transaction_history",
51                    "kt_document_transaction_history_response" => "kt_document_transaction_history_response",
52                    "kt_document_version_history_item" => "kt_document_version_history_item",
53                    "kt_document_collection" => "kt_document_collection",
54                    "kt_document_collection_response" => "kt_document_collection_response",
55                    "kt_folder_collection" => "kt_folder_collection",
56                    "kt_folder_collection_response" => "kt_folder_collection_response",
57                    "kt_document_version_history" => "kt_document_version_history",
58                    "kt_document_version_history_response" => "kt_document_version_history_response",
59                    "kt_document_types_array" => "kt_document_types_array",
60                    "kt_document_types_response" => "kt_document_types_response",
61                    "kt_client_policy" => "kt_client_policy",
62                    "kt_client_policies_array" => "kt_client_policies_array",
63                    "kt_client_policies_response" => "kt_client_policies_response",
64            );
65    
66            /**
67             * Constructor using wsdl location and options array
68             * @param string $wsdl WSDL location for this service
69             * @param array $options Options for the SoapClient
70             */
71            public function __construct($wsdl="http://localhost/kt/ktwebservice/index.php?wsdl", $options=array()) {
72                    foreach(self::$classmap as $wsdlClassName => $phpClassName) {
73                        if(!isset($options['classmap'][$wsdlClassName])) {
74                            $options['classmap'][$wsdlClassName] = $phpClassName;
75                        }
76                    }
77                    parent::__construct($wsdl, $options);
78            }
79    
80            /**
81             * Checks if an argument list matches against a valid argument type list
82             * @param array $arguments The argument list to check
83             * @param array $validParameters A list of valid argument types
84             * @return boolean true if arguments match against validParameters
85             * @throws Exception invalid function signature message
86             */
87            public function _checkArguments($arguments, $validParameters) {
88                    $variables = "";
89                    foreach ($arguments as $arg) {
90                        $type = gettype($arg);
91                        if ($type == "object") {
92                            $type = get_class($arg);
93                        }
94                        $variables .= "(".$type.")";
95                    }
96                    if (!in_array($variables, $validParameters)) {
97                        throw new Exception("Invalid parameter types: ".str_replace(")(", ", ", $variables));
98                    }
99                    return true;
100            }
101    
102            /**
103             * Service Call: search
104             * Parameter options:
105             * (string) session_id, (string) search, (string) options
106             * @param mixed,... See function description for parameter options
107             * @return kt_search_response
108             * @throws Exception invalid function signature message
109             */
110            public function search($mixed = null) {
111                    $validParameters = array(
112                            "(string)(string)(string)",
113                    );
114                    $args = func_get_args();
115                    $this->_checkArguments($args, $validParameters);
116                    return $this->__soapCall("search", $args);
117            }
118    
119    
120            /**
121             * Service Call: login
122             * Parameter options:
123             * (string) username, (string) password, (string) ip
124             * @param mixed,... See function description for parameter options
125             * @return kt_response
126             * @throws Exception invalid function signature message
127             */
128            public function login($mixed = null) {
129                    $validParameters = array(
130                            "(string)(string)(string)",
131                    );
132                    $args = func_get_args();
133                    $this->_checkArguments($args, $validParameters);
134                    return $this->__soapCall("login", $args);
135            }
136    
137    
138            /**
139             * Service Call: anonymous_login
140             * Parameter options:
141             * (string) ip
142             * @param mixed,... See function description for parameter options
143             * @return kt_response
144             * @throws Exception invalid function signature message
145             */
146            public function anonymous_login($mixed = null) {
147                    $validParameters = array(
148                            "(string)",
149                    );
150                    $args = func_get_args();
151                    $this->_checkArguments($args, $validParameters);
152                    return $this->__soapCall("anonymous_login", $args);
153            }
154    
155    
156            /**
157             * Service Call: logout
158             * Parameter options:
159             * (string) session_id
160             * @param mixed,... See function description for parameter options
161             * @return kt_response
162             * @throws Exception invalid function signature message
163             */
164            public function logout($mixed = null) {
165                    $validParameters = array(
166                            "(string)",
167                    );
168                    $args = func_get_args();
169                    $this->_checkArguments($args, $validParameters);
170                    return $this->__soapCall("logout", $args);
171            }
172    
173    
174            /**
175             * Service Call: get_folder_detail
176             * Parameter options:
177             * (string) session_id, (integer) folder_id
178             * @param mixed,... See function description for parameter options
179             * @return kt_folder_detail
180             * @throws Exception invalid function signature message
181             */
182            public function get_folder_detail($mixed = null) {
183                    $validParameters = array(
184                            "(string)(integer)",
185                    );
186                    $args = func_get_args();
187                    $this->_checkArguments($args, $validParameters);
188                    return $this->__soapCall("get_folder_detail", $args);
189            }
190    
191    
192            /**
193             * Service Call: get_documents_by_oem_no
194             * Parameter options:
195             * (string) session_id, (string) oem_no, (string) detail
196             * @param mixed,... See function description for parameter options
197             * @return kt_document_collection_response
198             * @throws Exception invalid function signature message
199             */
200            public function get_documents_by_oem_no($mixed = null) {
201                    $validParameters = array(
202                            "(string)(string)(string)",
203                    );
204                    $args = func_get_args();
205                    $this->_checkArguments($args, $validParameters);
206                    return $this->__soapCall("get_documents_by_oem_no", $args);
207            }
208    
209    
210            /**
211             * Service Call: get_folder_detail_by_name
212             * Parameter options:
213             * (string) session_id, (string) folder_name
214             * @param mixed,... See function description for parameter options
215             * @return kt_folder_detail
216             * @throws Exception invalid function signature message
217             */
218            public function get_folder_detail_by_name($mixed = null) {
219                    $validParameters = array(
220                            "(string)(string)",
221                    );
222                    $args = func_get_args();
223                    $this->_checkArguments($args, $validParameters);
224                    return $this->__soapCall("get_folder_detail_by_name", $args);
225            }
226    
227    
228            /**
229             * Service Call: get_folder_contents
230             * Parameter options:
231             * (string) session_id, (integer) folder_id, (integer) depth, (string) what
232             * @param mixed,... See function description for parameter options
233             * @return kt_folder_contents
234             * @throws Exception invalid function signature message
235             */
236            public function get_folder_contents($mixed = null) {
237                    $validParameters = array(
238                            "(string)(integer)(integer)(string)",
239                    );
240                    $args = func_get_args();
241                    $this->_checkArguments($args, $validParameters);
242                    return $this->__soapCall("get_folder_contents", $args);
243            }
244    
245    
246            /**
247             * Service Call: create_folder
248             * Parameter options:
249             * (string) session_id, (integer) folder_id, (string) folder_name
250             * @param mixed,... See function description for parameter options
251             * @return kt_folder_detail
252             * @throws Exception invalid function signature message
253             */
254            public function create_folder($mixed = null) {
255                    $validParameters = array(
256                            "(string)(integer)(string)",
257                    );
258                    $args = func_get_args();
259                    $this->_checkArguments($args, $validParameters);
260                    return $this->__soapCall("create_folder", $args);
261            }
262    
263    
264            /**
265             * Service Call: add_folder
266             * Parameter options:
267             * (string) session_id, (integer) folder_id, (string) folder_name
268             * @param mixed,... See function description for parameter options
269             * @return kt_folder_detail
270             * @throws Exception invalid function signature message
271             */
272            public function add_folder($mixed = null) {
273                    $validParameters = array(
274                            "(string)(integer)(string)",
275                    );
276                    $args = func_get_args();
277                    $this->_checkArguments($args, $validParameters);
278                    return $this->__soapCall("add_folder", $args);
279            }
280    
281    
282            /**
283             * Service Call: delete_folder
284             * Parameter options:
285             * (string) session_id, (integer) folder_id, (string) reason
286             * @param mixed,... See function description for parameter options
287             * @return kt_response
288             * @throws Exception invalid function signature message
289             */
290            public function delete_folder($mixed = null) {
291                    $validParameters = array(
292                            "(string)(integer)(string)",
293                    );
294                    $args = func_get_args();
295                    $this->_checkArguments($args, $validParameters);
296                    return $this->__soapCall("delete_folder", $args);
297            }
298    
299    
300            /**
301             * Service Call: rename_folder
302             * Parameter options:
303             * (string) session_id, (integer) folder_id, (string) newname
304             * @param mixed,... See function description for parameter options
305             * @return kt_response
306             * @throws Exception invalid function signature message
307             */
308            public function rename_folder($mixed = null) {
309                    $validParameters = array(
310                            "(string)(integer)(string)",
311                    );
312                    $args = func_get_args();
313                    $this->_checkArguments($args, $validParameters);
314                    return $this->__soapCall("rename_folder", $args);
315            }
316    
317    
318            /**
319             * Service Call: get_document_links
320             * Parameter options:
321             * (string) session_id, (integer) document_id
322             * @param mixed,... See function description for parameter options
323             * @return kt_linked_document_response
324             * @throws Exception invalid function signature message
325             */
326            public function get_document_links($mixed = null) {
327                    $validParameters = array(
328                            "(string)(integer)",
329                    );
330                    $args = func_get_args();
331                    $this->_checkArguments($args, $validParameters);
332                    return $this->__soapCall("get_document_links", $args);
333            }
334    
335    
336            /**
337             * Service Call: link_documents
338             * Parameter options:
339             * (string) session_id, (integer) parent_document_id, (integer) child_document_id, (string) type
340             * @param mixed,... See function description for parameter options
341             * @return kt_response
342             * @throws Exception invalid function signature message
343             */
344            public function link_documents($mixed = null) {
345                    $validParameters = array(
346                            "(string)(integer)(integer)(string)",
347                    );
348                    $args = func_get_args();
349                    $this->_checkArguments($args, $validParameters);
350                    return $this->__soapCall("link_documents", $args);
351            }
352    
353    
354            /**
355             * Service Call: unlink_documents
356             * Parameter options:
357             * (string) session_id, (integer) parent_document_id, (integer) child_document_id
358             * @param mixed,... See function description for parameter options
359             * @return kt_response
360             * @throws Exception invalid function signature message
361             */
362            public function unlink_documents($mixed = null) {
363                    $validParameters = array(
364                            "(string)(integer)(integer)",
365                    );
366                    $args = func_get_args();
367                    $this->_checkArguments($args, $validParameters);
368                    return $this->__soapCall("unlink_documents", $args);
369            }
370    
371    
372            /**
373             * Service Call: copy_folder
374             * Parameter options:
375             * (string) session_id, (integer) source_id, (integer) target_id, (string) reason
376             * @param mixed,... See function description for parameter options
377             * @return kt_folder_detail
378             * @throws Exception invalid function signature message
379             */
380            public function copy_folder($mixed = null) {
381                    $validParameters = array(
382                            "(string)(integer)(integer)(string)",
383                    );
384                    $args = func_get_args();
385                    $this->_checkArguments($args, $validParameters);
386                    return $this->__soapCall("copy_folder", $args);
387            }
388    
389    
390            /**
391             * Service Call: move_folder
392             * Parameter options:
393             * (string) session_id, (integer) source_id, (integer) target_id, (string) reason
394             * @param mixed,... See function description for parameter options
395             * @return kt_folder_detail
396             * @throws Exception invalid function signature message
397             */
398            public function move_folder($mixed = null) {
399                    $validParameters = array(
400                            "(string)(integer)(integer)(string)",
401                    );
402                    $args = func_get_args();
403                    $this->_checkArguments($args, $validParameters);
404                    return $this->__soapCall("move_folder", $args);
405            }
406    
407    
408            /**
409             * Service Call: get_document_detail
410             * Parameter options:
411             * (string) session_id, (integer) document_id, (string) detail
412             * @param mixed,... See function description for parameter options
413             * @return kt_document_detail
414             * @throws Exception invalid function signature message
415             */
416            public function get_document_detail($mixed = null) {
417                    $validParameters = array(
418                            "(string)(integer)(string)",
419                    );
420                    $args = func_get_args();
421                    $this->_checkArguments($args, $validParameters);
422                    return $this->__soapCall("get_document_detail", $args);
423            }
424    
425    
426            /**
427             * Service Call: checkin_document
428             * Parameter options:
429             * (string) session_id, (integer) document_id, (string) filename, (string) reason, (string) tempfilename, (boolean) major_update
430             * @param mixed,... See function description for parameter options
431             * @return kt_document_detail
432             * @throws Exception invalid function signature message
433             */
434            public function checkin_document($mixed = null) {
435                    $validParameters = array(
436                            "(string)(integer)(string)(string)(string)(boolean)",
437                    );
438                    $args = func_get_args();
439                    $this->_checkArguments($args, $validParameters);
440                    return $this->__soapCall("checkin_document", $args);
441            }
442    
443    
444            /**
445             * Service Call: checkin_small_document
446             * Parameter options:
447             * (string) session_id, (integer) document_id, (string) filename, (string) reason, (string) base64, (boolean) major_update
448             * @param mixed,... See function description for parameter options
449             * @return kt_document_detail
450             * @throws Exception invalid function signature message
451             */
452            public function checkin_small_document($mixed = null) {
453                    $validParameters = array(
454                            "(string)(integer)(string)(string)(string)(boolean)",
455                    );
456                    $args = func_get_args();
457                    $this->_checkArguments($args, $validParameters);
458                    return $this->__soapCall("checkin_small_document", $args);
459            }
460    
461    
462            /**
463             * Service Call: checkin_base64_document
464             * Parameter options:
465             * (string) session_id, (integer) document_id, (string) filename, (string) reason, (string) base64, (boolean) major_update
466             * @param mixed,... See function description for parameter options
467             * @return kt_document_detail
468             * @throws Exception invalid function signature message
469             */
470            public function checkin_base64_document($mixed = null) {
471                    $validParameters = array(
472                            "(string)(integer)(string)(string)(string)(boolean)",
473                    );
474                    $args = func_get_args();
475                    $this->_checkArguments($args, $validParameters);
476                    return $this->__soapCall("checkin_base64_document", $args);
477            }
478    
479    
480            /**
481             * Service Call: checkin_base64_document_with_metadata
482             * Parameter options:
483             * (string) session_id, (integer) document_id, (string) filename, (string) reason, (string) base64, (boolean) major_update, (kt_metadata_fieldsets) metadata, (kt_sysdata) sysdata
484             * @param mixed,... See function description for parameter options
485             * @return kt_document_detail
486             * @throws Exception invalid function signature message
487             */
488            public function checkin_base64_document_with_metadata($mixed = null) {
489                    $validParameters = array(
490                            "(string)(integer)(string)(string)(string)(boolean)(kt_metadata_fieldsets)(kt_sysdata)",
491                    );
492                    $args = func_get_args();
493                    $this->_checkArguments($args, $validParameters);
494                    return $this->__soapCall("checkin_base64_document_with_metadata", $args);
495            }
496    
497    
498            /**
499             * Service Call: checkin_document_with_metadata
500             * Parameter options:
501             * (string) session_id, (integer) document_id, (string) filename, (string) reason, (string) tempfilename, (boolean) major_update, (kt_metadata_fieldsets) metadata, (kt_sysdata) sysdata
502             * @param mixed,... See function description for parameter options
503             * @return kt_document_detail
504             * @throws Exception invalid function signature message
505             */
506            public function checkin_document_with_metadata($mixed = null) {
507                    $validParameters = array(
508                            "(string)(integer)(string)(string)(string)(boolean)(kt_metadata_fieldsets)(kt_sysdata)",
509                    );
510                    $args = func_get_args();
511                    $this->_checkArguments($args, $validParameters);
512                    return $this->__soapCall("checkin_document_with_metadata", $args);
513            }
514    
515    
516            /**
517             * Service Call: add_document
518             * Parameter options:
519             * (string) session_id, (integer) folder_id, (string) title, (string) filename, (string) documentype, (string) tempfilename
520             * @param mixed,... See function description for parameter options
521             * @return kt_document_detail
522             * @throws Exception invalid function signature message
523             */
524            public function add_document($mixed = null) {
525                    $validParameters = array(
526                            "(string)(integer)(string)(string)(string)(string)",
527                    );
528                    $args = func_get_args();
529                    $this->_checkArguments($args, $validParameters);
530                    return $this->__soapCall("add_document", $args);
531            }
532    
533    
534            /**
535             * Service Call: add_small_document
536             * Parameter options:
537             * (string) session_id, (integer) folder_id, (string) title, (string) filename, (string) documentype, (string) base64
538             * @param mixed,... See function description for parameter options
539             * @return kt_document_detail
540             * @throws Exception invalid function signature message
541             */
542            public function add_small_document($mixed = null) {
543                    $validParameters = array(
544                            "(string)(integer)(string)(string)(string)(string)",
545                    );
546                    $args = func_get_args();
547                    $this->_checkArguments($args, $validParameters);
548                    return $this->__soapCall("add_small_document", $args);
549            }
550    
551    
552            /**
553             * Service Call: add_base64_document
554             * Parameter options:
555             * (string) session_id, (integer) folder_id, (string) title, (string) filename, (string) documentype, (string) base64
556             * @param mixed,... See function description for parameter options
557             * @return kt_document_detail
558             * @throws Exception invalid function signature message
559             */
560            public function add_base64_document($mixed = null) {
561                    $validParameters = array(
562                            "(string)(integer)(string)(string)(string)(string)",
563                    );
564                    $args = func_get_args();
565                    $this->_checkArguments($args, $validParameters);
566                    return $this->__soapCall("add_base64_document", $args);
567            }
568    
569    
570            /**
571             * Service Call: add_base64_document_with_metadata
572             * Parameter options:
573             * (string) session_id, (integer) folder_id, (string) title, (string) filename, (string) documentype, (string) base64, (kt_metadata_fieldsets) metadata, (kt_sysdata) sysdata
574             * @param mixed,... See function description for parameter options
575             * @return kt_document_detail
576             * @throws Exception invalid function signature message
577             */
578            public function add_base64_document_with_metadata($mixed = null) {
579                    $validParameters = array(
580                            "(string)(integer)(string)(string)(string)(string)(kt_metadata_fieldsets)(kt_sysdata)",
581                    );
582                    $args = func_get_args();
583                    $this->_checkArguments($args, $validParameters);
584                    return $this->__soapCall("add_base64_document_with_metadata", $args);
585            }
586    
587    
588            /**
589             * Service Call: add_document_with_metadata
590             * Parameter options:
591             * (string) session_id, (integer) folder_id, (string) title, (string) filename, (string) documentype, (string) tempfilename, (kt_metadata_fieldsets) metadata, (kt_sysdata) sysdata
592             * @param mixed,... See function description for parameter options
593             * @return kt_document_detail
594             * @throws Exception invalid function signature message
595             */
596            public function add_document_with_metadata($mixed = null) {
597                    $validParameters = array(
598                            "(string)(integer)(string)(string)(string)(string)(kt_metadata_fieldsets)(kt_sysdata)",
599                    );
600                    $args = func_get_args();
601                    $this->_checkArguments($args, $validParameters);
602                    return $this->__soapCall("add_document_with_metadata", $args);
603            }
604    
605    
606            /**
607             * Service Call: get_document_detail_by_name
608             * Parameter options:
609             * (string) session_id, (integer) folder_id, (string) document_name, (string) what, (string) detail
610             * @param mixed,... See function description for parameter options
611             * @return kt_document_detail
612             * @throws Exception invalid function signature message
613             */
614            public function get_document_detail_by_name($mixed = null) {
615                    $validParameters = array(
616                            "(string)(integer)(string)(string)(string)",
617                    );
618                    $args = func_get_args();
619                    $this->_checkArguments($args, $validParameters);
620                    return $this->__soapCall("get_document_detail_by_name", $args);
621            }
622    
623    
624            /**
625             * Service Call: get_document_detail_by_title
626             * Parameter options:
627             * (string) session_id, (integer) folder_id, (string) title, (string) detail
628             * @param mixed,... See function description for parameter options
629             * @return kt_document_detail
630             * @throws Exception invalid function signature message
631             */
632            public function get_document_detail_by_title($mixed = null) {
633                    $validParameters = array(
634                            "(string)(integer)(string)(string)",
635                    );
636                    $args = func_get_args();
637                    $this->_checkArguments($args, $validParameters);
638                    return $this->__soapCall("get_document_detail_by_title", $args);
639            }
640    
641    
642            /**
643             * Service Call: get_document_detail_by_filename
644             * Parameter options:
645             * (string) session_id, (integer) folder_id, (string) filename, (string) detail
646             * @param mixed,... See function description for parameter options
647             * @return kt_document_detail
648             * @throws Exception invalid function signature message
649             */
650            public function get_document_detail_by_filename($mixed = null) {
651                    $validParameters = array(
652                            "(string)(integer)(string)(string)",
653                    );
654                    $args = func_get_args();
655                    $this->_checkArguments($args, $validParameters);
656                    return $this->__soapCall("get_document_detail_by_filename", $args);
657            }
658    
659    
660            /**
661             * Service Call: checkout_document
662             * Parameter options:
663             * (string) session_id, (integer) document_id, (string) reason, (boolean) download
664             * @param mixed,... See function description for parameter options
665             * @return kt_document_detail
666             * @throws Exception invalid function signature message
667             */
668            public function checkout_document($mixed = null) {
669                    $validParameters = array(
670                            "(string)(integer)(string)(boolean)",
671                    );
672                    $args = func_get_args();
673                    $this->_checkArguments($args, $validParameters);
674                    return $this->__soapCall("checkout_document", $args);
675            }
676    
677    
678            /**
679             * Service Call: checkout_small_document
680             * Parameter options:
681             * (string) session_id, (integer) document_id, (string) reason, (boolean) download
682             * @param mixed,... See function description for parameter options
683             * @return kt_document_detail
684             * @throws Exception invalid function signature message
685             */
686            public function checkout_small_document($mixed = null) {
687                    $validParameters = array(
688                            "(string)(integer)(string)(boolean)",
689                    );
690                    $args = func_get_args();
691                    $this->_checkArguments($args, $validParameters);
692                    return $this->__soapCall("checkout_small_document", $args);
693            }
694    
695    
696            /**
697             * Service Call: checkout_base64_document
698             * Parameter options:
699             * (string) session_id, (integer) document_id, (string) reason, (boolean) download
700             * @param mixed,... See function description for parameter options
701             * @return kt_document_detail
702             * @throws Exception invalid function signature message
703             */
704            public function checkout_base64_document($mixed = null) {
705                    $validParameters = array(
706                            "(string)(integer)(string)(boolean)",
707                    );
708                    $args = func_get_args();
709                    $this->_checkArguments($args, $validParameters);
710                    return $this->__soapCall("checkout_base64_document", $args);
711            }
712    
713    
714            /**
715             * Service Call: undo_document_checkout
716             * Parameter options:
717             * (string) session_id, (integer) document_id, (string) reason
718             * @param mixed,... See function description for parameter options
719             * @return kt_document_detail
720             * @throws Exception invalid function signature message
721             */
722            public function undo_document_checkout($mixed = null) {
723                    $validParameters = array(
724                            "(string)(integer)(string)",
725                    );
726                    $args = func_get_args();
727                    $this->_checkArguments($args, $validParameters);
728                    return $this->__soapCall("undo_document_checkout", $args);
729            }
730    
731    
732            /**
733             * Service Call: download_document
734             * Parameter options:
735             * (string) session_id, (integer) document_id
736             * @param mixed,... See function description for parameter options
737             * @return kt_response
738             * @throws Exception invalid function signature message
739             */
740            public function download_document($mixed = null) {
741                    $validParameters = array(
742                            "(string)(integer)",
743                    );
744                    $args = func_get_args();
745                    $this->_checkArguments($args, $validParameters);
746                    return $this->__soapCall("download_document", $args);
747            }
748    
749    
750            /**
751             * Service Call: download_small_document
752             * Parameter options:
753             * (string) session_id, (integer) document_id
754             * @param mixed,... See function description for parameter options
755             * @return kt_response
756             * @throws Exception invalid function signature message
757             */
758            public function download_small_document($mixed = null) {
759                    $validParameters = array(
760                            "(string)(integer)",
761                    );
762                    $args = func_get_args();
763                    $this->_checkArguments($args, $validParameters);
764                    return $this->__soapCall("download_small_document", $args);
765            }
766    
767    
768            /**
769             * Service Call: download_base64_document
770             * Parameter options:
771             * (string) session_id, (integer) document_id
772             * @param mixed,... See function description for parameter options
773             * @return kt_response
774             * @throws Exception invalid function signature message
775             */
776            public function download_base64_document($mixed = null) {
777                    $validParameters = array(
778                            "(string)(integer)",
779                    );
780                    $args = func_get_args();
781                    $this->_checkArguments($args, $validParameters);
782                    return $this->__soapCall("download_base64_document", $args);
783            }
784    
785    
786            /**
787             * Service Call: delete_document
788             * Parameter options:
789             * (string) session_id, (integer) document_id, (string) reason
790             * @param mixed,... See function description for parameter options
791             * @return kt_response
792             * @throws Exception invalid function signature message
793             */
794            public function delete_document($mixed = null) {
795                    $validParameters = array(
796                            "(string)(integer)(string)",
797                    );
798                    $args = func_get_args();
799                    $this->_checkArguments($args, $validParameters);
800                    return $this->__soapCall("delete_document", $args);
801            }
802    
803    
804            /**
805             * Service Call: change_document_owner
806             * Parameter options:
807             * (string) session_id, (integer) document_id, (string) username, (string) reason
808             * @param mixed,... See function description for parameter options
809             * @return kt_document_detail
810             * @throws Exception invalid function signature message
811             */
812            public function change_document_owner($mixed = null) {
813                    $validParameters = array(
814                            "(string)(integer)(string)(string)",
815                    );
816                    $args = func_get_args();
817                    $this->_checkArguments($args, $validParameters);
818                    return $this->__soapCall("change_document_owner", $args);
819            }
820    
821    
822            /**
823             * Service Call: copy_document
824             * Parameter options:
825             * (string) session_id, (integer) document_id, (integer) folder_id, (string) reason, (string) options
826             * @param mixed,... See function description for parameter options
827             * @return kt_document_detail
828             * @throws Exception invalid function signature message
829             */
830            public function copy_document($mixed = null) {
831                    $validParameters = array(
832                            "(string)(integer)(integer)(string)(string)",
833                    );
834                    $args = func_get_args();
835                    $this->_checkArguments($args, $validParameters);
836                    return $this->__soapCall("copy_document", $args);
837            }
838    
839    
840            /**
841             * Service Call: move_document
842             * Parameter options:
843             * (string) session_id, (integer) document_id, (integer) folder_id, (string) reason, (string) options
844             * @param mixed,... See function description for parameter options
845             * @return kt_document_detail
846             * @throws Exception invalid function signature message
847             */
848            public function move_document($mixed = null) {
849                    $validParameters = array(
850                            "(string)(integer)(integer)(string)(string)",
851                    );
852                    $args = func_get_args();
853                    $this->_checkArguments($args, $validParameters);
854                    return $this->__soapCall("move_document", $args);
855            }
856    
857    
858            /**
859             * Service Call: rename_document_title
860             * Parameter options:
861             * (string) session_id, (integer) document_id, (string) newtitle
862             * @param mixed,... See function description for parameter options
863             * @return kt_document_detail
864             * @throws Exception invalid function signature message
865             */
866            public function rename_document_title($mixed = null) {
867                    $validParameters = array(
868                            "(string)(integer)(string)",
869                    );
870                    $args = func_get_args();
871                    $this->_checkArguments($args, $validParameters);
872                    return $this->__soapCall("rename_document_title", $args);
873            }
874    
875    
876            /**
877             * Service Call: rename_document_filename
878             * Parameter options:
879             * (string) session_id, (integer) document_id, (string) newfilename
880             * @param mixed,... See function description for parameter options
881             * @return kt_document_detail
882             * @throws Exception invalid function signature message
883             */
884            public function rename_document_filename($mixed = null) {
885                    $validParameters = array(
886                            "(string)(integer)(string)",
887                    );
888                    $args = func_get_args();
889                    $this->_checkArguments($args, $validParameters);
890                    return $this->__soapCall("rename_document_filename", $args);
891            }
892    
893    
894            /**
895             * Service Call: change_document_type
896             * Parameter options:
897             * (string) session_id, (integer) document_id, (string) documenttype
898             * @param mixed,... See function description for parameter options
899             * @return kt_document_detail
900             * @throws Exception invalid function signature message
901             */
902            public function change_document_type($mixed = null) {
903                    $validParameters = array(
904                            "(string)(integer)(string)",
905                    );
906                    $args = func_get_args();
907                    $this->_checkArguments($args, $validParameters);
908                    return $this->__soapCall("change_document_type", $args);
909            }
910    
911    
912            /**
913             * Service Call: start_document_workflow
914             * Parameter options:
915             * (string) session_id, (integer) document_id, (string) workflow
916             * @param mixed,... See function description for parameter options
917             * @return kt_document_detail
918             * @throws Exception invalid function signature message
919             */
920            public function start_document_workflow($mixed = null) {
921                    $validParameters = array(
922                            "(string)(integer)(string)",
923                    );
924                    $args = func_get_args();
925                    $this->_checkArguments($args, $validParameters);
926                    return $this->__soapCall("start_document_workflow", $args);
927            }
928    
929    
930            /**
931             * Service Call: delete_document_workflow
932             * Parameter options:
933             * (string) session_id, (integer) document_id
934             * @param mixed,... See function description for parameter options
935             * @return kt_document_detail
936             * @throws Exception invalid function signature message
937             */
938            public function delete_document_workflow($mixed = null) {
939                    $validParameters = array(
940                            "(string)(integer)",
941                    );
942                    $args = func_get_args();
943                    $this->_checkArguments($args, $validParameters);
944                    return $this->__soapCall("delete_document_workflow", $args);
945            }
946    
947    
948            /**
949             * Service Call: stop_document_workflow
950             * Parameter options:
951             * (string) session_id, (integer) document_id
952             * @param mixed,... See function description for parameter options
953             * @return kt_document_detail
954             * @throws Exception invalid function signature message
955             */
956            public function stop_document_workflow($mixed = null) {
957                    $validParameters = array(
958                            "(string)(integer)",
959                    );
960                    $args = func_get_args();
961                    $this->_checkArguments($args, $validParameters);
962                    return $this->__soapCall("stop_document_workflow", $args);
963            }
964    
965    
966            /**
967             * Service Call: perform_document_workflow_transition
968             * Parameter options:
969             * (string) session_id, (integer) document_id, (string) transition, (string) reason
970             * @param mixed,... See function description for parameter options
971             * @return kt_document_detail
972             * @throws Exception invalid function signature message
973             */
974            public function perform_document_workflow_transition($mixed = null) {
975                    $validParameters = array(
976                            "(string)(integer)(string)(string)",
977                    );
978                    $args = func_get_args();
979                    $this->_checkArguments($args, $validParameters);
980                    return $this->__soapCall("perform_document_workflow_transition", $args);
981            }
982    
983    
984            /**
985             * Service Call: get_document_metadata
986             * Parameter options:
987             * (string) session_id, (integer) document_id
988             * @param mixed,... See function description for parameter options
989             * @return kt_metadata_response
990             * @throws Exception invalid function signature message
991             */
992            public function get_document_metadata($mixed = null) {
993                    $validParameters = array(
994                            "(string)(integer)",
995                    );
996                    $args = func_get_args();
997                    $this->_checkArguments($args, $validParameters);
998                    return $this->__soapCall("get_document_metadata", $args);
999            }
1000    
1001    
1002            /**
1003             * Service Call: get_document_type_metadata
1004             * Parameter options:
1005             * (string) session_id, (string) document_type
1006             * @param mixed,... See function description for parameter options
1007             * @return kt_metadata_response
1008             * @throws Exception invalid function signature message
1009             */
1010            public function get_document_type_metadata($mixed = null) {
1011                    $validParameters = array(
1012                            "(string)(string)",
1013                    );
1014                    $args = func_get_args();
1015                    $this->_checkArguments($args, $validParameters);
1016                    return $this->__soapCall("get_document_type_metadata", $args);
1017            }
1018    
1019    
1020            /**
1021             * Service Call: update_document_metadata
1022             * Parameter options:
1023             * (string) session_id, (integer) document_id, (kt_metadata_fieldsets) metadata, (kt_sysdata) sysdata
1024             * @param mixed,... See function description for parameter options
1025             * @return kt_document_detail
1026             * @throws Exception invalid function signature message
1027             */
1028            public function update_document_metadata($mixed = null) {
1029                    $validParameters = array(
1030                            "(string)(integer)(kt_metadata_fieldsets)(kt_sysdata)",
1031                    );
1032                    $args = func_get_args();
1033                    $this->_checkArguments($args, $validParameters);
1034                    return $this->__soapCall("update_document_metadata", $args);
1035            }
1036    
1037    
1038            /**
1039             * Service Call: get_document_workflow_transitions
1040             * Parameter options:
1041             * (string) session_id, (integer) document_id
1042             * @param mixed,... See function description for parameter options
1043             * @return kt_workflow_transitions_response
1044             * @throws Exception invalid function signature message
1045             */
1046            public function get_document_workflow_transitions($mixed = null) {
1047                    $validParameters = array(
1048                            "(string)(integer)",
1049                    );
1050                    $args = func_get_args();
1051                    $this->_checkArguments($args, $validParameters);
1052                    return $this->__soapCall("get_document_workflow_transitions", $args);
1053            }
1054    
1055    
1056            /**
1057             * Service Call: get_document_workflow_state
1058             * Parameter options:
1059             * (string) session_id, (integer) document_id
1060             * @param mixed,... See function description for parameter options
1061             * @return kt_response
1062             * @throws Exception invalid function signature message
1063             */
1064            public function get_document_workflow_state($mixed = null) {
1065                    $validParameters = array(
1066                            "(string)(integer)",
1067                    );
1068                    $args = func_get_args();
1069                    $this->_checkArguments($args, $validParameters);
1070                    return $this->__soapCall("get_document_workflow_state", $args);
1071            }
1072    
1073    
1074            /**
1075             * Service Call: get_document_transaction_history
1076             * Parameter options:
1077             * (string) session_id, (integer) document_id
1078             * @param mixed,... See function description for parameter options
1079             * @return kt_document_transaction_history_response
1080             * @throws Exception invalid function signature message
1081             */
1082            public function get_document_transaction_history($mixed = null) {
1083                    $validParameters = array(
1084                            "(string)(integer)",
1085                    );
1086                    $args = func_get_args();
1087                    $this->_checkArguments($args, $validParameters);
1088                    return $this->__soapCall("get_document_transaction_history", $args);
1089            }
1090    
1091    
1092            /**
1093             * Service Call: get_document_version_history
1094             * Parameter options:
1095             * (string) session_id, (integer) document_id
1096             * @param mixed,... See function description for parameter options
1097             * @return kt_document_version_history_response
1098             * @throws Exception invalid function signature message
1099             */
1100            public function get_document_version_history($mixed = null) {
1101                    $validParameters = array(
1102                            "(string)(integer)",
1103                    );
1104                    $args = func_get_args();
1105                    $this->_checkArguments($args, $validParameters);
1106                    return $this->__soapCall("get_document_version_history", $args);
1107            }
1108    
1109    
1110            /**
1111             * Service Call: get_document_types
1112             * Parameter options:
1113             * (string) session_id
1114             * @param mixed,... See function description for parameter options
1115             * @return kt_document_types_response
1116             * @throws Exception invalid function signature message
1117             */
1118            public function get_document_types($mixed = null) {
1119                    $validParameters = array(
1120                            "(string)",
1121                    );
1122                    $args = func_get_args();
1123                    $this->_checkArguments($args, $validParameters);
1124                    return $this->__soapCall("get_document_types", $args);
1125            }
1126    
1127    
1128            /**
1129             * Service Call: get_workflows
1130             * Parameter options:
1131             * (string) session_id
1132             * @param mixed,... See function description for parameter options
1133             * @return kt_workflows_response
1134             * @throws Exception invalid function signature message
1135             */
1136            public function get_workflows($mixed = null) {
1137                    $validParameters = array(
1138                            "(string)",
1139                    );
1140                    $args = func_get_args();
1141                    $this->_checkArguments($args, $validParameters);
1142                    return $this->__soapCall("get_workflows", $args);
1143            }
1144    
1145    
1146            /**
1147             * Service Call: get_document_link_types
1148             * Parameter options:
1149             * (string) session_id
1150             * @param mixed,... See function description for parameter options
1151             * @return kt_document_types_response
1152             * @throws Exception invalid function signature message
1153             */
1154            public function get_document_link_types($mixed = null) {
1155                    $validParameters = array(
1156                            "(string)",
1157                    );
1158                    $args = func_get_args();
1159                    $this->_checkArguments($args, $validParameters);
1160                    return $this->__soapCall("get_document_link_types", $args);
1161            }
1162    
1163    
1164            /**
1165             * Service Call: get_client_policies
1166             * Parameter options:
1167             * (string) session_id, (string) client
1168             * @param mixed,... See function description for parameter options
1169             * @return kt_client_policies_response
1170             * @throws Exception invalid function signature message
1171             */
1172            public function get_client_policies($mixed = null) {
1173                    $validParameters = array(
1174                            "(string)(string)",
1175                    );
1176                    $args = func_get_args();
1177                    $this->_checkArguments($args, $validParameters);
1178                    return $this->__soapCall("get_client_policies", $args);
1179            }
1180    
1181    
1182    }}
1183    
1184    ?>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

  ViewVC Help
Powered by ViewVC 1.1.2