Ignore:
Timestamp:
04/18/12 15:27:13 (12 years ago)
Author:
vmipsl
Message:

BO insertion données _ insertion code medias package insertion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ether_megapoli/trunk/service/implementation/com/ether/EtherServiceImpl.java

    r476 r482  
    2525import org.springframework.transaction.annotation.Transactional; 
    2626 
    27 import java.io.File; 
    2827import java.util.ArrayList; 
    2928import java.util.Date; 
     
    550549    } 
    551550 
    552     /** 
    553      * This method moves all dataset's files from download directory to upload directory 
    554      * 
    555      * @param jeu 
    556      * @param downloadDirectory 
    557      * @param uploadDirectory 
    558      */ 
    559     public boolean moveFilesFromDownloadToUpload( @NotNull final Jeu jeu, @NotNull final String downloadDirectory, @NotNull final String uploadDirectory ) 
    560             throws ServiceException 
    561     { 
    562         if( null == jeu.getCategorie() || null == jeu.getCategorie().getCategorieNom() ) 
    563             throw new ServiceException( ServiceException.ServiceCode.JEU_NOT_CORRECT, "ERROR to move jeu to download directory to upload directory" + jeu ); 
    564  
    565         final String downloadFilesPath = downloadDirectory + File.separatorChar + jeu.getCategorie().getCategorieNom() + File.separatorChar + jeu.getJeuNom(); 
    566         final String uploadFilesPath = uploadDirectory + File.separatorChar + jeu.getCategorie().getCategorieNom() + File.separatorChar + jeu.getJeuNom(); 
    567  
    568         return EtherHelper.moveFiles( downloadFilesPath, uploadFilesPath ); 
    569     } 
    570  
    571551    @Required 
    572552    public void setPlateformDAO( final PlateformDAO plateformDAO ) 
Note: See TracChangeset for help on using the changeset viewer.