Class ::xo::db::image

::xo::db::image[i] create ...

Class Relations

  • class: ::xo::db::CrClass[i]
  • superclass: ::xo::db::CrItem[i]
::xo::db::CrClass create ::xo::db::image \
     -superclass ::xo::db::CrItem

Methods (to be applied on instances)

  • height (setter)

  • image_id (setter)

  • mime_type (setter)

  • update (scripted)

    ::xo::dc transaction {
      next
      :instvar object_id width height
      ::xo::dc dml update_images {update images
        set width = :width,height = :height where image_id = :object_id
      }
    }
  • width (setter)

Variables

::xo::db::image set __default_metaclass ::xotcl::Class
::xo::db::image set __default_superclass ::xotcl::Object
::xo::db::image set abstract_p f
::xo::db::image set auto_save false
::xo::db::image array set db_constraints {}
::xo::db::image array set db_slot \
       {height ::xo::db::image::slot::height creation_date ::xo::db::Object::slot::creation_date \
       creation_user ::xo::db::Object::slot::creation_user object_id \
       ::xo::db::Object::slot::object_id description ::xo::db::CrItem::slot::description creation_ip \
       ::xo::db::Object::slot::creation_ip text ::xo::db::CrItem::slot::text width \
       ::xo::db::image::slot::width nls_language ::xo::db::CrItem::slot::nls_language object_title \
       ::xo::db::Object::slot::object_title package_id ::xo::db::Object::slot::package_id \
       security_inherit_p ::xo::db::Object::slot::security_inherit_p context_id \
       ::xo::db::Object::slot::context_id mime_type ::xo::db::CrItem::slot::mime_type name \
       ::xo::db::CrItem::slot::name title ::xo::db::CrItem::slot::title item_id \
       ::xo::db::CrItem::slot::item_id revision_id ::xo::db::CrItem::slot::revision_id \
       modifying_user ::xo::db::Object::slot::modifying_user publish_date \
       ::xo::db::CrItem::slot::publish_date last_modified ::xo::db::Object::slot::last_modified \
       modifying_ip ::xo::db::Object::slot::modifying_ip image_id ::xo::db::image::slot::image_id}
::xo::db::image set folder_id -100
::xo::db::image set id_column image_id
::xo::db::image set mime_type text/plain
::xo::db::image set name_method {}
::xo::db::image set non_cached_instance_var_patterns __*
::xo::db::image set object_type image
::xo::db::image set object_type_key 000000000000111100000000
::xo::db::image set pretty_name Image
::xo::db::image set pretty_plural Image
::xo::db::image set security_inherit_p t
::xo::db::image set sql_package_name ::xo::db::image
::xo::db::image set storage_type text
::xo::db::image set supertype content_revision
::xo::db::image set table_name images
::xo::db::image set with_table true