ERXECLockingTestCase.EC Class Reference

Inherits er::extensions::eof::ERXEC.

Collaboration diagram for ERXECLockingTestCase.EC:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void _saveChanges ()
void lock ()
void saveChangesWithWait ()
void unlock ()

Public Attributes

boolean afterAutoLock
boolean afterAutoUnlock
boolean afterLock
boolean afterUnlock
int autoLocks
boolean beforeAutoLock
boolean beforeAutoUnlock
boolean beforeLock
boolean beforeUnlock
long waitTime
boolean wasAutolocked

Protected Member Functions

boolean autoLock (String method)
void autoUnlock (boolean wasLocked)


Member Function Documentation

void _saveChanges (  ) 

Reimplemented from ERXEC.

boolean autoLock ( String  method  )  [protected]

Utility to actually emit the log messages and do the locking, based on the result of useAutoLock().

Parameters:
method method name which to prepend to log message
Returns:
whether we did lock automatically

Reimplemented from ERXEC.

void autoUnlock ( boolean  wasAutoLocked  )  [protected]

Utility to unlock the EC is it was locked in the previous invocation.

Parameters:
wasAutoLocked true if the EC was autolocked

Reimplemented from ERXEC.

void lock (  ) 

Overridden to emit log messages and push this instance to the locked editing contexts in this thread.

Reimplemented from ERXEC.

void saveChangesWithWait (  ) 

void unlock (  ) 

Overridden to emit log messages and pull this instance from the locked editing contexts in this thread.

Reimplemented from ERXEC.


Member Data Documentation

boolean afterAutoLock

boolean afterAutoUnlock

boolean afterLock

boolean afterUnlock

int autoLocks

boolean beforeAutoLock

boolean beforeLock

boolean beforeUnlock

long waitTime

boolean wasAutolocked


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:00 2012 for Project Wonder by  doxygen 1.5.8