|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectblackboard.cms.lrngobj.LOItemManager
The LOItemManager provides methods for managing LOItems items. This class provides methods for loading, saving, deleting and some other convenience methods for managing LOItems items.
LOItem| Constructor Summary | |
LOItemManager()
|
|
| Method Summary | |
static void |
deleteById(blackboard.persist.Id id)
Delete a LOItem identified by the Id |
static void |
deleteById(blackboard.persist.Id id,
java.sql.Connection con)
Delete a LOItem identified by the Id using the supplied Connection |
static java.util.List |
loadAll()
Load a List of all LOItems |
static java.util.List |
loadAll(java.sql.Connection con)
Load a List of all LOItems using the supplied Connection |
static java.util.List |
loadByCategoryId(blackboard.persist.Id id)
Load a List of LOItems based on a Category Id |
static java.util.List |
loadByCategoryId(blackboard.persist.Id id,
java.sql.Connection con)
Load a List of LOItems based on a Category Id using the Supplied Connection |
static java.util.List |
loadByCategoryIdAndStatus(blackboard.persist.Id id,
LOItem.Status status)
Load a List of LOItems based on a supplied Category Id and LOItem Status |
static java.util.List |
loadByCategoryIdAndStatus(blackboard.persist.Id id,
LOItem.Status status,
java.sql.Connection con)
Load a List of LOItems based on a supplied Category Id and LOItem Status using a supplied Connection. |
static java.util.List |
loadByFileEntryPath(java.lang.String path)
Load a List of LOItems by file path |
static java.util.List |
loadByFileEntryPath(java.lang.String path,
java.sql.Connection con)
Load a List of LOItems by file path using a supplied Connection |
static LOItem |
loadById(blackboard.persist.Id id)
Load a LOItem item by Id |
static LOItem |
loadById(blackboard.persist.Id id,
java.sql.Connection con)
Load a LOItem item by Id using a supplied Connection |
static java.util.List |
loadByStatus(LOItem.Status status)
Load a List of LOItems by Status |
static java.util.List |
loadByStatus(LOItem.Status status,
java.sql.Connection con)
Load a List of LOItems by Status using a supplied Connection |
static java.util.List |
loadUncategorized()
Load a List of all uncategorized LOItems |
static java.util.List |
loadUncategorized(java.sql.Connection con)
Load a List of all uncategorized LOItems using the Supplied Connection |
static java.util.List |
loadUncategorizedByStatus(LOItem.Status status)
Load a List of uncategorized LOItems based on LOItem Status |
static java.util.List |
loadUncategorizedByStatus(LOItem.Status status,
java.sql.Connection con)
Load a List of uncategorized LOItems based on LOItem Status using the supplied connection |
static java.util.List |
loadWhereRecordDataContains(java.lang.String value)
Load a List of LOItems using a pattern match on the Record Data Strings. |
static java.util.List |
loadWhereRecordDataContains(java.lang.String value,
java.sql.Connection con)
Load a List of LOItems using a pattern match on the Record Data Strings using the supplied Connection. |
static java.util.List |
loadWhereTitleStartsWith(java.lang.String value)
Load a List of LOItems using a pattern match on the Title String. |
static java.util.List |
loadWhereTitleStartsWith(java.lang.String value,
java.sql.Connection con)
Load a List of LOItems using a pattern match on the Title String using a supplied Connection. |
static void |
save(LOItem item)
Inserts or updates the LOItem. |
static void |
save(LOItem item,
java.sql.Connection con)
Inserts or updates the LOItem 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 LOItemManager()
| Method Detail |
public static void save(LOItem item,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
item - con - a Connection to be used.
blackboard.persist.PersistenceException
public static void save(LOItem item)
throws blackboard.persist.PersistenceException
item -
blackboard.persist.PersistenceException
public static void deleteById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
id - The Id of the LOItem 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 LOItem to be deletedcon - The Connection to be used
blackboard.persist.PersistenceException
public static LOItem loadById(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
id - The Id of the LOItem to be loadedcon - the Connection to be used
blackboard.persist.PersistenceException
public static LOItem loadById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
id - The Id of the LOItem to be loaded
blackboard.persist.PersistenceException
public static java.util.List loadByFileEntryPath(java.lang.String path,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
path - The file entry path of the item to be loadedcon - the Connection to be used
blackboard.persist.PersistenceException
public static java.util.List loadByFileEntryPath(java.lang.String path)
throws blackboard.persist.PersistenceException
path - The file entry path of the item to be loaded
blackboard.persist.PersistenceException
public static java.util.List loadByStatus(LOItem.Status status,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
status - The LOItem statuscon - the Connection to be used
blackboard.persist.PersistenceException
public static java.util.List loadByStatus(LOItem.Status status)
throws blackboard.persist.PersistenceException
status - The LOItem status
blackboard.persist.PersistenceException
public static java.util.List loadWhereTitleStartsWith(java.lang.String value,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
Note: This method will only return LOItems that have a status of APPROVED
value - A String representing all or part of a specific title for a LOItemcon - the Connection to be used
blackboard.persist.PersistenceException
public static java.util.List loadWhereTitleStartsWith(java.lang.String value)
throws blackboard.persist.PersistenceException
Note: This method will only return LOItems that have a status of APPROVED
value - A String representing all or part of a specific title for a LOItem
blackboard.persist.PersistenceException
public static java.util.List loadWhereRecordDataContains(java.lang.String value,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
Note: This method will only return LOItems that have a status of APPROVED
value - The string pattern/fragment/word that is searched forcon - the Connection to be used
blackboard.persist.PersistenceException
public static java.util.List loadWhereRecordDataContains(java.lang.String value)
throws blackboard.persist.PersistenceException
Note: This method will only return LOItems that have a status of APPROVED
value - The string pattern/fragment/word that is searched for
blackboard.persist.PersistenceException
public static java.util.List loadByCategoryIdAndStatus(blackboard.persist.Id id,
LOItem.Status status,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
id - Represents the LOCategory Idstatus - Represents the status of the LOItem(s)con - The Connection to be used
blackboard.persist.PersistenceException
public static java.util.List loadByCategoryIdAndStatus(blackboard.persist.Id id,
LOItem.Status status)
throws blackboard.persist.PersistenceException
id - Represents the LOCategory Idstatus - Represents the status of the LOItem(s)
blackboard.persist.PersistenceException
public static java.util.List loadUncategorizedByStatus(LOItem.Status status,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
status - Represents the status of the LOItem(s)con - The Connection to be used
blackboard.persist.PersistenceException
public static java.util.List loadUncategorizedByStatus(LOItem.Status status)
throws blackboard.persist.PersistenceException
status - Represents the status of the LOItem(s)
blackboard.persist.PersistenceException
public static java.util.List loadUncategorized(java.sql.Connection con)
throws blackboard.persist.PersistenceException
con - The Connection to be used
blackboard.persist.PersistenceException
public static java.util.List loadUncategorized()
throws blackboard.persist.PersistenceException
blackboard.persist.PersistenceException
public static java.util.List loadByCategoryId(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
id - Represents an Id from a LOCategory objectcon - The Connection to be used
blackboard.persist.PersistenceException
public static java.util.List loadByCategoryId(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
id - Represents an Id from a LOCategory object
blackboard.persist.PersistenceException
public static java.util.List loadAll(java.sql.Connection con)
throws blackboard.persist.PersistenceException
con - The Connection to be used
blackboard.persist.PersistenceException
public static java.util.List loadAll()
throws blackboard.persist.PersistenceException
blackboard.persist.PersistenceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||