}
private void setAllAccessEntries(final GroupTaskAccessDO access, final boolean selectAccess, final boolean insertAccess,
final boolean updateAccess, final boolean deleteAccess)
{
AccessEntryDO entry = access.ensureAndGetAccessEntry(AccessType.TASK_ACCESS_MANAGEMENT);
entry.setAccess(selectAccess, insertAccess, updateAccess, deleteAccess);
entry = access.ensureAndGetAccessEntry(AccessType.TASKS);
entry.setAccess(selectAccess, insertAccess, updateAccess, deleteAccess);
entry = access.ensureAndGetAccessEntry(AccessType.TIMESHEETS);
entry.setAccess(selectAccess, insertAccess, updateAccess, deleteAccess);
entry = access.ensureAndGetAccessEntry(AccessType.OWN_TIMESHEETS);
entry.setAccess(selectAccess, insertAccess, updateAccess, deleteAccess);
accessDao.internalUpdate(access);
}