Package org.apache.clerezza.rdf.core.access

Examples of org.apache.clerezza.rdf.core.access.EntityUndeletableException


                            + graphConfigFile+"'!",e);
                }
                ModelGraph mg = getModelGraph(name, false, false);
                mg.delete();
            } else if (name.equals(defaultGraphName)){
                throw new EntityUndeletableException(defaultGraphName);
            }
            //delete the graph from the initModels list
            initModels.remove(name);
        } finally {
            datasetLock.writeLock().unlock();
View Full Code Here


            } else if(isExistingGraphName(name,Symbols.Graph)){
                ModelGraph mg = getModelGraph(name, false, false);
                mg.delete();
                removeFromIndex( name, Symbols.Graph );
            } else if (name.equals(defaultGraphName)){
                throw new EntityUndeletableException(defaultGraphName);
            }
            //delete the graph from the initModels list
            syncModels.remove(name);
        } finally {
            datasetLock.writeLock().unlock();
View Full Code Here

TOP

Related Classes of org.apache.clerezza.rdf.core.access.EntityUndeletableException

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.