Package com.infoclinika.mssharing.model.internal.entity.search

Examples of com.infoclinika.mssharing.model.internal.entity.search.SearchDatabase


    public long sequestSearchDB(String dbName, String fileName, String type) {
        SearchDatabaseType sequestSearchDbType = sequestSearchDBTypeRepository.findByName(type);
        if (sequestSearchDbType == null){
            sequestSearchDbType = sequestSearchDBTypeRepository.save(new SearchDatabaseType(type));
        }
        final SearchDatabase db = new SearchDatabase(dbName, fileName, sequestSearchDbType, new Date());
        return sequestSearchDBRepository.save(db).getId();
    }
View Full Code Here

TOP

Related Classes of com.infoclinika.mssharing.model.internal.entity.search.SearchDatabase

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.