org.apache.jetspeed.page.impl
Class TransactionedOperation

java.lang.Object
  extended by org.apache.jetspeed.page.impl.TransactionedOperation

public class TransactionedOperation
extends java.lang.Object

A transactioned operation is a single Page Manager DML operation that was applied to the OJB cache. Im finding that OJB is not properly synchronizing its cache upon rollback of database transactions. This code may not be needed in future versions of OJB which have fixed this bug.

Version:
$Id: $
Author:
David Sean Taylor

Field Summary
static int ADD_OPERATION
           
static int UPDATE_OPERATION
           
 
Constructor Summary
TransactionedOperation(java.lang.String path, int type)
           
 
Method Summary
 java.lang.String getPath()
           
 int getTransactionType()
           
 void setPath(java.lang.String path)
           
 void setTransactionType(int transactionType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADD_OPERATION

public static final int ADD_OPERATION
See Also:
Constant Field Values

UPDATE_OPERATION

public static final int UPDATE_OPERATION
See Also:
Constant Field Values
Constructor Detail

TransactionedOperation

public TransactionedOperation(java.lang.String path,
                              int type)
Method Detail

getPath

public java.lang.String getPath()

setPath

public void setPath(java.lang.String path)

getTransactionType

public int getTransactionType()

setTransactionType

public void setTransactionType(int transactionType)


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.