blackboard.data.content
Class ContentWrapper

java.lang.Object
  extended by blackboard.data.content.ContentWrapper

public class ContentWrapper
extends java.lang.Object


Method Summary
 void addContentFile(Content content, java.io.File file, java.lang.String fileName, java.lang.String linkName, ContentFile.Action contentFileAction, java.sql.Connection con)
           
static ContentWrapper getDefaultInstance()
           
static ContentWrapper getInstance(Course crs)
           
 Content loadAvailableContent(Id contentId, Id userId)
           
 Content loadAvailableContent(Id contentId, Id userId, java.sql.Connection con)
           
 java.util.List loadContentFiles(Content _content, java.sql.Connection con)
           
 void removeContentFile(Id removeId, java.sql.Connection con)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ContentWrapper getInstance(Course crs)

getDefaultInstance

public static ContentWrapper getDefaultInstance()

loadAvailableContent

public Content loadAvailableContent(Id contentId,
                                    Id userId,
                                    java.sql.Connection con)
                             throws KeyNotFoundException,
                                    PersistenceException
Throws:
KeyNotFoundException
PersistenceException

loadAvailableContent

public Content loadAvailableContent(Id contentId,
                                    Id userId)
                             throws KeyNotFoundException,
                                    PersistenceException
Throws:
KeyNotFoundException
PersistenceException

loadContentFiles

public java.util.List loadContentFiles(Content _content,
                                       java.sql.Connection con)
                                throws PersistenceException
Throws:
PersistenceException

addContentFile

public void addContentFile(Content content,
                           java.io.File file,
                           java.lang.String fileName,
                           java.lang.String linkName,
                           ContentFile.Action contentFileAction,
                           java.sql.Connection con)
                    throws PersistenceException,
                           ValidationException,
                           java.io.IOException,
                           FileSystemException
Throws:
PersistenceException
ValidationException
java.io.IOException
FileSystemException

removeContentFile

public void removeContentFile(Id removeId,
                              java.sql.Connection con)
                       throws PersistenceException
Throws:
PersistenceException


Copyright © 2003 Blackboard, Inc. All Rights Reserved.