From 6644f598f4ffb0cdfa5e0c0b206f0e17ffbca6e1 Mon Sep 17 00:00:00 2001 From: conradverm Date: Wed, 6 Jun 2007 11:03:46 +0000 Subject: [PATCH] "KTS-2020" "Web Service functions for 'small_document' need to be aliased." Implemented. --- ktwebservice/webservice.php | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/ktwebservice/webservice.php b/ktwebservice/webservice.php index 1453bd1..1a0b437 100644 --- a/ktwebservice/webservice.php +++ b/ktwebservice/webservice.php @@ -378,6 +378,12 @@ class KTWebService 'out' => array( 'return' => "{urn:$this->namespace}kt_response" ), ); + // checkin_base64_document + $this->__dispatch_map['checkin_base64_document'] = + array('in' => array('session_id'=>'string','document_id'=>'int','filename'=>'string','reason' =>'string','base64' =>'string', 'major_update'=>'boolean' ), + 'out' => array( 'return' => "{urn:$this->namespace}kt_response" ), + 'alias' => 'checkin_small_document' + ); // add_document $this->__dispatch_map['add_document'] = @@ -390,7 +396,16 @@ class KTWebService array('in' => array('session_id'=>'string','folder_id'=>'int','title'=>'string','filename'=>'string','documentype' =>'string','base64' =>'string' ), 'out' => array( 'return' => "{urn:$this->namespace}kt_document_detail" ), ); - + + // add_base64_document + $this->__dispatch_map['add_base64_document'] = + array('in' => array('session_id'=>'string','folder_id'=>'int','title'=>'string','filename'=>'string','documentype' =>'string','base64' =>'string' ), + 'out' => array( 'return' => "{urn:$this->namespace}kt_document_detail" ), + 'alias' => 'add_small_document' + + ); + + // get_document_detail_by_name $this->__dispatch_map['get_document_detail_by_name'] = array('in' => array('session_id' => 'string', 'document_name' => 'string', 'what'=>'string' ), @@ -409,6 +424,12 @@ class KTWebService 'out' => array('return' => "{urn:$this->namespace}kt_response" ), ); + // checkout_base64_document + $this->__dispatch_map['checkout_base64_document'] = + array('in' => array('session_id'=>'string','document_id'=>'int','reason' =>'string','download' => 'boolean'), + 'out' => array('return' => "{urn:$this->namespace}kt_response" ), + 'alias' => 'checkout_small_document' + ); // undo_document_checkout $this->__dispatch_map['undo_document_checkout'] = @@ -428,7 +449,13 @@ class KTWebService 'out' => array('return' => "{urn:$this->namespace}kt_response" ), ); - + // download_base64_document + $this->__dispatch_map['download_base64_document'] = + array('in' => array('session_id'=>'string','document_id'=>'int' ), + 'out' => array('return' => "{urn:$this->namespace}kt_response" ), + 'alias' => 'download_small_document' + ); + // delete_document $this->__dispatch_map['delete_document'] = array('in' => array('session_id'=>'string','document_id'=>'int','reason'=>'string'), -- libgit2 0.21.4