}
protected void checkIfRootAllowsPaste(ReadGraph graph) throws DatabaseException {
}
protected void checkIfRootAllowsPaste(ReadGraph graph) throws DatabaseException {
+ if (resource == null)
+ return;
Layer0 L0 = Layer0.getInstance(graph);
// check if root is published
Boolean published = graph.getPossibleRelatedValue(resource, L0.Entity_published);
Layer0 L0 = Layer0.getInstance(graph);
// check if root is published
Boolean published = graph.getPossibleRelatedValue(resource, L0.Entity_published);