blackboard.cms.portfolio
Class PortfolioPortalRoleAccessManager

java.lang.Object
  extended by blackboard.cms.portfolio.PortfolioPortalRoleAccessManager

public class PortfolioPortalRoleAccessManager
extends java.lang.Object

The PortfolioPortalRoleAccessManager class provides a representation of a PortfolioPortalRoleAccessManager within the Blackboard application. This object provides load, save and delete methods for managing a single or multiple PortfolioPortalRoleAccess items.

Since:
Bb CS 1.0

Constructor Summary
PortfolioPortalRoleAccessManager()
           
 
Method Summary
static void deleteById(Id id)
          Deletes the PortfolioPortalRoleAccess identified by the Id using default connection.
static void deleteById(Id id, java.sql.Connection con)
          Deletes the PortfolioPortalRoleAccess identified by the Id using the supplied connection.
static void deleteByPortalRoleId(Id id)
          Deletes the PortfolioPortalRoleAccess identified by the course Id using default connection.
static void deleteByPortalRoleId(Id id, java.sql.Connection con)
          Deletes the PortfolioPortalRoleAccess identified by the course Id using supplied connection.
static void deleteByPortfolioId(Id id)
          Deletes the PortfolioPortalRoleAccess identified by the portfolio Id using default connection.
static void deleteByPortfolioId(Id id, java.sql.Connection con)
          Deletes the PortfolioPortalRoleAccess identified by the portfolio Id using supplied connection.
static PortfolioPortalRoleAccess loadById(Id id)
          Loads a PortfolioPortalRoleAccess identified by the given Id using the default connection.
static PortfolioPortalRoleAccess loadById(Id id, java.sql.Connection con)
          Loads a PortfolioPortalRoleAccess identified by the given Id using the supplied connection.
static java.util.List<PortfolioPortalRoleAccess> loadByPortalRoleId(Id id)
          Loads a List of PortfolioPortalRoleAccess items identified by the given course Id using the default connection.
static java.util.List<PortfolioPortalRoleAccess> loadByPortalRoleId(Id id, java.sql.Connection con)
          Loads a List of PortfolioPortalRoleAccess items identified by the given course Id using the supplied connection.
static PortfolioPortalRoleAccess loadByPortalRoleIdandPortfolioId(Id prId, Id pId)
          Loads a PortfolioPortalRoleAccess item identified by the given course Id using the default connection.
static PortfolioPortalRoleAccess loadByPortalRoleIdandPortfolioId(Id prId, Id pId, java.sql.Connection con)
          Loads a PortfolioPortalRoleAccess item identified by the given portal role Id and portfolio Id using the default connection.
static java.util.List<PortfolioPortalRoleAccess> loadByPortfolioId(Id id)
          Loads a List of PortfolioPortalRoleAccess items identified by the given portfolio Id using the default connection.
static java.util.List<PortfolioPortalRoleAccess> loadByPortfolioId(Id id, java.sql.Connection con)
          Loads a List PortfolioPortalRoleAccess items identified by the given portfolio Id using the supplied connection.
static void save(PortfolioPortalRoleAccess pca)
          Inserts or updates the PortfolioPortalRoleAccess using the default connection.
static void save(PortfolioPortalRoleAccess pca, java.sql.Connection con)
          Inserts or updates the PortfolioPortalRoleAccess using the supplied connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortfolioPortalRoleAccessManager

public PortfolioPortalRoleAccessManager()
Method Detail

save

public static void save(PortfolioPortalRoleAccess pca,
                        java.sql.Connection con)
                 throws PersistenceException
Inserts or updates the PortfolioPortalRoleAccess using the supplied connection.

Parameters:
pca - a PortfolioComment to be saved.
con - a Connection to be used to save this PortfolioPortalRoleAccess.
Throws:
PersistenceException

save

public static void save(PortfolioPortalRoleAccess pca)
                 throws PersistenceException
Inserts or updates the PortfolioPortalRoleAccess using the default connection.

Parameters:
pca - a PortfolioPortalRoleAccess to be saved.
Throws:
PersistenceException

deleteById

public static void deleteById(Id id)
                       throws PersistenceException
Deletes the PortfolioPortalRoleAccess identified by the Id using default connection.

Parameters:
id - the Id of the PortfolioPortalRoleAccess to be deleted using default connection.
Throws:
PersistenceException

deleteById

public static void deleteById(Id id,
                              java.sql.Connection con)
                       throws PersistenceException
Deletes the PortfolioPortalRoleAccess identified by the Id using the supplied connection.

Parameters:
id - the Id of the PortfolioPortalRoleAccess to be deleted using the supplied connection.
con - a Connection to be used.
Throws:
PersistenceException

deleteByPortfolioId

public static void deleteByPortfolioId(Id id)
                                throws PersistenceException
Deletes the PortfolioPortalRoleAccess identified by the portfolio Id using default connection.

Parameters:
id - the portfolio Id of the PortfolioPortalRoleAccess to be deleted using default connection.
Throws:
PersistenceException

deleteByPortfolioId

public static void deleteByPortfolioId(Id id,
                                       java.sql.Connection con)
                                throws PersistenceException
Deletes the PortfolioPortalRoleAccess identified by the portfolio Id using supplied connection.

