gov.nih.nci.caarray.services.fileparse2
Class HybridizationFileParsingService

java.lang.Object
  extended by gov.nih.nci.caarray.services.fileparse2.HybridizationFileParsingService

public final class HybridizationFileParsingService
extends java.lang.Object

Author:
tranp

Constructor Summary
HybridizationFileParsingService()
           
 
Method Summary
static boolean emailParsingNotification(HybridizationFileUploadGroup fileUploadGroup, java.lang.String userName)
          Sends an email message to the owner of the experiment for which the specified fileUploadGroup is, curator and caarray_admin to notify about the result of the parsing of the specified HybridizationFileUploadGroup.
 void process(long hybridizationFileUploadGroupId, boolean validateOnly)
           
 void process(long hybridizationFileUploadGroupId, boolean validateOnly, java.lang.String userName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HybridizationFileParsingService

public HybridizationFileParsingService()
Method Detail

process

public void process(long hybridizationFileUploadGroupId,
                    boolean validateOnly)
             throws java.lang.Exception
Throws:
java.lang.Exception

process

public void process(long hybridizationFileUploadGroupId,
                    boolean validateOnly,
                    java.lang.String userName)
             throws java.lang.Exception
Throws:
java.lang.Exception

emailParsingNotification

public static final boolean emailParsingNotification(HybridizationFileUploadGroup fileUploadGroup,
                                                     java.lang.String userName)
Sends an email message to the owner of the experiment for which the specified fileUploadGroup is, curator and caarray_admin to notify about the result of the parsing of the specified HybridizationFileUploadGroup.

Parameters:
fileUploadGroup - - The HybridizationFileUploadGroup that groups all the quantification data files being uploaded in this batch.
userName - - The user who initiates the upload/parsing of this fileUploadGroup to be identified in the notification.
Returns:
True if the email is sent successfully; false otherwise.