/** * @deprecated use {@link JPAFacadeHelper} instead. This method pierces * the published-API boundary, as does the JPAFacadeHelper utilization. */ public static Collection toOpenJPAObjectIds( org.apache.openjpa.meta.ClassMetaData meta, Collection oids) { return JPAFacadeHelper.toOpenJPAObjectIds(meta, oids); }
/** * @deprecated use {@link JPAFacadeHelper} instead. This method pierces * the published-API boundary, as does the JPAFacadeHelper utilization. */ public static Object[] toOpenJPAObjectIds( org.apache.openjpa.meta.ClassMetaData meta, Object... oids) { return JPAFacadeHelper.toOpenJPAObjectIds(meta, oids); }
/** * @deprecated use {@link JPAFacadeHelper} instead. This method pierces * the published-API boundary, as does the JPAFacadeHelper utilization. */ public static Collection toOpenJPAObjectIds( org.apache.openjpa.meta.ClassMetaData meta, Collection oids) { return JPAFacadeHelper.toOpenJPAObjectIds(meta, oids); }
/** * @deprecated use {@link JPAFacadeHelper} instead. This method pierces * the published-API boundary, as does the JPAFacadeHelper utilization. */ public static Collection toOpenJPAObjectIds( org.apache.openjpa.meta.ClassMetaData meta, Collection oids) { return JPAFacadeHelper.toOpenJPAObjectIds(meta, oids); }
/** * @deprecated use {@link JPAFacadeHelper} instead. This method pierces * the published-API boundary, as does the JPAFacadeHelper utilization. */ public static Object[] toOpenJPAObjectIds( org.apache.openjpa.meta.ClassMetaData meta, Object... oids) { return JPAFacadeHelper.toOpenJPAObjectIds(meta, oids); }
/** * @deprecated use {@link JPAFacadeHelper} instead. This method pierces * the published-API boundary, as does the JPAFacadeHelper utilization. */ public static Collection toOpenJPAObjectIds( org.apache.openjpa.meta.ClassMetaData meta, Collection oids) { return JPAFacadeHelper.toOpenJPAObjectIds(meta, oids); }
/** * Return a collection of OpenJPA oids for the given native oid collection. */ public static Collection<Object> toOpenJPAObjectIds(ClassMetaData meta, Collection<Object> oids) { if (oids == null || oids.size() == 0) { return oids; } return Arrays.asList(toOpenJPAObjectIds(meta, oids.toArray())); }
/** * Return a collection of OpenJPA oids for the given native oid collection. */ public static Collection<Object> toOpenJPAObjectIds(ClassMetaData meta, Collection<Object> oids) { if (oids == null || oids.size() == 0) { return oids; } return Arrays.asList(toOpenJPAObjectIds(meta, oids.toArray())); }
/** * Return a collection of OpenJPA oids for the given native oid collection. */ public static Collection<Object> toOpenJPAObjectIds(ClassMetaData meta, Collection<Object> oids) { if (oids == null || oids.size() == 0) { return oids; } return Arrays.asList(toOpenJPAObjectIds(meta, oids.toArray())); }
public boolean containsAll(Class cls, Collection oids) { if (_cache.getDelegate() == null) return oids.isEmpty(); BitSet set = _cache.containsAll(JPAFacadeHelper.toOpenJPAObjectIds (getMetaData(cls), oids)); for (int i = 0; i < oids.size(); i++) if (!set.get(i)) return false; return true; }
public boolean containsAll(Class cls, Collection oids) { if (_cache.getDelegate() == null) return oids.isEmpty(); BitSet set = _cache.containsAll(JPAFacadeHelper.toOpenJPAObjectIds (getMetaData(cls), oids)); for (int i = 0; i < oids.size(); i++) if (!set.get(i)) return false; return true; }
public void unpinAll(Class cls, Collection oids) { if (_cache.getDelegate() != null) _cache.unpinAll(JPAFacadeHelper.toOpenJPAObjectIds (getMetaData(cls), oids)); }
public void evictAll(Class cls, Collection oids) { if (_cache.getDelegate() != null) _cache.removeAll(JPAFacadeHelper.toOpenJPAObjectIds (getMetaData(cls), oids)); }
public void unpinAll(Class cls, Collection oids) { if (_cache.getDelegate() != null) _cache.unpinAll(JPAFacadeHelper.toOpenJPAObjectIds (getMetaData(cls), oids)); }
public void unpinAll(Class cls, Collection oids) { if (_cache.getDelegate() != null) _cache.unpinAll(JPAFacadeHelper.toOpenJPAObjectIds (getMetaData(cls), oids)); }
public void evictAll(Class cls, Collection oids) { if (_cache.getDelegate() != null) _cache.removeAll(JPAFacadeHelper.toOpenJPAObjectIds (getMetaData(cls), oids)); }
public void pinAll(Class cls, Collection oids) { if (_cache.getDelegate() != null) _cache.pinAll(JPAFacadeHelper.toOpenJPAObjectIds (getMetaData(cls), oids)); }
public void pinAll(Class cls, Collection oids) { if (_cache.getDelegate() != null) _cache.pinAll(JPAFacadeHelper.toOpenJPAObjectIds (getMetaData(cls), oids)); }
public void evictAll(Class cls, Collection oids) { if (_cache.getDelegate() != null) _cache.removeAll(JPAFacadeHelper.toOpenJPAObjectIds (getMetaData(cls), oids)); }
public void evictAll(Class cls, Collection oids) { if (_cache.getDelegate() != null) _cache.removeAll(JPAFacadeHelper.toOpenJPAObjectIds (getMetaData(cls), oids)); }