/** * Creates a <code>CmsPublishJobInfoBean</code> from a result set.<p> * * @param res the result set * @return an initialized <code>CmsPublishJobInfoBean</code> * @throws SQLException if something goes wrong */ protected CmsPublishJobInfoBean createPublishJobInfoBean(ResultSet res) throws SQLException { return new CmsPublishJobInfoBean( new CmsUUID(res.getString("HISTORY_ID")), new CmsUUID(res.getString("PROJECT_ID")), res.getString("PROJECT_NAME"), new CmsUUID(res.getString("USER_ID")), res.getString("PUBLISH_LOCALE"), res.getInt("PUBLISH_FLAGS"), res.getInt("RESOURCE_COUNT"), res.getLong("ENQUEUE_TIME"), res.getLong("START_TIME"), res.getLong("FINISH_TIME")); }
/** * Creates a <code>CmsPublishJobInfoBean</code> from a result set.<p> * * @param res the result set * @return an initialized <code>CmsPublishJobInfoBean</code> * @throws SQLException if something goes wrong */ protected CmsPublishJobInfoBean createPublishJobInfoBean(ResultSet res) throws SQLException { return new CmsPublishJobInfoBean( new CmsUUID(res.getString("HISTORY_ID")), new CmsUUID(res.getString("PROJECT_ID")), res.getString("PROJECT_NAME"), new CmsUUID(res.getString("USER_ID")), res.getString("PUBLISH_LOCALE"), res.getInt("PUBLISH_FLAGS"), res.getInt("RESOURCE_COUNT"), res.getLong("ENQUEUE_TIME"), res.getLong("START_TIME"), res.getLong("FINISH_TIME")); }
/** * Creates a <code>CmsPublishJobInfoBean</code> from a result set.<p> * * @param pj the result set * * @return an initialized <code>CmsPublishJobInfoBean</code> */ protected CmsPublishJobInfoBean createPublishJobInfoBean(CmsDAOPublishJobs pj) { return new CmsPublishJobInfoBean( new CmsUUID(pj.getHistoryId()), new CmsUUID(pj.getProjectId()), pj.getProjectName(), new CmsUUID(pj.getUserId()), pj.getPublishLocale(), pj.getPublishFlags(), pj.getResourceCount(), pj.getEnqueueTime(), pj.getStartTime(), pj.getFinishTime()); }
CmsPublishJobInfoBean publishJob = new CmsPublishJobInfoBean(cms, publishList, report); try {
CmsPublishJobInfoBean publishJob = new CmsPublishJobInfoBean(cms, publishList, report); try {