com.amazon.carbonado.gen
Interface DelegateSupport<S extends Storable>

All Superinterfaces:
MasterSupport<S>, StorableSupport<S>, TriggerSupport<S>

public interface DelegateSupport<S extends Storable>
extends MasterSupport<S>

Provides runtime support for Storable classes generated by DelegateStorableGenerator.

Since:
1.2
Author:
Brian S O'Neill

Method Summary
 boolean doTryDelete(S storable)
           
 boolean doTryInsert(S storable)
           
 boolean doTryLoad(S storable)
           
 boolean doTryUpdate(S storable)
           
 
Methods inherited from interface com.amazon.carbonado.gen.MasterSupport
getSequenceValueProducer
 
Methods inherited from interface com.amazon.carbonado.gen.TriggerSupport
getDeleteTrigger, getInsertTrigger, getLoadTrigger, getUpdateTrigger, locallyDisableLoadTrigger, locallyEnableLoadTrigger
 
Methods inherited from interface com.amazon.carbonado.gen.StorableSupport
getRootRepository, isPropertySupported
 

Method Detail

doTryLoad

boolean doTryLoad(S storable)
                  throws FetchException
Throws:
FetchException

doTryInsert

boolean doTryInsert(S storable)
                    throws PersistException
Throws:
PersistException

doTryUpdate

boolean doTryUpdate(S storable)
                    throws PersistException
Throws:
PersistException

doTryDelete

boolean doTryDelete(S storable)
                    throws PersistException
Throws:
PersistException


Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.