/*
 * The Gemma project
 * 
 * Copyright (c) 2009 University of British Columbia
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
package ubic.gemma.loader.expression.simple;

import java.io.IOException;
import java.io.InputStream;

import org.springframework.transaction.annotation.Transactional;

import ubic.gemma.model.expression.experiment.ExpressionExperiment;

/**
 * @author paul
 * @version $Id$
 */
public interface ExperimentalDesignImporter {

    /**
     * @param experiment
     * @param is
     * @throws IOException
     */
    @Transactional
    public void importDesign( ExpressionExperiment experiment, InputStream is ) throws IOException;

    /**
     * @param experiment
     * @param is
     * @param dryRun
     */
    @Transactional
    public void importDesign( ExpressionExperiment experiment, InputStream is, boolean dryRun ) throws IOException;

}
@@ -776,44 +776,42 @@
 ork.
-transaction.annotation.Transactional
+security.access.annotation.Secured
 ;%0A%0Ai
@@ -1052,37 +1052,71 @@
     */%0A    @
-Transactional
+Secured(%7B %22GROUP_USER%22, %22ACL_SECURABLE_EDIT%22 %7D)
 %0A    public 
@@ -1293,21 +1293,55 @@
    @
-Transactional
+Secured(%7B %22GROUP_USER%22, %22ACL_SECURABLE_EDIT%22 %7D)
 %0A   

add security, remove Transactional