public List<LFAchievementUser> findByAchievementId(Integer achievementId) throws SystemException {
return lfAchievementUserPersistence.findByAchievementId(achievementId);
}
public LFAchievementUser createLFAchievementUser(Integer userId, Integer achievementId) throws SystemException {
LFAchievementUser result = createLFAchievementUser(counterLocalService.increment(LFAchievementUser.class.getName()));
result.setAchievementId(achievementId);
result.setUserId(userId);
lfAchievementUserPersistence.update(result, false);
return result;
}