public class MDSTransManager extends java.lang.Object implements MDSLockedSessionOperations
Modifier and Type | Field and Description |
---|---|
static ADFLogger |
_EXCELOG |
static ADFLogger |
_LOG |
Constructor and Description |
---|
MDSTransManager() |
Modifier and Type | Method and Description |
---|---|
static void |
addListener(MDSTransResetListener col) |
void |
addListenerInst(MDSTransResetListener col) |
static void |
beginFlush(oracle.mds.core.MDSSession mdsSess)
Deprecated.
relaced by
beginFlushCurrentMDSSess() |
static void |
beginFlushCurrentMDSSess() |
void |
cancelMDSSessionChanges()
Cancels the current MDSSession for the current ADFContext.
|
static void |
endFlush(oracle.mds.core.MDSSession mdsSess)
Deprecated.
relaced by
endFlushCurrentMDSSess() |
static void |
endFlushCurrentMDSSess() |
static void |
finalFlushChanges(oracle.mds.core.MDSSession mdsSess) |
static void |
flushChanges(oracle.mds.core.MDSSession mdsSess) |
void |
flushMDSSessionChanges()
Flushes the current MDSSession for the current ADFContext.
|
static oracle.mds.core.MDSSession |
getCurrentMDSSession() |
static MDSTransResetListener |
getListener(java.lang.String className) |
MDSTransResetListener |
getListenerInst(java.lang.String className) |
static MDSLockedSessionManager |
getMDSLockedSessionManager() |
static MDSTransManager |
getMDSTransManagerForSession()
Deprecated.
|
protected java.lang.Object |
getSessionLock() |
boolean |
getSingleFlushFlag()
Deprecated.
|
static boolean |
getSingleFlushFlagGlobal()
Deprecated.
|
static boolean |
hasException()
Check if any exception is currently set
|
static boolean |
isFinalFlush(oracle.mds.core.MDSSession mdsSess)
Deprecated.
relaced by
isFinalFlushCurrentMDSSess() |
static boolean |
isFinalFlushCurrentMDSSess() |
protected boolean |
isLockedMDSSession() |
static boolean |
isLockedSessionManagerRegistered() |
static boolean |
isMDSNoCustEnabled(oracle.mds.core.MDSSession mdsSess) |
boolean |
isMDSRefreshNeeded()
Tells whether or not there are pending changes on the current MDS Session for the current ADFContext
|
static boolean |
isMDSRefreshNeeded(oracle.mds.core.MDSSession mdsSess) |
boolean |
isMDSSessionLocked() |
static boolean |
isRightIsolationLevel(oracle.mds.core.MDSSession mdsSess) |
static boolean |
isSingleFlush() |
static void |
popAndMakeCurrent() |
static void |
pushAndResetContext() |
static MDSLockedSessionManager |
registerMDSLockedSessionManager() |
static MDSLockedSessionManager |
registerMDSLockedSessionManager(MDSLockedSessionManager sessMgrs) |
void |
removeListenerInst(java.lang.String listenerClassName) |
static void |
reset() |
void |
resetMDSSession()
Resets the current MDSSession for the current ADFContext.
|
static void |
setException(java.lang.Exception rte) |
protected void |
setSessionLock(java.lang.Object sessLock) |
void |
setSingleFlushFlag(boolean flag)
Deprecated.
|
static void |
setSingleFlushFlagGlobal(boolean flag)
Deprecated.
|
protected static void |
storeMDSTransManager(MDSTransManager mdtm) |
void |
useLockedMDSSession() |
public static final ADFLogger _LOG
public static final ADFLogger _EXCELOG
public static MDSLockedSessionManager registerMDSLockedSessionManager() throws java.lang.Exception
java.lang.Exception
public static MDSLockedSessionManager registerMDSLockedSessionManager(MDSLockedSessionManager sessMgrs) throws java.lang.Exception
java.lang.Exception
public static MDSLockedSessionManager getMDSLockedSessionManager()
public static boolean isLockedSessionManagerRegistered()
public boolean isMDSRefreshNeeded()
MDSLockedSessionOperations
isMDSRefreshNeeded
in interface MDSLockedSessionOperations
public void flushMDSSessionChanges() throws java.lang.Exception
MDSLockedSessionOperations
flushMDSSessionChanges
in interface MDSLockedSessionOperations
java.lang.Exception
- if the operation failsMDSSession.flushChanges()
public void resetMDSSession()
MDSLockedSessionOperations
resetMDSSession
in interface MDSLockedSessionOperations
MDSSession.reset()
public void cancelMDSSessionChanges()
MDSLockedSessionOperations
cancelMDSSessionChanges
in interface MDSLockedSessionOperations
MDSSession.cancelChanges()
public void useLockedMDSSession()
public boolean isMDSSessionLocked()
protected boolean isLockedMDSSession()
protected void setSessionLock(java.lang.Object sessLock)
protected java.lang.Object getSessionLock()
public static boolean isFinalFlush(oracle.mds.core.MDSSession mdsSess)
isFinalFlushCurrentMDSSess()
mdsSess
- it is ignored. Always works in the context of current mds sesssion.@Deprecated public boolean getSingleFlushFlag()
setSingleFlushFlagGlobal(boolean)
@Deprecated public static boolean getSingleFlushFlagGlobal()
setSingleFlushFlagGlobal(boolean)
@Deprecated public void setSingleFlushFlag(boolean flag)
flag
- singleflush flag valuesetSingleFlushFlagGlobal(boolean)
@Deprecated public static void setSingleFlushFlagGlobal(boolean flag)
flag
- singleflush flag valuesetSingleFlushFlagGlobal(boolean)
public static boolean isFinalFlushCurrentMDSSess()
public static void beginFlush(oracle.mds.core.MDSSession mdsSess)
beginFlushCurrentMDSSess()
mdsSess
- it is ignored. Always works in the context of current mds sesssion.public static void beginFlushCurrentMDSSess()
public static oracle.mds.core.MDSSession getCurrentMDSSession()
public static boolean isRightIsolationLevel(oracle.mds.core.MDSSession mdsSess)
public static boolean isMDSNoCustEnabled(oracle.mds.core.MDSSession mdsSess)
public static void endFlush(oracle.mds.core.MDSSession mdsSess) throws java.lang.Exception
endFlushCurrentMDSSess()
mdsSess
- it is ignored. Always works in the context of current mds sesssion.java.lang.Exception
public static void endFlushCurrentMDSSess() throws java.lang.Exception
java.lang.Exception
public static void reset()
public static void flushChanges(oracle.mds.core.MDSSession mdsSess) throws java.lang.Exception
java.lang.Exception
public static void finalFlushChanges(oracle.mds.core.MDSSession mdsSess) throws java.lang.Exception
java.lang.Exception
public static boolean isMDSRefreshNeeded(oracle.mds.core.MDSSession mdsSess)
@Deprecated @Concealed public static MDSTransManager getMDSTransManagerForSession()
public static void pushAndResetContext() throws java.lang.Exception
java.lang.Exception
public static void popAndMakeCurrent() throws java.lang.Exception
java.lang.Exception
protected static void storeMDSTransManager(MDSTransManager mdtm) throws java.lang.Exception
java.lang.Exception
public void removeListenerInst(java.lang.String listenerClassName)
public void addListenerInst(MDSTransResetListener col)
public static void addListener(MDSTransResetListener col)
public static MDSTransResetListener getListener(java.lang.String className)
public MDSTransResetListener getListenerInst(java.lang.String className)
public static boolean isSingleFlush()
public static void setException(java.lang.Exception rte)
public static boolean hasException()
setException(java.lang.Exception)