boolean arlo.NesterStaticUserMetaData.BatchSaveMetaData |
( |
int |
mediaFileID, |
|
|
PreparedStatement |
stmtInsertMetadata |
|
) |
| |
Save MetaData as a 'Batch'.
This saves MetaData in a batch using an SQL Prepared Statement. Note that this does not execute the Insert, merely adds to an existing batch.
- Parameters
-
mediaFileID | The Db id of the mediafile corresponding to this Metadata |
stmtInsertMetadata | A prepared INSERT statement. See arlo.NesterAudioFile.saveNewAudioFilesToDb Of the form "INSERT INTO tools_mediafilemetadata (mediaFile_id, name, value, userEditable)
VALUES (?, ?, ?, ?)" |
- Returns
- Boolean - true if success, false on error
boolean arlo.NesterStaticUserMetaData.getNesterStaticUserMetaData |
( |
int |
audioFileID, |
|
|
Connection |
connection, |
|
|
HashMap< String, Boolean > |
fieldNames |
|
) |
| |
boolean arlo.NesterStaticUserMetaData.getNesterStaticUserMetaData |
( |
HashMap< String, Vector< String >> |
sourceData, |
|
|
HashMap< String, Boolean > |
fieldNames |
|
) |
| |
Parse the Metadata from a Map of values.
- Parameters
-
sourceData | A key/value map of raw metadata values, where 'value' is a Vector where each entry represent a record in the database (there will usually be only one record per key in the database, so this Vector will usually be length = 1. |
fieldNames | If not null, then require and parse only these keys. |
- Returns
- True on success, False if any errors occur, including missing required keys.
static boolean arlo.NesterStaticUserMetaData.saveEmptyNesterStaticUserMetaData |
( |
int |
mediaFileID, |
|
|
Connection |
connection |
|
) |
| |
|
static |
final long arlo.NesterStaticUserMetaData.serialVersionUID = 577780640008360184L |
|
staticprivate |
String arlo.NesterStaticUserMetaData.sex = null |
The documentation for this class was generated from the following file: