/** * 테마별 컨텐츠 목록 * * @param themeList */ private void setContentList(List<SesameStep> themeList) { if (StringUtils.equals(StepEnum.IMAGE.getName(), stepName)) { SesameStep sesameStep = themeList.get(0); int totalCount = sesameBO.getContentCount(sesameStep); setContentPaging(totalCount); imageList = sesameBO.getContentList(sesameStep, offset, PAGE_SIZE); } else { List<SesameContents> contentList = new ArrayList<SesameContents>(); for (SesameStep step : themeList) { contentList = sesameBO.getContentList(step); vodList.add(contentList); } } }
/** * 단계별 테마 목록 * * @return */ private List<SesameStep> setThemeList() { List<SesameStep> themeList = sesameBO.getThemeList(stepName); return themeList; }