Class ProxySafeFilter

  • All Implemented Interfaces:
    ome.util.Filter

    public class ProxySafeFilter
    extends ome.util.ContextFilter
    extension to ContextFilter to check for uninitialized Hibernate proxies before stepping into an entity or collection.
    Since:
    1.0
    • Field Summary

      • Fields inherited from class ome.util.ContextFilter

        _cache, _context
    • Constructor Summary

      Constructors 
      Constructor Description
      ProxySafeFilter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doFilter​(java.lang.String fieldId, java.util.Collection c)  
      protected void doFilter​(java.lang.String fieldId, ome.util.Filterable f)  
      • Methods inherited from class ome.util.ContextFilter

        addSeen, afterFilter, beforeFilter, currentContext, doFilter, enter, exit, filter, filter, filter, filter, filter, hasntSeen, pop, previousContext, push
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProxySafeFilter

        public ProxySafeFilter()
    • Method Detail

      • doFilter

        protected void doFilter​(java.lang.String fieldId,
                                ome.util.Filterable f)
        Overrides:
        doFilter in class ome.util.ContextFilter
      • doFilter

        protected void doFilter​(java.lang.String fieldId,
                                java.util.Collection c)
        Overrides:
        doFilter in class ome.util.ContextFilter