CPD Results
The following document contains the results of PMD's CPD 6.13.0.
Duplications
File |
Line |
fr/paris/lutece/plugins/modulenotifygrumappingmanager/business/NotifygruMappingManagerDAO.java |
117 |
fr/paris/lutece/plugins/modulenotifygrumappingmanager/business/NotifygruMappingManagerDAO.java |
147 |
daoUtil.setInt( 1, nKey );
daoUtil.executeQuery( );
if ( daoUtil.next( ) )
{
int nIndex = 1;
notifygruMappingManager = new NotifygruMappingManager( );
notifygruMappingManager.setId( daoUtil.getInt( nIndex++ ) );
notifygruMappingManager.setBeanKey( daoUtil.getString( nIndex++ ) );
notifygruMappingManager.setConnectionId( daoUtil.getInt( nIndex++ ) );
notifygruMappingManager.setCustomerId( daoUtil.getInt( nIndex++ ) );
notifygruMappingManager.setMobilePhoneNumber( daoUtil.getInt( nIndex++ ) );
notifygruMappingManager.setFixedPhoneNumber( daoUtil.getInt( nIndex++ ) );
notifygruMappingManager.setEmail( daoUtil.getInt( nIndex++ ) );
notifygruMappingManager.setDemandeTypeId( daoUtil.getInt( nIndex++ ) );
notifygruMappingManager.setDemandReference( daoUtil.getInt( nIndex++ ) );
}
}
return notifygruMappingManager;
}
/**
* {@inheritDoc }
*/
@Override
public NotifygruMappingManager load( String strKey, Plugin plugin ) |
File |
Line |
fr/paris/lutece/plugins/modulenotifygrumappingmanager/business/NotifygruMappingManagerDAO.java |
92 |
fr/paris/lutece/plugins/modulenotifygrumappingmanager/business/NotifygruMappingManagerDAO.java |
189 |
int nIndex = 1;
daoUtil.setInt( nIndex++, notifygruMappingManager.getId( ) );
daoUtil.setString( nIndex++, notifygruMappingManager.getBeanKey( ) );
daoUtil.setInt( nIndex++, notifygruMappingManager.getConnectionId( ) );
daoUtil.setInt( nIndex++, notifygruMappingManager.getCustomerId( ) );
daoUtil.setInt( nIndex++, notifygruMappingManager.getMobilePhoneNumber( ) );
daoUtil.setInt( nIndex++, notifygruMappingManager.getFixedPhoneNumber( ) );
daoUtil.setInt( nIndex++, notifygruMappingManager.getEmail( ) );
daoUtil.setInt( nIndex++, notifygruMappingManager.getDemandeTypeId( ) );
daoUtil.setInt( nIndex++, notifygruMappingManager.getDemandReference( ) );
daoUtil.executeUpdate( ); |
File |
Line |
fr/paris/lutece/plugins/modulenotifygrumappingmanager/business/NotifygruMappingManagerDAO.java |
124 |
fr/paris/lutece/plugins/modulenotifygrumappingmanager/business/NotifygruMappingManagerDAO.java |
154 |
fr/paris/lutece/plugins/modulenotifygrumappingmanager/business/NotifygruMappingManagerDAO.java |
220 |
notifygruMappingManager.setId( daoUtil.getInt( nIndex++ ) );
notifygruMappingManager.setBeanKey( daoUtil.getString( nIndex++ ) );
notifygruMappingManager.setConnectionId( daoUtil.getInt( nIndex++ ) );
notifygruMappingManager.setCustomerId( daoUtil.getInt( nIndex++ ) );
notifygruMappingManager.setMobilePhoneNumber( daoUtil.getInt( nIndex++ ) );
notifygruMappingManager.setFixedPhoneNumber( daoUtil.getInt( nIndex++ ) );
notifygruMappingManager.setEmail( daoUtil.getInt( nIndex++ ) );
notifygruMappingManager.setDemandeTypeId( daoUtil.getInt( nIndex++ ) );
notifygruMappingManager.setDemandReference( daoUtil.getInt( nIndex++ ) ); |