01: /*
02: * Copyright 2004 (C) TJDO.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the TJDO License version 1.0.
06: * See the terms of the TJDO License in the documentation provided with this software.
07: *
08: * $Id: PostUpdateProcessing.java,v 1.1 2004/02/01 18:22:42 jackknifebarber Exp $
09: */
10:
11: package com.triactive.jdo.store;
12:
13: import com.triactive.jdo.StateManager;
14: import java.sql.Connection;
15:
16: /**
17: * A column mapping that performs additional tasks after a row has been
18: * updated in the database.
19: *
20: * @author <a href="mailto:mmartin5@austin.rr.com">Mike Martin</a>
21: * @version $Revision: 1.1 $
22: */
23:
24: public interface PostUpdateProcessing extends PostWriteProcessing {
25: /**
26: * Called after a SQL UPDATE has been performed.
27: *
28: * @param sm
29: * The state manager of the instance owning the Java object being
30: * updated.
31: * @param conn
32: * The connection on which the UPDATE has been performed.
33: * @param value
34: * The column value being updated.
35: */
36: void postUpdate(StateManager sm, Connection conn, Object value);
37: }
|