}
}
}
protected void clearUniqueFindersCache(LFCourse lfCourse) {
LFCourseModelImpl lfCourseModelImpl = (LFCourseModelImpl) lfCourse;
Object[] args = new Object[] {
lfCourse.getCourseID(), lfCourse.getUserID()
};
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_COURSEIDANDUSERID,
args);
FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_COURSEIDANDUSERID,
args);
if ((lfCourseModelImpl.getColumnBitmask() &
FINDER_PATH_FETCH_BY_COURSEIDANDUSERID.getColumnBitmask()) != 0) {
args = new Object[] {
lfCourseModelImpl.getOriginalCourseID(),
lfCourseModelImpl.getOriginalUserID()
};
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_COURSEIDANDUSERID,
args);
FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_COURSEIDANDUSERID,
args);
}
args = new Object[] { lfCourse.getGrade() };
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_GRADE, args);
FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_GRADE, args);
if ((lfCourseModelImpl.getColumnBitmask() &
FINDER_PATH_FETCH_BY_GRADE.getColumnBitmask()) != 0) {
args = new Object[] { lfCourseModelImpl.getOriginalGrade() };
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_GRADE, args);
FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_GRADE, args);
}
}