public final class LookupManager
extends java.lang.Object
| Constructor and Description |
|---|
LookupManager()
Initializes a LookupManager object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Commit any pending changes.
|
LookupType |
createLookupType(java.lang.String code,
java.lang.String meaning,
java.lang.String desc)
Creates a lookup type.
|
LookupType |
findLookupType(java.lang.String code)
Retrieves the lookup type with the code.
|
void |
rollback()
Rollback any uncommited changes.
|
public LookupType findLookupType(java.lang.String code)
code - the code of the lookup typepublic LookupType createLookupType(java.lang.String code, java.lang.String meaning, java.lang.String desc)
code - code of the lookup typemeaning - meaning of the lookup typedesc - description of the lookup typeoracle.jbo.JboException - if a lookup type for the code already existspublic void commit()
public void rollback()