|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.cms.portfolio.PortfolioItemManager
public class PortfolioItemManager
The PortfolioItemManager class provides a representation of a PortfolioItemManager
within the Blackboard application. This object provides load, save and delete methods
for managing a single or multiple PortfolioItem items.
| Constructor Summary | |
|---|---|
PortfolioItemManager()
|
|
| Method Summary | |
|---|---|
static void |
deleteById(blackboard.persist.Id id)
Deletes the PortfolioItem identified by the Id using default connection. |
static void |
deleteById(blackboard.persist.Id id,
java.sql.Connection con)
Deletes the PortfolioItem identified by the Id using supplied connection. |
static void |
deleteByPortfolioId(blackboard.persist.Id id)
Deletes the PortfolioItem identified by the portfolio Id using default connection. |
static void |
deleteByPortfolioId(blackboard.persist.Id id,
java.sql.Connection con)
Deletes the PortfolioItem identified by the portfolioId using supplied connection. |
static PortfolioItem |
loadById(blackboard.persist.Id id)
Loads a PortfolioItem identified by the given Id using the default connection. |
static PortfolioItem |
loadById(blackboard.persist.Id id,
java.sql.Connection con)
Loads a PortfolioItem identified by the given Id using the supplied connection. |
static java.util.List |
loadByPortfolioId(blackboard.persist.Id id)
Loads a List of PortfolioItem items identified by the given portfolio Id using the default connection. |
static java.util.List |
loadByPortfolioId(blackboard.persist.Id id,
java.sql.Connection con)
Loads a List of PortfolioItem items identified by the given portfolio Id using the supplied connection. |
static void |
reposition(blackboard.persist.Id piId,
int newPos)
Changes the position of a PortfolioItem identified by the given Id using the default connection. |
static void |
reposition(blackboard.persist.Id piId,
int newPos,
java.sql.Connection con)
Changes the position of a PortfolioItem identified by the given Id using the supplied connection. |
static void |
save(PortfolioItem pi)
Inserts or updates the PortfolioItem using the default connection. |
static void |
save(PortfolioItem pi,
java.sql.Connection con)
Inserts or updates the PortfolioItem 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 PortfolioItemManager()
| Method Detail |
|---|
public static void save(PortfolioItem pi,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
PortfolioItem using the supplied connection.
pi - a PortfolioItem to be saved.con - a Connection to be used to save this PortfolioItem.
blackboard.persist.PersistenceException
public static void save(PortfolioItem pi)
throws blackboard.persist.PersistenceException
PortfolioItem using the default connection.
pi - a PortfolioItem to be saved.
blackboard.persist.PersistenceException
public static void deleteById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
PortfolioItem identified by the Id using default connection.
id - the Id of the PortfolioItem 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
PortfolioItem identified by the Id using supplied connection.
id - the Id of the PortfolioItem to be deleted using supplied connection.con - a Connection to be used.
blackboard.persist.PersistenceException
public static void deleteByPortfolioId(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
PortfolioItem identified by the portfolio Id using default connection.
id - the portfolio Id of the PortfolioItem to be deleted using default connection.
blackboard.persist.PersistenceException
public static void deleteByPortfolioId(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
PortfolioItem identified by the portfolioId using supplied connection.
id - the portfolio Id of the PortfolioItem to be deleted using supplied connection.con - a Connection to be used.
blackboard.persist.PersistenceException
public static PortfolioItem loadById(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
PortfolioItem identified by the given Id using the supplied connection.
id - the Id of the PortfolioItem to be loaded using the supplied connection.con - a Connection to be used.
PortfolioItem that is identified by the given Id. Returns null (instead of KeyNotFoundException) if the PortfolioItem is not found.
blackboard.persist.PersistenceException
public static PortfolioItem loadById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
PortfolioItem identified by the given Id using the default connection.
id - the Id of the PortfolioItem to be loaded using the default connection.
PortfolioItem that is identified by the given Id. Returns null (instead of KeyNotFoundException) if the PortfolioItem is not found.
blackboard.persist.PersistenceException
public static java.util.List loadByPortfolioId(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
List of PortfolioItem items identified by the given portfolio Id using the supplied connection.
id - the portfolio Id of the PortfolioItem to be loaded using the supplied connection.con - a Connection to be used.
List of PortfolioItem items that is identified by the given portfolio Id.
blackboard.persist.PersistenceException
public static java.util.List loadByPortfolioId(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
List of PortfolioItem items identified by the given portfolio Id using the default connection.
id - the portfolio Id of the PortfolioItem to be loaded using the default connection.
List of PortfolioItem items that is identified by the given portfolio Id.
blackboard.persist.PersistenceException
public static void reposition(blackboard.persist.Id piId,
int newPos)
throws blackboard.persist.PersistenceException
PortfolioItem identified by the given Id using the default connection.
piId - the Id of the PortfolioItem to be loaded using the default connection.newPos - an integer that represents the new position of the PortfolioItem using the default connection.
blackboard.persist.PersistenceException
public static void reposition(blackboard.persist.Id piId,
int newPos,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
PortfolioItem identified by the given Id using the supplied connection.
piId - the Id of the PortfolioItem to be loaded using the supplied connection.newPos - an integer that represents the new position of the PortfolioItem using the supplied connection.con - a Connection to be used.
blackboard.persist.PersistenceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||