Index: openacs-4/packages/acs-core-docs/www/objects.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/objects.html,v
diff -u -r1.55.2.5 -r1.55.2.6
--- openacs-4/packages/acs-core-docs/www/objects.html 7 Sep 2021 09:39:31 -0000 1.55.2.5
+++ openacs-4/packages/acs-core-docs/www/objects.html 15 Sep 2021 16:11:33 -0000 1.55.2.6
@@ -79,7 +79,7 @@
Fire up your text editor and open the
ROOT/packages/notes/sql/oracle/notes-create.sql
(ROOT/packages/notes/sql/postgresql/notes-create.sql
for the PG version) file created
when we created the package. Then, do the following:
-
+
First, add an entry to the acs_object_types
table with the following PL/SQL call:
begin @@ -139,7 +139,7 @@ because the new typenote
is a subtype ofacs_object
, it will inherit these attributes, so there is no need for us to define them. -
The next thing we do is make a small modification to the data model to
reflect the fact that each row in the notes
table
represents something that is not only an object of type
@@ -164,7 +164,7 @@
use the acs_objects
table to find objects will
transparently find any objects that are instances of any subtype of
acs_objects
.
-
The next step is to define a PL/SQL package for your new type, and write some basic procedures to create and delete objects. Here is a package definition for our new type: @@ -212,7 +212,7 @@ object OBJ was "read only", then any other object that used OBJ as its context would also be "read only" by default. We'll talk about this more later. -