%3 ::nx::Object ::nx::Object __default_accessor __default_method_call_protection __object_configureparameter __resolve_method_path contains copy delete object method delete object property delete object variable destroy_on_cleanup info info info lookup parameters info lookup slots info lookup syntax info lookup variables info object method args info object method body info object method callprotection info object method debug info object method definition info object method definitionhandle info object method deprecated info object method exists info object method handle info object method origin info object method parameters info object method registrationhandle info object method returns info object method submethods info object method syntax info object method type info object slots info object variables info variable definition info variable name info variable parameter move object alias object forward object method object property object variable private protected public qn require namespace require object method require private object method require protected object method require public object method serialize ::xowiki::Upload ::xowiki::Upload store_file ::xowiki::Upload->::nx::Object ::xowiki::UploadPhotoForm ::xowiki::UploadPhotoForm store_file ::xowiki::UploadPhotoForm->::xowiki::Upload ::xowiki::UploadFile ::xowiki::UploadFile store_file ::xowiki::UploadFile->::xowiki::Upload ::xowiki::UploadFileIconified ::xowiki::UploadFileIconified store_file ::xowiki::UploadFileIconified->::xowiki::UploadFile

Class ::xowiki::Upload

::xowiki::Upload[i] create ... \
           [ -content_type content_type ] \
           [ -file_name file_name ] \
           [ -parent_object parent_object ] \
           [ -tmpfile tmpfile ]

Abstract class for upload handlers. Subclasses define concreate behavior. The method "store_file" should either return 201 for successful uploads or 200 for ignored cases.
Defined in packages/xowiki/tcl/xowiki-uploader-procs.tcl

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::nx::Object[i]
  • subclass: ::xowiki::UploadPhotoForm[i], ::xowiki::UploadFile[i]
::nx::Class create ::xowiki::Upload \
     -superclass ::nx::Object

Methods (to be applied on instances)

  • store_file (scripted, public)

     <instance of xowiki::Upload[i]> store_file

    Abstract method.

    Testcases:
    No testcase defined.
    error "not implemented"