public abstract class AbstractPersistenceManager extends java.lang.Object implements ConfChangeEventListenerI
| Constructor and Description |
|---|
AbstractPersistenceManager() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttribute(java.lang.String s) |
java.lang.String |
getAttribute(java.lang.String s,
java.lang.String defaultValue) |
boolean |
getAttributeAsBool(java.lang.String s,
boolean defaultValue) |
int |
getAttributeAsInt(java.lang.String s,
int defaultValue) |
DBManLocalI |
getDbm() |
int |
getDebugSlowQuery() |
ErrorHandler |
getEh() |
int |
getInfoSlowQuery() |
abstract PersistenceHandlerI |
getPersistenceHandler(AbstractKeyGenerator keygen)
Creates and returns a new
PersistenceHandlerI configured strictly for
read-only operations. |
abstract PersistenceHandlerI |
getPersistenceHandlerForSaving(AbstractKeyGenerator keygen)
Creates and returns a new
PersistenceHandlerI configured for
transactional read-write operations. |
netrexx.lang.Rexx |
getSection() |
int |
getWarnSlowQuery() |
void |
init(DBManLocalI _dbm,
netrexx.lang.Rexx _section) |
void |
processConfChangeEvent(ConfChangeEvent e)
Processes a configuration change event.
|
void |
setDbm(DBManLocalI dbm) |
void |
setDebugSlowQuery(int debugSlowQuery) |
void |
setEh(ErrorHandler eh) |
void |
setInfoSlowQuery(int infoSlowQuery) |
void |
setSection(netrexx.lang.Rexx section) |
void |
setWarnSlowQuery(int warnSlowQuery) |
public void init(DBManLocalI _dbm, netrexx.lang.Rexx _section)
public void processConfChangeEvent(ConfChangeEvent e)
ConfChangeEventListenerIprocessConfChangeEvent in interface ConfChangeEventListenerIe - The ConfChangeEvent object containing details of the configuration change.public abstract PersistenceHandlerI getPersistenceHandler(AbstractKeyGenerator keygen)
PersistenceHandlerI configured strictly for
read-only operations.
This handler is only for loading/retrieving objects from the database. It does not support transaction commits; any modifications made to objects loaded via this handler cannot be saved back to the database through this instance.
keygen - The AbstractKeyGenerator to use.public abstract PersistenceHandlerI getPersistenceHandlerForSaving(AbstractKeyGenerator keygen)
PersistenceHandlerI configured for
transactional read-write operations.
This handler supports both loading objects and persisting changes (saving) back to the database. Use this method when the intended logic involves modifying data within a specific transaction context.
keygen - The AbstractKeyGenerator to use.public java.lang.String getAttribute(java.lang.String s)
public java.lang.String getAttribute(java.lang.String s,
java.lang.String defaultValue)
public int getAttributeAsInt(java.lang.String s,
int defaultValue)
public boolean getAttributeAsBool(java.lang.String s,
boolean defaultValue)
public DBManLocalI getDbm()
public void setDbm(DBManLocalI dbm)
public netrexx.lang.Rexx getSection()
public void setSection(netrexx.lang.Rexx section)
public ErrorHandler getEh()
public void setEh(ErrorHandler eh)
public int getDebugSlowQuery()
public void setDebugSlowQuery(int debugSlowQuery)
public int getInfoSlowQuery()
public void setInfoSlowQuery(int infoSlowQuery)
public int getWarnSlowQuery()
public void setWarnSlowQuery(int warnSlowQuery)
Copyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.