com.arsdigita.content
Class Revision

java.lang.Object
  |
  +--com.arsdigita.content.Revision

public class Revision
extends java.lang.Object

This class provides a static method for uploading a new content revision into the cr_revisions table from a file.


Constructor Summary
Revision()
           
 
Method Summary
static java.math.BigDecimal upload(java.lang.String title, java.math.BigDecimal item_id, java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Revision

public Revision()
Method Detail

upload

public static java.math.BigDecimal upload(java.lang.String title,
                                          java.math.BigDecimal item_id,
                                          java.lang.String path)
                                   throws java.sql.SQLException,
                                          java.io.IOException