/**
* Lee una actividad desde una consulta (ResultSet) que contenga todos los campos de ACTIVITIES.
*/
private Activity readActivity(ResultSet rs) throws Exception
{
Activity activity = new Activity();
try
{
activity.setId(rs.getString("actid"));
activity.setDescription(rs.getString("actdescription"));
activity.setGrantedByDefault(rs.getBoolean("actdefaultgrant"));
activity.setEnabled(rs.getBoolean("actenabled"));
}
catch (Exception ex)
{
throw ex;
}