|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.cms.portfolio.PortfolioUserAccessManager
public class PortfolioUserAccessManager
The PortfolioUserAccessManager class provides a representation of a PortfolioUserAccessManager
within the Blackboard application. This object provides load, save and delete methods
for managing a single or multiple PortfolioUserAccess objects.
| Constructor Summary | |
|---|---|
PortfolioUserAccessManager()
|
|
| Method Summary | |
|---|---|
static void |
deleteById(blackboard.persist.Id id)
Deletes the PortfolioUserAccess identified by the Id using default connection. |
static void |
deleteById(blackboard.persist.Id id,
java.sql.Connection con)
Deletes the PortfolioUserAccess identified by the Id using supplied connection. |
static void |
deleteByPortfolioId(blackboard.persist.Id id)
Deletes PortfolioUserAccess objects identified by the given portfolio Id using the default connection. |
static void |
deleteByPortfolioId(blackboard.persist.Id id,
java.sql.Connection con)
Deletes PortfolioUserAccessobjects identified by the given portfolio Id using the supplied connection. |
static void |
deleteByUserId(blackboard.persist.Id id)
Deletes PortfolioUserAccess objects identified by the given user Id using the default connection. |
static void |
deleteByUserId(blackboard.persist.Id id,
java.sql.Connection con)
Deletes PortfolioUserAccess objects identified by the given user Id using the supplied connection. |
static void |
deleteByUserIdAndPortfolioId(blackboard.persist.Id userId,
blackboard.persist.Id portfolioId)
Deletes PortfolioUserAccess objects identified by the supplied parameters. |
static void |
deleteByUserIdAndPortfolioId(blackboard.persist.Id userId,
blackboard.persist.Id portfolioId,
java.sql.Connection con)
Deletes PortfolioUserAccess objects identified by the supplied parameters using the supplied connection. |
static PortfolioUserAccess |
loadById(blackboard.persist.Id id)
Loads a PortfolioUserAccess identified by the given Id using the default connection. |
static PortfolioUserAccess |
loadById(blackboard.persist.Id id,
java.sql.Connection con)
Loads a PortfolioUserAccess identified by the given Id using the supplied connection. |
static java.util.List |
loadByPortfolioId(blackboard.persist.Id id)
Loads a List of PortfolioUserAccess objects 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 PortfolioUserAccess objects identified by the given portfolio Id using the supplied connection. |
static java.util.List |
loadByUserId(blackboard.persist.Id id)
Loads a List of PortfolioUserAccess objects identified by the given user Id using the default connection. |
static java.util.List |
loadByUserId(blackboard.persist.Id id,
java.sql.Connection con)
Loads a List of PortfolioUserAccess objects identified by the given user Id using the supplied connection. |
static BasicPortfolioFolderAssociation |
loadFolderAssociation(blackboard.persist.Id associationId)
|
static void |
removeFolderAssociation(blackboard.persist.Id associationId)
|
static void |
save(PortfolioUserAccess pua)
Inserts or updates the PortfolioUserAccess using the default connection. |
static void |
save(PortfolioUserAccess pua,
java.sql.Connection con)
Inserts or updates the PortfolioUserAccess using the supplied connection. |
static void |
saveFolderAssociation(BasicPortfolioFolderAssociation association)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortfolioUserAccessManager()
| Method Detail |
|---|
public static void save(PortfolioUserAccess pua,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
PortfolioUserAccess using the supplied connection.
pua - a PortfolioUserAccess to be saved.con - a Connection to be used to save this PortfolioUserAccess.
blackboard.persist.PersistenceException
public static void save(PortfolioUserAccess pua)
throws blackboard.persist.PersistenceException
PortfolioUserAccess using the default connection.
pua - a PortfolioUserAccess to be saved.
blackboard.persist.PersistenceException
public static void deleteById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
PortfolioUserAccess identified by the Id using default connection.
id - the Id of the PortfolioUserAccess 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
PortfolioUserAccess identified by the Id using supplied connection.
id - the Id of the PortfolioUserAccess 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
PortfolioUserAccess objects identified by the given portfolio Id using the default connection.
id - the portfolio Id of the PortfolioUserAccess to be deleted using the default connection.
blackboard.persist.PersistenceException
public static void deleteByPortfolioId(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
PortfolioUserAccessobjects identified by the given portfolio Id using the supplied connection.
id - the portfolio Id of the PortfolioUserAccess to be deleted using the supplied connection.con - a Connection to be used.
blackboard.persist.PersistenceException
public static void deleteByUserId(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
PortfolioUserAccess objects identified by the given user Id using the default connection.
id - the user Id of the PortfolioUserAccess to be deleted using the default connection.
blackboard.persist.PersistenceException
public static void deleteByUserId(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
PortfolioUserAccess objects identified by the given user Id using the supplied connection.
id - the user Id of the PortfolioUserAccess to be deleted using the supplied connection. * @param con a Connection to be used.
blackboard.persist.PersistenceException
public static void deleteByUserIdAndPortfolioId(blackboard.persist.Id userId,
blackboard.persist.Id portfolioId)
throws blackboard.persist.PersistenceException
PortfolioUserAccess objects identified by the supplied parameters.
userId - receipient of the PortfolioportfolioId - the Id of the Portfolio
blackboard.persist.PersistenceException
public static void deleteByUserIdAndPortfolioId(blackboard.persist.Id userId,
blackboard.persist.Id portfolioId,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
PortfolioUserAccess objects identified by the supplied parameters using the supplied connection.
userId - receipient of the PortfolioportfolioId - the Id of the Portfoliocon -
blackboard.persist.PersistenceException
public static PortfolioUserAccess loadById(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
PortfolioUserAccess identified by the given Id using the supplied connection.
id - the Id of the PortfolioUserAccess to be loaded using the supplied connection.con - a Connection to be used.
PortfolioUserAccess that is identified by the given Id. Returns null (instead of KeyNotFoundException) if the PortfolioUserAccess is not found.
blackboard.persist.PersistenceException
public static PortfolioUserAccess loadById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
PortfolioUserAccess identified by the given Id using the default connection.
id - the Id of the PortfolioUserAccess to be loaded using the default connection.
PortfolioUserAccess that is identified by the given Id. Returns null (instead of KeyNotFoundException) if the PortfolioUserAccess is not found.
blackboard.persist.PersistenceException
public static java.util.List loadByPortfolioId(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
PortfolioUserAccess objects identified by the given portfolio Id using the supplied connection.
id - the portfolio Id of the PortfolioUserAccess to be loaded using the supplied connection.con - a Connection to be used.
List of PortfolioUserAccess 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
PortfolioUserAccess objects identified by the given portfolio Id using the default connection.
id - the portfolio Id of the PortfolioUserAccess to be loaded using the default connection.
List of PortfolioUserAccess that is identified by the given portfolio Id.
blackboard.persist.PersistenceException
public static java.util.List loadByUserId(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
PortfolioUserAccess objects identified by the given user Id using the supplied connection.
id - the user Id of the PortfolioUserAccess to be loaded using the supplied connection.con - a Connection to be used.
List of PortfolioUserAccess that is identified by the given Id.
blackboard.persist.PersistenceException
public static java.util.List loadByUserId(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
PortfolioUserAccess objects identified by the given user Id using the default connection.
id - the user Id of the PortfolioUserAccess to be loaded using the default connection.
List of PortfolioUserAccess that is identified by the given Id.
blackboard.persist.PersistenceException
public static BasicPortfolioFolderAssociation loadFolderAssociation(blackboard.persist.Id associationId)
throws blackboard.persist.PersistenceException
associationId -
blackboard.persist.PersistenceException
public static void removeFolderAssociation(blackboard.persist.Id associationId)
throws blackboard.persist.PersistenceException
associationId -
blackboard.persist.PersistenceException
public static void saveFolderAssociation(BasicPortfolioFolderAssociation association)
throws blackboard.data.ValidationException,
blackboard.persist.PersistenceException
association -
blackboard.data.ValidationException
blackboard.persist.PersistenceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||