public interface IERXMigrationLock
Modifier and Type | Method and Description |
---|---|
void |
setVersionNumber(com.webobjects.eoaccess.EOAdaptorChannel channel,
com.webobjects.eoaccess.EOModel model,
int versionNumber)
Sets the current version number of the named model.
|
boolean |
tryLock(com.webobjects.eoaccess.EOAdaptorChannel channel,
com.webobjects.eoaccess.EOModel model,
String lockOwnerName)
Attempts to retrieve a lock on the migration process for the named model.
|
void |
unlock(com.webobjects.eoaccess.EOAdaptorChannel channel,
com.webobjects.eoaccess.EOModel model)
Unlocks the given model.
|
int |
versionNumber(com.webobjects.eoaccess.EOAdaptorChannel channel,
com.webobjects.eoaccess.EOModel model)
Returns the current version number of the named model.
|
int versionNumber(com.webobjects.eoaccess.EOAdaptorChannel channel, com.webobjects.eoaccess.EOModel model)
channel
- the adaptor channel associated with this processmodel
- the model to lookup version information onvoid setVersionNumber(com.webobjects.eoaccess.EOAdaptorChannel channel, com.webobjects.eoaccess.EOModel model, int versionNumber)
channel
- the adaptor channel associated with this processmodel
- the model to set version information onversionNumber
- the new version numberboolean tryLock(com.webobjects.eoaccess.EOAdaptorChannel channel, com.webobjects.eoaccess.EOModel model, String lockOwnerName)
channel
- the adaptor channel associated with this processmodel
- the model to try to locklockOwnerName
- the name of the lock ownervoid unlock(com.webobjects.eoaccess.EOAdaptorChannel channel, com.webobjects.eoaccess.EOModel model)
channel
- the adaptor channel associated with this processmodel
- the model to unlockCopyright © 2002 – 2020 Project Wonder.