|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectblackboard.cms.metadata.MetadataTemplateManager
The MetadataTemplateManager class provides a representation of a MetadataTemplateManager
within the Blackboard application. This object provides load, save and delete methods
for managing a single or multiple MetadataTemplate items.
| Constructor Summary | |
MetadataTemplateManager()
|
|
| Method Summary | |
static void |
deleteById(blackboard.persist.Id id)
Deletes the MetadataTemplate identified by the Id using default connection. |
static void |
deleteById(blackboard.persist.Id id,
java.sql.Connection con)
Deletes the MetadataTemplate identified by the Id using the supplied connection. |
static void |
deleteByKey(java.lang.String key)
Deletes the MetadataTemplate identified by the given string key using default connection. |
static void |
deleteByKey(java.lang.String key,
java.sql.Connection con)
Deletes the MetadataTemplate identified by the given string key using supplied connection. |
static java.util.List |
loadAll()
Loads all the MetadataTemplate items using the default connection. |
static java.util.List |
loadAll(java.sql.Connection con)
Loads all the MetadataTemplate items using the supplied connection. |
static MetadataTemplate |
loadById(blackboard.persist.Id id)
Loads a MetadataTemplate identified by the given Id using the default connection. |
static MetadataTemplate |
loadById(blackboard.persist.Id id,
java.sql.Connection con)
Loads a MetadataTemplate identified by the given Id using the supplied connection. |
static MetadataTemplate |
loadByKey(java.lang.String key)
Loads a MetadataTemplate identified by the given the key using the default connection. |
static MetadataTemplate |
loadByKey(java.lang.String key,
java.sql.Connection con)
Loads a MetadataTemplate identified by the given the key using the supplied connection. |
static void |
save(MetadataTemplate metadata)
Inserts or updates the MetadataTemplate using the default connection. |
static void |
save(MetadataTemplate metadata,
java.sql.Connection con)
Inserts or updates the MetadataTemplate 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 MetadataTemplateManager()
| Method Detail |
public static void save(MetadataTemplate metadata,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
MetadataTemplate using the supplied connection.
metadata - a MetadataTemplate to be saved.con - a Connection to be used to save this MetadataTemplate.
blackboard.persist.PersistenceException
public static void save(MetadataTemplate metadata)
throws blackboard.persist.PersistenceException
MetadataTemplate using the default connection.
metadata - a MetadataTemplate to be saved.
blackboard.persist.PersistenceException
public static void deleteById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
MetadataTemplate identified by the Id using default connection.
id - the Id of the MetadataTemplate 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
MetadataTemplate identified by the Id using the supplied connection.
id - the Id of the MetadataTemplate to be deleted using the supplied connection.con - a Connection to be used.
blackboard.persist.PersistenceException
public static void deleteByKey(java.lang.String key)
throws blackboard.persist.PersistenceException
MetadataTemplate identified by the given string key using default connection.
key - the String of the MetadataTemplate to be deleted using default connection.
blackboard.persist.PersistenceException
public static void deleteByKey(java.lang.String key,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
MetadataTemplate identified by the given string key using supplied connection.
key - the String of the MetadataTemplate to be deleted using supplied connection.con - a Connection to be used.
blackboard.persist.PersistenceException
public static MetadataTemplate loadById(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
MetadataTemplate identified by the given Id using the supplied connection.
id - the Id of the MetadataTemplate to be loaded using the supplied connection.con - a Connection to be used.
MetadataTemplate that is identified by the given Id. Returns null (instead of KeyNotFoundException) if the MetadataTemplate is not found.
blackboard.persist.PersistenceException
public static MetadataTemplate loadById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
MetadataTemplate identified by the given Id using the default connection.
id - the Id of the MetadataTemplate to be loaded using the default connection.
MetadataTemplate that is identified by the given Id. Returns null (instead of KeyNotFoundException) if the MetadataTemplate is not found.
blackboard.persist.PersistenceException
public static MetadataTemplate loadByKey(java.lang.String key,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
MetadataTemplate identified by the given the key using the supplied connection.
key - the String of the MetadataTemplate to be loaded using the supplied connection.con - a Connection to be used.
MetadataTemplate that is identified by the given String. Returns null (instead of KeyNotFoundException) if the MetadataTemplate is not found.
blackboard.persist.PersistenceException
public static MetadataTemplate loadByKey(java.lang.String key)
throws blackboard.persist.PersistenceException
MetadataTemplate identified by the given the key using the default connection.
key - the String of the MetadataTemplate to be loaded using the default connection.
MetadataTemplate that is identified by the given String. Returns null (instead of KeyNotFoundException) if the MetadataTemplate is not found.
blackboard.persist.PersistenceException
public static java.util.List loadAll(java.sql.Connection con)
throws blackboard.persist.PersistenceException
MetadataTemplate items using the supplied connection.
con - a Connection to be used.
List of all MetadataTemplate items in the system.
blackboard.persist.PersistenceException
public static java.util.List loadAll()
throws blackboard.persist.PersistenceException
MetadataTemplate items using the default connection.
List of all MetadataTemplate items in the system.
blackboard.persist.PersistenceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||