<commit_before>/*
 * The Gemma project.
 * 
 * Copyright (c) 2006-2007 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.model.genome.sequenceAnalysis;

import java.util.Collection;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

/**
 * Spring Service base class for <code>BlatResultService</code>, provides access to all services and entities referenced
 * by this service.
 * 
 * @see BlatResultService
 */
public abstract class BlatResultServiceBase implements BlatResultService {

    @Autowired
    private BlatResultDao blatResultDao;

    /**
     * @see BlatResultService#create(BlatResult)
     */
    @Override
    @Transactional
    public BlatResult create( final BlatResult blatResult ) {
        return this.handleCreate( blatResult );

    }

    /**
     * @see BlatResultService#findByBioSequence(ubic.gemma.model.genome.biosequence.BioSequence)
     */
    @Override
    @Transactional(readOnly = true)
    public Collection<BlatResult> findByBioSequence( final ubic.gemma.model.genome.biosequence.BioSequence bioSequence ) {
        return this.handleFindByBioSequence( bioSequence );

    }

    /**
     * @see BlatResultService#load(Collection)
     */
    @Override
    @Transactional(readOnly = true)
    public Collection<BlatResult> load( final Collection<Long> ids ) {
        return this.handleLoad( ids );

    }

    /**
     * @see BlatResultService#remove(BlatResult)
     */
    @Override
    @Transactional
    public void remove( final BlatResult blatResult ) {
        this.handleRemove( blatResult );

    }

    /**
     * Sets the reference to <code>blatResult</code>'s DAO.
     */
    public void setBlatResultDao( BlatResultDao blatResultDao ) {
        this.blatResultDao = blatResultDao;
    }

    /**
     * @see BlatResultService#update(BlatResult)
     */
    @Override
    public void update( final BlatResult blatResult ) {
        this.handleUpdate( blatResult );

    }

    /**
     * Gets the reference to <code>blatResult</code>'s DAO.
     */
    protected BlatResultDao getBlatResultDao() {
        return this.blatResultDao;
    }

    /**
     * Performs the core logic for {@link #create(BlatResult)}
     */
    protected abstract BlatResult handleCreate( BlatResult blatResult );
<commit_msg>missing annotation<commit_after>/*
 * The Gemma project.
 * 
 * Copyright (c) 2006-2007 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.model.genome.sequenceAnalysis;

import java.util.Collection;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

/**
 * Spring Service base class for <code>BlatResultService</code>, provides access to all services and entities referenced
 * by this service.
 * 
 * @see BlatResultService
 */
public abstract class BlatResultServiceBase implements BlatResultService {

    @Autowired
    private BlatResultDao blatResultDao;

    /**
     * @see BlatResultService#create(BlatResult)
     */
    @Override
    @Transactional
    public BlatResult create( final BlatResult blatResult ) {
        return this.handleCreate( blatResult );

    }

    /**
     * @see BlatResultService#findByBioSequence(ubic.gemma.model.genome.biosequence.BioSequence)
     */
    @Override
    @Transactional(readOnly = true)
    public Collection<BlatResult> findByBioSequence( final ubic.gemma.model.genome.biosequence.BioSequence bioSequence ) {
        return this.handleFindByBioSequence( bioSequence );

    }

    /**
     * @see BlatResultService#load(Collection)
     */
    @Override
    @Transactional(readOnly = true)
    public Collection<BlatResult> load( final Collection<Long> ids ) {
        return this.handleLoad( ids );

    }

    /**
     * @see BlatResultService#remove(BlatResult)
     */
    @Override
    @Transactional
    public void remove( final BlatResult blatResult ) {
        this.handleRemove( blatResult );

    }

    /**
     * Sets the reference to <code>blatResult</code>'s DAO.
     */
    public void setBlatResultDao( BlatResultDao blatResultDao ) {
        this.blatResultDao = blatResultDao;
    }

    /**
     * @see BlatResultService#update(BlatResult)
     */
    @Override
    @Transactional
    public void update( final BlatResult blatResult ) {
        this.handleUpdate( blatResult );

    }

    /**
     * Gets the reference to <code>blatResult</code>'s DAO.
     */
    protected BlatResultDao getBlatResultDao() {
        return this.blatResultDao;
    }

    /**
     * Performs the core logic for {@link #create(BlatResult)}
     */
    protected abstract BlatResult handleCreate( BlatResult blatResult );

{'fraction_non_alphanumeric': 0.09104938271604938, 'fraction_numerical': 0.00411522633744856, 'mean_word_length': 3.1694067190850608, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4049460', 'n_tokens_mistral': 1682, 'n_tokens_neox': 1624, 'n_words': 456}