}
}
if (isNew() == true) {
final TimesheetPrefData pref = getTimesheetPrefData();
TimesheetPrefEntry entry = null;
if (pref != null) {
entry = pref.getNewesRecentEntry();
if (getData().getTaskId() == null && entry != null) {
getBaseDao().setTask(getData(), entry.getTaskId());
}
}
if (getData().getUserId() == null) {
getBaseDao().setUser(getData(), getUser().getId());
}