/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasDirtyListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_DIRTY) || hasHandlers(source, meta, LifecycleEvent.AFTER_DIRTY); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasClearListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_CLEAR) || hasHandlers(source, meta, LifecycleEvent.AFTER_CLEAR); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasStoreListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_STORE) || hasHandlers(source, meta, LifecycleEvent.AFTER_STORE); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasLoadListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.AFTER_LOAD); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasDirtyListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_DIRTY) || hasHandlers(source, meta, LifecycleEvent.AFTER_DIRTY); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasDetachListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_DETACH) || hasHandlers(source, meta, LifecycleEvent.AFTER_DETACH); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasClearListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_CLEAR) || hasHandlers(source, meta, LifecycleEvent.AFTER_CLEAR); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasDeleteListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_DELETE) || hasHandlers(source, meta, LifecycleEvent.AFTER_DELETE) || hasHandlers(source, meta, LifecycleEvent.AFTER_DELETE_PERFORMED); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasLoadListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.AFTER_LOAD); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasDirtyListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_DIRTY) || hasHandlers(source, meta, LifecycleEvent.AFTER_DIRTY); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasAttachListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_ATTACH) || hasHandlers(source, meta, LifecycleEvent.AFTER_ATTACH); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasDeleteListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_DELETE) || hasHandlers(source, meta, LifecycleEvent.AFTER_DELETE) || hasHandlers(source, meta, LifecycleEvent.AFTER_DELETE_PERFORMED); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasUpdateListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_UPDATE) || hasHandlers(source, meta, LifecycleEvent.AFTER_UPDATE_PERFORMED); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasDirtyListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_DIRTY) || hasHandlers(source, meta, LifecycleEvent.AFTER_DIRTY); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasPersistListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_PERSIST) || hasHandlers(source, meta, LifecycleEvent.AFTER_PERSIST) || hasHandlers(source, meta, LifecycleEvent.AFTER_PERSIST_PERFORMED); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasDetachListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_DETACH) || hasHandlers(source, meta, LifecycleEvent.AFTER_DETACH); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasPersistListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_PERSIST) || hasHandlers(source, meta, LifecycleEvent.AFTER_PERSIST) || hasHandlers(source, meta, LifecycleEvent.AFTER_PERSIST_PERFORMED); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasAttachListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_ATTACH) || hasHandlers(source, meta, LifecycleEvent.AFTER_ATTACH); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasUpdateListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_UPDATE) || hasHandlers(source, meta, LifecycleEvent.AFTER_UPDATE_PERFORMED); }
/** * Return whether there are listeners or callbacks for the given source. */ public boolean hasPersistListeners(Object source, ClassMetaData meta) { return hasHandlers(source, meta, LifecycleEvent.BEFORE_PERSIST) || hasHandlers(source, meta, LifecycleEvent.AFTER_PERSIST) || hasHandlers(source, meta, LifecycleEvent.AFTER_PERSIST_PERFORMED); }