public PCState getPCState() { return (_owner.isDeleted()) ? PCState.EDELETED : PCState.ECOPY; }
public PCState getPCState() { return (_owner.isDeleted()) ? PCState.EDELETED : PCState.ECOPY; }
public boolean isDeleted() { return _owner.isDeleted(); }
public PCState getPCState() { return (_owner.isDeleted()) ? PCState.EDELETED : PCState.ECOPY; }
public boolean isDeleted() { return _owner.isDeleted(); }
public PCState getPCState() { return (_owner.isDeleted()) ? PCState.EDELETED : PCState.ECOPY; }
public boolean isDeleted() { return _owner.isDeleted(); }
public Object processReturn(Object oid, OpenJPAStateManager sm) { return (sm == null || sm.isDeleted()) ? null : sm.getManagedInstance(); }
public Object processReturn(Object oid, OpenJPAStateManager sm) { return (sm == null || sm.isDeleted()) ? null : sm.getManagedInstance(); }
public Object processReturn(Object oid, OpenJPAStateManager sm) { return (sm == null || sm.isDeleted()) ? null : sm.getManagedInstance(); }
public Object processReturn(Object oid, OpenJPAStateManager sm) { return (sm == null || sm.isDeleted()) ? null : sm.getManagedInstance(); }
public boolean contains(Object entity) { assertNotCloseInvoked(); if (entity == null) return false; OpenJPAStateManager sm = _broker.getStateManager(entity); if (sm == null && !ImplHelper.isManagedType(getConfiguration(), entity.getClass())) throw new ArgumentException(_loc.get("not-entity", entity.getClass()), null, null, true); return sm != null && !sm.isDeleted(); }
/** * Throw IllegalArgumentExceptionif if entity is not a valid entity or * if it is detached. */ void assertValidAttchedEntity(String call, Object entity) { OpenJPAStateManager sm = _broker.getStateManager(entity); if (sm == null || !sm.isPersistent() || sm.isDetached() || (call.equals(REFRESH) && sm.isDeleted())) { throw new IllegalArgumentException(_loc.get("invalid_entity_argument", call, entity == null ? "null" : Exceptions.toString(entity)).getMessage()); } }
/** * Throw IllegalArgumentExceptionif if entity is not a valid entity or * if it is detached. */ void assertValidAttchedEntity(String call, Object entity) { OpenJPAStateManager sm = _broker.getStateManager(entity); if (sm == null || !sm.isPersistent() || sm.isDetached() || (call.equals(REFRESH) && sm.isDeleted())) { throw new IllegalArgumentException(_loc.get("invalid_entity_argument", call, entity == null ? "null" : Exceptions.toString(entity)).getMessage()); } }
public boolean contains(Object entity) { assertNotCloseInvoked(); if (entity == null) return false; OpenJPAStateManager sm = _broker.getStateManager(entity); if (sm == null && !ImplHelper.isManagedType(getConfiguration(), entity.getClass())) throw new ArgumentException(_loc.get("not-entity", entity.getClass()), null, null, true); return sm != null && !sm.isDeleted(); }
public boolean contains(Object entity) { assertNotCloseInvoked(); if (entity == null) return false; OpenJPAStateManager sm = _broker.getStateManager(entity); if (sm == null && !ImplHelper.isManagedType(getConfiguration(), entity.getClass())) throw new ArgumentException(_loc.get("not-entity", entity.getClass()), null, null, true); return sm != null && !sm.isDeleted(); }
public boolean contains(Object entity) { assertNotCloseInvoked(); if (entity == null) return false; OpenJPAStateManager sm = _broker.getStateManager(entity); if (sm == null && !ImplHelper.isManagedType(getConfiguration(), entity.getClass())) throw new ArgumentException(_loc.get("not-entity", entity.getClass()), null, null, true); return sm != null && !sm.isDeleted(); }
/** * Throw IllegalArgumentExceptionif if entity is not a valid entity or * if it is detached. */ void assertValidAttchedEntity(String call, Object entity) { OpenJPAStateManager sm = _broker.getStateManager(entity); if (sm == null || !sm.isPersistent() || sm.isDetached() || (call.equals(REFRESH) && sm.isDeleted())) { throw new IllegalArgumentException(_loc.get("invalid_entity_argument", call, entity == null ? "null" : Exceptions.toString(entity)).getMessage()); } }
/** * Throw IllegalArgumentExceptionif if entity is not a valid entity or * if it is detached. */ void assertValidAttchedEntity(String call, Object entity) { OpenJPAStateManager sm = _broker.getStateManager(entity); if (sm == null || !sm.isPersistent() || sm.isDetached() || (call.equals(REFRESH) && sm.isDeleted())) { throw new IllegalArgumentException(_loc.get("invalid_entity_argument", call, entity == null ? "null" : Exceptions.toString(entity)).getMessage()); } }
public boolean contains(Object entity) { assertNotCloseInvoked(); if (entity == null) return false; OpenJPAStateManager sm = _broker.getStateManager(entity); if (sm == null && !ImplHelper.isManagedType(getConfiguration(), entity.getClass())) throw new ArgumentException(_loc.get("not-entity", entity.getClass()), null, null, true); return sm != null && !sm.isDeleted(); }