org.codehaus.wadi
Interface DatabaseMotableConfig

All Superinterfaces:
Config, StoreMotableConfig
All Known Implementing Classes:
DatabaseStore

public interface DatabaseMotableConfig
extends StoreMotableConfig


Method Summary
 void delete(Connection connection, Motable motable)
           
 DataSource getDataSource()
           
 String getLabel()
           
 boolean getReusingStore()
           
 String getTable()
           
 void insert(Connection connection, Motable motable, Object body)
           
 Object loadBody(Connection connection, Motable motable)
           
 void loadHeader(Connection connection, Motable motable)
           
 void update(Connection connection, Motable motable)
           
 
Methods inherited from interface org.codehaus.wadi.StoreMotableConfig
getUseNIO
 

Method Detail

getLabel

public String getLabel()

getDataSource

public DataSource getDataSource()

getTable

public String getTable()

getReusingStore

public boolean getReusingStore()

insert

public void insert(Connection connection,
                   Motable motable,
                   Object body)
            throws Exception
Throws:
Exception

delete

public void delete(Connection connection,
                   Motable motable)

update

public void update(Connection connection,
                   Motable motable)
            throws Exception
Throws:
Exception

loadHeader

public void loadHeader(Connection connection,
                       Motable motable)

loadBody

public Object loadBody(Connection connection,
                       Motable motable)
                throws Exception
Throws:
Exception


Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.