|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectblackboard.cms.lrngobj.LOCategoryManager
The LOCategoryManager provides methods for managing LOCategory items. This class provides methods for loading, saving, deleting and some other convenience methods for managing LOCategory items.
LOCategory, LOCategoryTree| Constructor Summary | |
LOCategoryManager()
|
|
| Method Summary | |
static void |
deleteById(blackboard.persist.Id id)
Delete a LOCategory identified by the Id |
static void |
deleteById(blackboard.persist.Id id,
java.sql.Connection con)
Delete a LOCategory identified by the Id using the supplied connection |
static java.util.List |
loadByAll()
Loads all LOCategory items |
static java.util.List |
loadByAll(java.sql.Connection con)
Loads all LOCategory items using the supplied Connection |
static LOCategory |
loadById(blackboard.persist.Id id)
Load a LOCategory item by Id |
static LOCategory |
loadById(blackboard.persist.Id id,
java.sql.Connection con)
Load a LOCategory item by Id using a supplied Connection |
static java.util.List |
loadByParentId(blackboard.persist.Id id)
Load a LOCategory item by Parent Id |
static java.util.List |
loadByParentId(blackboard.persist.Id id,
java.sql.Connection con)
Load a LOCategory item by Parent Id using a supplied Connection |
static java.util.List |
loadTopLevel()
Loads all LOCategory items in the Top Level |
static java.util.List |
loadTopLevel(java.sql.Connection con)
Loads all LOCategory items in the Top Level using the supplied Connection |
static void |
save(LOCategory category)
Inserts or updates the LOCategory. |
static void |
save(LOCategory category,
java.sql.Connection con)
Inserts or updates the LOCategory used the supplied Connection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LOCategoryManager()
| Method Detail |
public static void save(LOCategory category,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
category - The LOCategory to be savedcon - a Connection to be used.
blackboard.persist.PersistenceException
public static void save(LOCategory category)
throws blackboard.persist.PersistenceException
category - The LOCategory to be saved
blackboard.persist.PersistenceException
public static void deleteById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
id - The Id of the LOCategory to be deleted
blackboard.persist.PersistenceException
public static void deleteById(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
id - The Id of the LOCategory to be deletedcon - the Connection to be used
blackboard.persist.PersistenceException
public static LOCategory loadById(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
id - The Id of the LOCategory to be deletedcon - the Connection to be used
KeyNotFoundException) if the LOCategory is not found.
blackboard.persist.PersistenceException
public static LOCategory loadById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
id - The Id of the LOCategory to be loaded
KeyNotFoundException) if the LOCategory is not found.
blackboard.persist.PersistenceException
public static java.util.List loadByParentId(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
id - The Parent Id of the LOCategory to be loadedcon - the Connection to be used
blackboard.persist.PersistenceException
public static java.util.List loadByParentId(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
id - The Parent Id of the LOCategory to be loaded
blackboard.persist.PersistenceException
public static java.util.List loadByAll(java.sql.Connection con)
throws blackboard.persist.PersistenceException
con - a Connection to be used
blackboard.persist.PersistenceException
public static java.util.List loadByAll()
throws blackboard.persist.PersistenceException
blackboard.persist.PersistenceException
public static java.util.List loadTopLevel(java.sql.Connection con)
throws blackboard.persist.PersistenceException
con - the Connection to be used
blackboard.persist.PersistenceException
public static java.util.List loadTopLevel()
throws blackboard.persist.PersistenceException
blackboard.persist.PersistenceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||