|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectblackboard.cms.portfolio.PortfolioManager
The PortfolioManager class provides a representation of a PortfolioManager
within the Blackboard application. This object provides load, save and delete methods
for managing a single or multiple Portfolio Items.
| Constructor Summary | |
PortfolioManager()
|
|
| Method Summary | |
static void |
deleteById(blackboard.persist.Id id)
Deletes the Portfolio identified by the Id using default connection. |
static void |
deleteById(blackboard.persist.Id id,
java.sql.Connection con)
Deletes the Portfolio identified by the Id using supplied connection. |
static java.util.List |
loadAccessibleByCourseId(blackboard.persist.Id id)
Loads a List of Portfolio objects identified by the course Id using the default connection. |
static java.util.List |
loadAccessibleByCourseId(blackboard.persist.Id id,
java.sql.Connection con)
Loads a List of Portfolio objects identified by the course Id using the supplied connection. |
static java.util.List |
loadAccessibleByUserId(blackboard.persist.Id id)
Loads a List of Portfolio objects identified by the user Id using the default connection. |
static java.util.List |
loadAccessibleByUserId(blackboard.persist.Id id,
java.sql.Connection con)
Loads a List of Portfolio objects identified by the user Id using the supplied connection. |
static Portfolio |
loadById(blackboard.persist.Id id)
Loads a Portfolio identified by the given Id using the default connection. |
static Portfolio |
loadById(blackboard.persist.Id id,
java.sql.Connection con)
Loads a Portfolio identified by the given Id using the supplied connection. |
static java.util.List |
loadByOwnerId(blackboard.persist.Id id)
Loads a List of Portfolio objects identified by the given owner Id using the default connection. |
static java.util.List |
loadByOwnerId(blackboard.persist.Id id,
java.sql.Connection con)
Loads a List of Portfolio objects identified by the given owner Id using the supplied connection. |
static void |
save(Portfolio portfolio)
Inserts or updates the Portfolio using the default connection. |
static void |
save(Portfolio portfolio,
java.sql.Connection con)
Inserts or updates the Portfolio using the supplied connection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PortfolioManager()
| Method Detail |
public static void save(Portfolio portfolio,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
Portfolio using the supplied connection.
portfolio - a Portfolio to be saved.con - a Connection to be used to save this Portfolio.
blackboard.persist.PersistenceException
public static void save(Portfolio portfolio)
throws blackboard.persist.PersistenceException
Portfolio using the default connection.
portfolio - a Portfolio to be saved.
blackboard.persist.PersistenceException
public static void deleteById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
Portfolio identified by the Id using default connection.
id - the Id of the Portfolio to be deleted using default connection.
blackboard.persist.PersistenceException
public static void deleteById(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
Portfolio identified by the Id using supplied connection.
id - the Id of the Portfolio to be deleted using supplied connection.con - a Connection to be used.
blackboard.persist.PersistenceException
public static Portfolio loadById(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
Portfolio identified by the given Id using the supplied connection.
id - the Id of the Portfolio to be loaded using the supplied connection.con - a Connection to be used.
Portfolio that is identified by the given Id. Returns null (instead of KeyNotFoundException) if the Portfolio is not found.
blackboard.persist.PersistenceException
public static Portfolio loadById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
Portfolio identified by the given Id using the default connection.
id - the Id of the Portfolio to be loaded using the default connection.
Portfolio that is identified by the given Id. Returns null (instead of KeyNotFoundException) if the Portfolio is not found.
blackboard.persist.PersistenceException
public static java.util.List loadByOwnerId(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
List of Portfolio objects identified by the given owner Id using the supplied connection.
id - the owner Id of the Portfolio to be loaded using the supplied connection.con - a Connection to be used.
List of Portfolio objects that is identified by the given owner Id.
blackboard.persist.PersistenceException
public static java.util.List loadByOwnerId(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
List of Portfolio objects identified by the given owner Id using the default connection.
id - the owner Id of the Portfolio to be loaded using the default connection.
List of Portfolio objects that is identified by the given owner Id.
blackboard.persist.PersistenceException
public static java.util.List loadAccessibleByUserId(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
List of Portfolio objects identified by the user Id using the supplied connection.
id - the user Id of the Portfolio to be loaded using the supplied connection.con - a Connection to be used.
List of Portfolio objects that is identified by the given user Id.
blackboard.persist.PersistenceException
public static java.util.List loadAccessibleByUserId(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
List of Portfolio objects identified by the user Id using the default connection.
id - the user Id of the Portfolio to be loaded using the default connection.
List of Portfolio objects that is identified by the given user Id.
blackboard.persist.PersistenceException
public static java.util.List loadAccessibleByCourseId(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
List of Portfolio objects identified by the course Id using the supplied connection.
id - the course Id of the Portfolio to be loaded using the supplied connection.con - a Connection to be used.
List of Portfolio objects that is identified by the given course Id.
blackboard.persist.PersistenceException
public static java.util.List loadAccessibleByCourseId(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
List of Portfolio objects identified by the course Id using the default connection.
id - the course Id of the Portfolio to be loaded using the default connection.
List of Portfolio objects that is identified by the given course Id.
blackboard.persist.PersistenceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||