Class ::xo::oauth::ServerMetadata (public)
::xo::db::CrClass ::xo::oauth::ServerMetadata
Defined in /var/www/openacs.org/packages/xooauth/tcl/oauth-procs.tcl
Server Metadata is typically stored at the client side
- See Also:
- Testcases:
- No testcase defined.
Source code: namespace eval ::xo::oauth {} ::nsf::object::alloc ::xo::db::CrClass ::xo::oauth::ServerMetadata {set :__default_metaclass ::xotcl::Class set :__default_superclass ::xotcl::Object set :abstract_p f set :auto_save false array set :db_constraints {} array set :db_slot {creation_date ::xo::db::Object::slot::creation_date server_metadata_id ::xo::oauth::ServerMetadata::slot::server_metadata_id creation_user ::xo::db::Object::slot::creation_user object_id ::xo::db::Object::slot::object_id description ::xo::db::CrItem::slot::description temp_credentials_url ::xo::oauth::ServerMetadata::slot::temp_credentials_url creation_ip ::xo::db::Object::slot::creation_ip text ::xo::db::CrItem::slot::text package_id ::xo::db::Object::slot::package_id token_credentials_url ::xo::oauth::ServerMetadata::slot::token_credentials_url nls_language ::xo::db::CrItem::slot::nls_language object_title ::xo::db::Object::slot::object_title 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 authorization_url ::xo::oauth::ServerMetadata::slot::authorization_url 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} set :folder_id -100 set :id_column server_metadata_id set :mime_type text/plain set :name_method {} set :non_cached_instance_var_patterns __* set :object_type ::xo::oauth::ServerMetadata set :object_type_key 000000000000111100011010 set :pretty_name {OAuth Server Metadata} set :pretty_plural {OAuth Server Metadata} set :security_inherit_p t set :sql_package_name ::xo::oauth::ServerMetadata set :storage_type text set :supertype content_revision set :table_name xooauth_server_metadata set :with_table true} ::xo::oauth::ServerMetadata instproc update {} { ::xo::dc transaction { next :instvar object_id token_credentials_url temp_credentials_url authorization_url ::xo::dc dml update_xooauth_server_metadata {update xooauth_server_metadata set token_credentials_url = :token_credentials_url,temp_credentials_url = :temp_credentials_url,authorization_url = :authorization_url where server_metadata_id = :object_id } } } ::xo::oauth::ServerMetadata instparametercmd token_credentials_url ::xo::oauth::ServerMetadata instparametercmd mime_type ::xo::oauth::ServerMetadata instparametercmd temp_credentials_url ::xo::oauth::ServerMetadata instparametercmd server_metadata_id ::xo::oauth::ServerMetadata instparametercmd authorization_url ::nsf::relation::set ::xo::oauth::ServerMetadata superclass ::xo::db::CrItem ::nx::slotObj -container slot ::xo::oauth::ServerMetadata ::nsf::object::alloc ::xo::db::CrAttribute ::xo::oauth::ServerMetadata::slot::authorization_url {set :accessor public set :column_name authorization_url set :configurable true set :convert false set :create_acs_attribute true set :create_table_attribute true set :datatype text set :defaultmethods {} set :disposition alias set :domain ::xo::oauth::ServerMetadata set :incremental false set :manager ::xo::oauth::ServerMetadata::slot::authorization_url set :max_n_values 1 set :methodname authorization_url set :min_n_values 1 set :multiplicity 1..1 set :name authorization_url set :per-object false set :position 0 set :pretty_name #xo.ServerMetadata-authorization_url# set :pretty_plural {} set :references {} set :required false set :sqltype text set :trace none : init} ::nsf::object::alloc ::xo::db::Attribute ::xo::oauth::ServerMetadata::slot::server_metadata_id {set :accessor public set :column_name server_metadata_id set :configurable true set :convert false set :create_acs_attribute false set :create_table_attribute true set :datatype integer set :defaultmethods {} set :disposition alias set :domain ::xo::oauth::ServerMetadata set :incremental false set :manager ::xo::oauth::ServerMetadata::slot::server_metadata_id set :max_n_values 1 set :methodname server_metadata_id set :min_n_values 1 set :multiplicity 1..1 set :name server_metadata_id set :per-object false set :position 0 set :pretty_name ID set :pretty_plural {} set :references {} set :required false set :sqltype integer set :trace none : init} ::nsf::object::alloc ::xo::db::CrAttribute ::xo::oauth::ServerMetadata::slot::token_credentials_url {set :accessor public set :column_name token_credentials_url set :configurable true set :convert false set :create_acs_attribute true set :create_table_attribute true set :datatype text set :defaultmethods {} set :disposition alias set :domain ::xo::oauth::ServerMetadata set :incremental false set :manager ::xo::oauth::ServerMetadata::slot::token_credentials_url set :max_n_values 1 set :methodname token_credentials_url set :min_n_values 1 set :multiplicity 1..1 set :name token_credentials_url set :per-object false set :position 0 set :pretty_name #xo.ServerMetadata-token_credentials_url# set :pretty_plural {} set :references {} set :required false set :sqltype text set :trace none : init} ::nsf::object::alloc ::xo::db::CrAttribute ::xo::oauth::ServerMetadata::slot::temp_credentials_url {set :accessor public set :column_name temp_credentials_url set :configurable true set :convert false set :create_acs_attribute true set :create_table_attribute true set :datatype text set :defaultmethods {} set :disposition alias set :domain ::xo::oauth::ServerMetadata set :incremental false set :manager ::xo::oauth::ServerMetadata::slot::temp_credentials_url set :max_n_values 1 set :methodname temp_credentials_url set :min_n_values 1 set :multiplicity 1..1 set :name temp_credentials_url set :per-object false set :position 0 set :pretty_name #xo.ServerMetadata-temp_credentials_url# set :pretty_plural {} set :references {} set :required false set :sqltype text set :trace none : init} ::nsf::object::alloc ::xotcl::Attribute ::xo::oauth::ServerMetadata::slot::mime_type {set :accessor public set :configurable true set :convert false set :default text/plain set :defaultmethods {} set :disposition alias set :domain ::xo::oauth::ServerMetadata set :incremental false set :manager ::xo::oauth::ServerMetadata::slot::mime_type set :methodname mime_type set :multiplicity 1..1 set :name mime_type set :per-object false set :position 0 set :required false set :substdefault 0b111 set :trace none : init}XQL Not present: Generic, PostgreSQL, Oracle