Parameters:
id - the portfolio Id of the PortfolioPortalRoleAccess to be deleted using supplied connection.
con - a Connection to be used.
Throws:
PersistenceException

deleteByPortalRoleId

public static void deleteByPortalRoleId(Id id)
                                 throws PersistenceException
Deletes the PortfolioPortalRoleAccess identified by the course Id using default connection.

Parameters:
id - the course Id of the PortfolioPortalRoleAccess to be deleted using default connection.
Throws:
PersistenceException

deleteByPortalRoleId

public static void deleteByPortalRoleId(Id id,
                                        java.sql.Connection con)
                                 throws PersistenceException
Deletes the PortfolioPortalRoleAccess identified by the course Id using supplied connection.

Parameters:
id - the course Id of the PortfolioPortalRoleAccess to be deleted using supplied connection.
con - a Connection to be used.
Throws:
PersistenceException

loadById

public static PortfolioPortalRoleAccess loadById(Id id,
                                                 java.sql.Connection con)
                                          throws PersistenceException
Loads a PortfolioPortalRoleAccess identified by the given Id using the supplied connection.

Parameters:
id - the Id of the PortfolioPortalRoleAccess to be loaded using the supplied connection.
con - a Connection to be used.
Returns:
a PortfolioPortalRoleAccess that is identified by the given Id. Returns null (instead of KeyNotFoundException) if the PortfolioPortalRoleAccess is not found.
Throws:
PersistenceException

loadById

public static PortfolioPortalRoleAccess loadById(Id id)
                                          throws PersistenceException
Loads a PortfolioPortalRoleAccess identified by the given Id using the default connection.

Parameters:
id - the Id of the PortfolioPortalRoleAccess to be loaded using the default supplied.
Returns:
a PortfolioPortalRoleAccess that is identified by the given Id. Returns null (instead of KeyNotFoundException) if the PortfolioPortalRoleAccess is not found.
Throws:
PersistenceException

loadByPortfolioId

public static java.util.List<PortfolioPortalRoleAccess> loadByPortfolioId(Id id,
                                                                          java.sql.Connection con)
                                                                   throws PersistenceException
Loads a List PortfolioPortalRoleAccess items identified by the given portfolio Id using the supplied connection.

Parameters:
id - the portfolio Id of the PortfolioPortalRoleAccess to be loaded using the supplied connection.
con - a Connection to be used.
Returns:
a List of PortfolioPortalRoleAccess items that is identified by the given portfolio Id.
Throws:
PersistenceException

loadByPortfolioId

public static java.util.List<PortfolioPortalRoleAccess> loadByPortfolioId(Id id)
                                                                   throws PersistenceException
Loads a List of PortfolioPortalRoleAccess items identified by the given portfolio Id using the default connection.

Parameters:
id - the portfolio Id of the PortfolioPortalRoleAccess to be loaded using the default connection.
Returns:
a List of PortfolioPortalRoleAccess items that is identified by the given portfolio Id.
Throws:
PersistenceException

loadByPortalRoleId

public static java.util.List<PortfolioPortalRoleAccess> loadByPortalRoleId(Id id,
                                                                           java.sql.Connection con)
                                                                    throws PersistenceException
Loads a List of PortfolioPortalRoleAccess items identified by the given course Id using the supplied connection.

Parameters:
id - the course Id of the PortfolioPortalRoleAccess to be loaded using the supplied connection.
con - a Connection to be used.
Returns:
a List of PortfolioPortalRoleAccess items that is identified by the given course Id.
Throws:
PersistenceException

loadByPortalRoleId

public static java.util.List<PortfolioPortalRoleAccess> loadByPortalRoleId(Id id)
                                                                    throws PersistenceException
Loads a List of PortfolioPortalRoleAccess items identified by the given course Id using the default connection.

Parameters:
id - the course Id of the PortfolioPortalRoleAccess to be loaded using the default connection.
Returns:
a List of PortfolioPortalRoleAccess items that is identified by the given course Id.
Throws:
PersistenceException

loadByPortalRoleIdandPortfolioId

public static PortfolioPortalRoleAccess loadByPortalRoleIdandPortfolioId(Id prId,
                                                                         Id pId,
                                                                         java.sql.Connection con)
                                                                  throws PersistenceException
Loads a PortfolioPortalRoleAccess item identified by the given portal role Id and portfolio Id using the default connection.

Parameters:
prId - the PortalRoleId of the PortfolioPortalRoleAccess.
pId - the PorfolioId of the PortfolioPortalRoleAccess .
con - a Connection to be used.
Returns:
a PortfolioPortalRoleAccess item that is identified by the given portal role and porfolio idId.
Throws:
PersistenceException

loadByPortalRoleIdandPortfolioId

public static PortfolioPortalRoleAccess loadByPortalRoleIdandPortfolioId(Id prId,
                                                                         Id pId)
                                                                  throws PersistenceException
Loads a PortfolioPortalRoleAccess item identified by the given course Id using the default connection.

Parameters:
prId - the PortalRoleId of the PortfolioPortalRoleAccess.
pId - the PorfolioId of the PortfolioPortalRoleAccess .
Returns:
a PortfolioPortalRoleAccess item that is identified by the given portal role and porfolio idId.
Throws:
PersistenceException


Copyright © 2012 Blackboard, Inc. All Rights Reserved.