The following document contains the results of PMD's CPD 6.13.0.
File | Line |
---|---|
fr/paris/lutece/plugins/extend/modules/actionbar/business/ActionButtonDAO.java | 164 |
fr/paris/lutece/plugins/extend/modules/actionbar/business/ActionButtonDAO.java | 190 |
DAOUtil daoUtil = new DAOUtil( SQL_QUERY_SELECT_ALL, plugin ); daoUtil.executeQuery( ); List<ActionButton> listActions = new ArrayList<ActionButton>( ); while ( daoUtil.next( ) ) { ActionButton action = new ActionButton( ); action.setIdAction( daoUtil.getInt( 1 ) ); action.setName( daoUtil.getString( 2 ) ); action.setHtmlContent( daoUtil.getString( 3 ) ); action.setResourceType( daoUtil.getString( 4 ) ); action.setOrder( daoUtil.getInt( 5 ) ); listActions.add( action ); } daoUtil.free( ); return listActions; } /** * {@inheritDoc} */ @Override public List<ActionButton> findAllByResourceType( String strResourceType, Plugin plugin ) |