public DBKeySet keySet() throws SQLException {
if (DebugFile.trace) {
DebugFile.writeln("Begin DBFolder.keySet()");
DebugFile.incIdent();
}
DBKeySet oKeySet = new DBKeySet(DB.k_mime_msgs,
DB.id_message,
DB.id_message+" IS NOT NULL AND "+DB.gu_category+"=? AND "+DB.bo_deleted+"<>1 AND "+DB.gu_parent_msg+" IS NULL",0);
JDCConnection oCnn = null;
try {
oCnn = getConnection();
} catch (MessagingException msge) {
throw new SQLException(msge.getMessage(), msge);
}
oKeySet.load(oCnn,new Object[]{oCatg.getString(DB.gu_category)});
if (DebugFile.trace) {
DebugFile.decIdent();
DebugFile.writeln("End DBFolder.keySet() : " + String.valueOf(oKeySet.size()));
}
return oKeySet;
} // keySet