1 23 24 27 28 package com.sun.jdo.spi.persistence.support.sqlstore.state; 29 30 import com.sun.jdo.spi.persistence.support.sqlstore.ActionDesc; 31 32 public class AutoPersistentNewFlushedDeleted extends AutoPersistentNewDeleted { 33 public AutoPersistentNewFlushedDeleted() { 34 super(); 35 isPersistentInDataStore = true; 36 updateAction = ActionDesc.LOG_DESTROY; 37 stateType = AP_NEW_FLUSHED_DELETED; 38 } 39 40 public LifeCycleState transitionMakePersistent() { 41 return changeState(P_NEW_FLUSHED_DELETED); 42 } 43 44 public LifeCycleState transitionFlushed() { 45 return changeState(AP_NEW_DELETED); 46 } 47 } 48 49 50 51 52 53 54 55 56 | Popular Tags |