X-Git-Url: https://git.argeo.org/?p=gpl%2Fargeo-suite.git;a=blobdiff_plain;f=org.argeo.entity.core%2Fsrc%2Forg%2Fargeo%2Fentity%2Fcore%2FJcrEntityDefinition.java;h=d6d124680d15750bf315aa95cfb72babfc8cea25;hp=6eb086da2f40d6bfb1e2e60824674d50b4b661d9;hb=e270c1663064798564cd1f02bafba624f7ed8151;hpb=b6325f667ddd8cee26df68c2af8f899c09e92089 diff --git a/org.argeo.entity.core/src/org/argeo/entity/core/JcrEntityDefinition.java b/org.argeo.entity.core/src/org/argeo/entity/core/JcrEntityDefinition.java index 6eb086d..d6d1246 100644 --- a/org.argeo.entity.core/src/org/argeo/entity/core/JcrEntityDefinition.java +++ b/org.argeo.entity.core/src/org/argeo/entity/core/JcrEntityDefinition.java @@ -7,7 +7,7 @@ import javax.jcr.Repository; import javax.jcr.RepositoryException; import javax.jcr.Session; -import org.argeo.api.NodeUtils; +import org.argeo.cms.jcr.CmsJcrUtils; import org.argeo.entity.EntityConstants; import org.argeo.entity.EntityDefinition; import org.argeo.jcr.Jcr; @@ -21,7 +21,7 @@ public class JcrEntityDefinition implements EntityDefinition { private String defaultEditorId; public void init(BundleContext bundleContext, Map properties) throws RepositoryException { - Session adminSession = NodeUtils.openDataAdminSession(repository, null); + Session adminSession = CmsJcrUtils.openDataAdminSession(repository, null); try { type = properties.get(EntityConstants.TYPE); if (type == null)