org.apache.jetspeed.page.impl
Class TransactionedOperation

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

public class TransactionedOperation
extends 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
           
private  String path
           
private  int transactionType
           
static int UPDATE_OPERATION
           
 
Constructor Summary
TransactionedOperation(String path, int type)
           
 
Method Summary
 String getPath()
           
 int getTransactionType()
           
 void setPath(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

path

private String path

transactionType

private int transactionType
Constructor Detail

TransactionedOperation

public TransactionedOperation(String path,
                              int type)
Method Detail

getPath

public String getPath()

setPath

public void setPath(String path)

getTransactionType

public int getTransactionType()

setTransactionType

public void setTransactionType(int transactionType)


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