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 AutoPersistentNewFlushed extends AutoPersistentNew { 33 public AutoPersistentNewFlushed() { 34 super(); 35 isPersistentInDataStore = true; 36 updateAction = ActionDesc.LOG_UPDATE; 37 stateType = AP_NEW_FLUSHED; 38 } 39 40 public LifeCycleState transitionMakePersistent() { 41 return changeState(P_NEW_FLUSHED); 42 } 43 44 public LifeCycleState transitionMakePending() { 45 return changeState(AP_NEW_FLUSHED_PENDING); 46 } 47 48 public LifeCycleState transitionDeletePersistent() { 49 return changeState(AP_NEW_FLUSHED_DELETED); 50 } 51 } 52 53 54 55 56 57 58 59 60 61 62 | Popular Tags |