The following document contains the results of PMD's CPD 5.3.5.
File | Line |
---|---|
fr/paris/lutece/plugins/workflow/modules/notifydirectory/business/TaskNotifyDirectoryConfigDAO.java | 71 |
fr/paris/lutece/plugins/workflow/modules/notifydirectory/business/TaskNotifyDirectoryConfigDAO.java | 108 |
DAOUtil daoUtil = new DAOUtil( SQL_QUERY_INSERT, NotifyDirectoryPlugin.getPlugin( ) ); int nPos = 0; daoUtil.setInt( ++nPos, config.getIdTask( ) ); daoUtil.setInt( ++nPos, config.getIdDirectory( ) ); daoUtil.setInt( ++nPos, config.getPositionEntryDirectoryEmail( ) ); daoUtil.setInt( ++nPos, config.getPositionEntryDirectorySms( ) ); daoUtil.setInt( ++nPos, config.getPositionEntryDirectoryUserGuid( ) ); daoUtil.setString( ++nPos, config.getSenderName( ) ); daoUtil.setString( ++nPos, config.getSubject( ) ); daoUtil.setString( ++nPos, config.getMessage( ) ); daoUtil.setBoolean( ++nPos, config.isNotifyByEmail( ) ); daoUtil.setBoolean( ++nPos, config.isNotifyBySms( ) ); daoUtil.setBoolean( ++nPos, config.isNotifyByMailingList( ) ); daoUtil.setBoolean( ++nPos, config.isNotifyByUserGuid( ) ); daoUtil.setBoolean( ++nPos, config.isEmailValidation( ) ); daoUtil.setInt( ++nPos, config.getIdStateAfterValidation( ) ); daoUtil.setString( ++nPos, config.getLabelLink( ) ); daoUtil.setString( ++nPos, config.getMessageValidation( ) ); daoUtil.setInt( ++nPos, config.getPeriodValidity( ) ); daoUtil.setString( ++nPos, config.getRecipientsCc( ) ); daoUtil.setString( ++nPos, config.getRecipientsBcc( ) ); daoUtil.setInt( ++nPos, config.getIdMailingList( ) ); daoUtil.setBoolean( ++nPos, config.isViewRecord( ) ); daoUtil.setString( ++nPos, config.getLabelLinkViewRecord( ) ); daoUtil.executeUpdate( ); |