net.anotheria.db.dao
Interface DAO


public interface DAO

Describes a DAO in the ano-db framework.

Author:
lrosenberg

Field Summary
static String ATT_NAME_DAO_CREATED
          Attribute name for created timestamp of a row.
static String ATT_NAME_DAO_UPDATED
          Attribute name for last updated timestamp of a row.
 
Method Summary
 void createStructure(Connection connection)
          Creates initial DB structure.
 void deleteStructure(Connection connectiion)
          Deletes DB Structure.
 

Field Detail

ATT_NAME_DAO_CREATED

static final String ATT_NAME_DAO_CREATED
Attribute name for created timestamp of a row. Created and Updated are automatically written by DAOs.

See Also:
Constant Field Values

ATT_NAME_DAO_UPDATED

static final String ATT_NAME_DAO_UPDATED
Attribute name for last updated timestamp of a row. Created and Updated are automatically written by DAOs.

See Also:
Constant Field Values
Method Detail

createStructure

void createStructure(Connection connection)
                     throws DAOException
Creates initial DB structure.

Parameters:
connection -
Throws:
DAOException

deleteStructure

void deleteStructure(Connection connectiion)
                     throws DAOException
Deletes DB Structure.

Parameters:
connectiion -
Throws:
DAOException


Copyright © 2010-2013 anotheria.net. All Rights Reserved.