# -*- coding: iso-8859-1 -*-
#-----------------------------------------------------------------------------
# Modeling Framework: an Object-Relational Bridge for python
#
# Copyright (c) 2001-2004 Sbastien Bigaret <sbigaret@users.sourceforge.net>
# All rights reserved.
#
# This file is part of the Modeling Framework.
#
# This code is distributed under a "3-clause BSD"-style license;
# see the LICENSE file for details.
#-----------------------------------------------------------------------------
"""
DatabaseOperation API
Constants
AdaptorDeleteOperator
AdaptorInsertOperator
AdaptorLockOperator
AdaptorStoredProcedureOperator
AdaptorUpdateOperator
DatabaseDeleteOperator
DatabaseInsertOperator
DatabaseNothingOperator
DatabaseUpdateOperator
CVS information
$Id: DatabaseOperation.py 932 2004-07-20 06:21:57Z sbigaret $
"""
__version__='$Revision: 932 $'[11:-2]
try:
from Interface import Base
except:
class Base:
pass
class IDatabaseOperation(Base):
"""
"""
def __init__(self, aGlobalID, anObject, anEntity):
"""
"""
def adaptorOperations(self):
"""
"""
def addAdaptorOperation(self, anAdaptorOperation):
"""
"""
def databaseOperator(self):
"""
"""
def dbSnapshot(self):
"""
"""
def entity(self):
"""
"""
def globalID(self):
"""
"""
def newRow(self):
"""
"""
def object(self):
"""
"""
def primaryKeyDiffs(self):
"""
"""
def recordToManySnapshot(self, globaIDs, name):
"""
"""
def removeAdaptorOperation(self, anAdaptorOperation):
"""
"""
def rowDiffs(self):
"""
"""
def rowDiffsForAttributes(self, attributes):
"""
"""
def setDatabaseOperator(self, aDatabaseOperator):
"""
"""
def setDBSnapshot(self, dbSnapshot):
"""
"""
def setNewRow(self, newRow):
"""
"""
def toManySnapshots(self):
"""
"""
def toString(self):
"""
"""
|