public static BaseUsable[] buildActions(ResultSet rs) {
ArrayList<BaseUsable> ret = new ArrayList<BaseUsable>();
try {
while (rs.next()) {
BaseUsable b = getUsable(rs.getInt("ID"), rs
.getString("CLIENTACTION"), rs.getString("NAME"));
if (b != null) {
b.setCategory(rs.getString("CATEGORY"));
b.setType(rs.getString("TYPE"));
b.setDescription(rs.getString("DESCRIPTION"));
b.setImage(rs.getString("IMAGE"));
b.setActionID(rs.getInt("ACTIONID"));
b.setDisplayOrder(rs.getInt("DISPLAYORDER"));
ret.add(b);
}
}
} catch (Exception e) {