Index: openacs-4/packages/acs-content-repository/www/doc/api/revision.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/api/revision.adp,v diff -u -N -r1.2.2.4 -r1.2.2.5 --- openacs-4/packages/acs-content-repository/www/doc/api/revision.adp 9 Jun 2016 13:03:11 -0000 1.2.2.4 +++ openacs-4/packages/acs-content-repository/www/doc/api/revision.adp 1 Jul 2016 09:17:33 -0000 1.2.2.5 @@ -14,10 +14,10 @@

Overview

Content revisions contain the data for content items. There is a many to one relationship between content revisions and content -items. There is at most one "live" revision for every content item -though. For example, there may be 5 revisions of the review for the -movie "Terminator," yet only one of these may be live on the -website at a given time.

+items. There is at most one "live" revision for every +content item though. For example, there may be 5 revisions of the +review for the movie "Terminator," yet only one of these +may be live on the website at a given time.

 

Related Objects

@@ -32,25 +32,25 @@ Author:Karl Goldstein Parameters:
-
revision_id:  The id of the revision to copy
Declaration:

+Declaration:

 function copy (
   revision_id   in cr_revisions.revision_id%TYPE,
   copy_id       in cr_revisions.revision_id%TYPE default null
 ) return cr_revisions.revision_id%TYPE;
 
-
+
See Also:content_revision.new

 

  • Function: content_revision.export_xml - +
    Parameters:
    Not yet documented
    Declaration:
    
    +
    Parameters:
    Not yet documented
    Declaration:
    
     function export_xml (
       revision_id IN cr_revisions.revision_id%TYPE
     ) return cr_xml_docs.doc_id%TYPE;
     
    -

     

  • Function: content_revision.get_number @@ -63,26 +63,26 @@ Returns:The number of the revision Parameters:
    -
    revision_id:  The id the revision
    Declaration:
    
    +Declaration:
    
     function get_number (
       revision_id   in cr_revisions.revision_id%TYPE
     ) return number;
     
    -
    +
    See Also:content_revision.new

     

  • Function: content_revision.import_xml - +
    Parameters:
    Not yet documented
    Declaration:
    
    +
    Parameters:
    Not yet documented
    Declaration:
    
     function import_xml (
       item_id IN cr_items.item_id%TYPE,
       revision_id IN cr_revisions.revision_id%TYPE,
       doc_id IN number
     ) return cr_revisions.revision_id%TYPE;
     
    -

     

  • Function: content_revision.new @@ -113,16 +113,16 @@ revision_id:  The id of the new revision. A new id will be allocated by default -creation_date:  As in acs_object.new +creation_date:  As in acs_object.new -creation_ip:  As in acs_object.new +creation_ip:  As in acs_object.new -creation_user:  As in acs_object.new +creation_user:  As in acs_object.new -Declaration:
    
    +Declaration:
    
     function new (
       title         in cr_revisions.title%TYPE,
       description   in cr_revisions.description%TYPE default null,
    @@ -139,14 +139,14 @@
       creation_ip   in acs_objects.creation_ip%TYPE default null
     ) return cr_revisions.revision_id%TYPE;
     
    -
    +
    See Also:acs_object.new, content_item.new

     

  • Function: content_revision.read_xml - +
    Parameters:
    Not yet documented
    Declaration:
    
    +
    Parameters:
    Not yet documented
    Declaration:
    
     function read_xml (
       item_id IN number,
       revision_id IN number,
    @@ -158,12 +158,12 @@
          java.lang.Integer, java.lang.Integer, oracle.sql.CLOB
       ) return int';
     
    -

     

  • Function: content_revision.write_xml - +
    Parameters:
    Not yet documented
    Declaration:
    
    +
    Parameters:
    Not yet documented
    Declaration:
    
     function write_xml (
       revision_id IN number,
       clob_loc IN clob
    @@ -174,7 +174,7 @@
          java.lang.Integer, oracle.sql.CLOB
       ) return int';
     
    -

     

  • Procedure: content_revision.delete @@ -183,12 +183,12 @@ Author:Karl Goldstein Parameters:
    -
    revision_id:  The id of the revision to delete
    Declaration:
    
    +Declaration:
    
     procedure delete (
       revision_id   in cr_revisions.revision_id%TYPE
     );
     
    -
    +
    See Also:content_revision.new, acs_object.delete

     

    @@ -202,19 +202,19 @@ Author:Karl Goldstein Parameters:
    -
    revision_id:  The id of the revision to index
    Declaration:
    
    +Declaration:
    
     procedure index_attributes(
       revision_id IN cr_revisions.revision_id%TYPE
     );
     
    -
    +
    See Also:content_revision.new

     

  • Procedure: content_revision.replace - +
    Parameters:
    Not yet documented
    Declaration:
    
    +
    Parameters:
    Not yet documented
    Declaration:
    
     procedure replace(
       revision_id number, search varchar2, replace varchar2)
     as language
    @@ -224,7 +224,7 @@
         int, java.lang.String, java.lang.String
        )';
     
    -

     

  • Procedure: content_revision.to_html @@ -233,16 +233,16 @@ Author:Karl Goldstein Parameters:
    -
    revision_id:  The id of the revision to index
    Declaration:
    
    +Declaration:
    
     procedure to_html (
       revision_id IN cr_revisions.revision_id%TYPE
     );
     
    -
    +
  •  

    -Last Modified: $‌Id: revision.html,v 1.1.1.1.30.1 2016/06/09 -08:21:01 gustafn Exp $ +Last Modified: $‌Id: revision.html,v 1.1.1.1.30.2 2016/06/22 +07:40:41 gustafn Exp $