|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.common.NamedObjectImpl oracle.jbo.server.NamedObjectImpl oracle.jbo.server.ComponentObjectImpl oracle.jbo.server.ContainerObjectImpl oracle.jbo.server.ApplicationModuleImpl oracle.jbo.server.uniqueid.RowIdAMImpl
public class RowIdAMImpl
This class is the Application Module implementation for the RowId generator.
The GeneratorSequenceImpl
class invokes the
getNextId
method on this class to get the next RowId to use.
Any other class can invoke the other public methods for appropriate behavior.
Field Summary | |
---|---|
static java.lang.Object |
sCacheLock
|
Fields inherited from class oracle.jbo.server.ApplicationModuleImpl |
---|
DEFAULT_DEF_NAME, SHARED_SCOPE_APPLICATION, SHARED_SCOPE_SESSION |
Fields inherited from class oracle.jbo.server.ContainerObjectImpl |
---|
mComponentList, mComponents |
Fields inherited from class oracle.jbo.common.NamedObjectImpl |
---|
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX |
Fields inherited from interface oracle.jbo.GenericHints |
---|
PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIP |
Fields inherited from interface oracle.jbo.common.ws.WSApplicationModuleMarshaller |
---|
ACTIVATION_AFTER_LOSS_OF_AFFINITY, ACTIVATION_AFTER_RESTART, ACTIVATION_NONE, SYNC_INT_BATCH, SYNC_INT_BATCH_DO_WORK |
Constructor Summary | |
---|---|
RowIdAMImpl()
This is the default constructor (do not remove) |
Method Summary | |
---|---|
java.math.BigDecimal |
getBlock(java.math.BigDecimal blockSize)
Gets a contiguous block of ids |
java.math.BigDecimal |
getNextId()
Gets the next available row id |
ViewObjectImpl |
getRowIdViewObj()
Container's getter for RowIdViewObj |
java.math.BigDecimal |
numFreeAuxIds()
Returns the number of free ids in the auxilliary range defined for use by the current database. |
java.math.BigDecimal |
numFreeIds()
Returns the number of free ids in the range defined for use by the current database. |
java.math.BigDecimal |
numFreeMainIds()
Returns the number of free ids in the main range defined for use by the current database. |
void |
setAuxIdBlock(java.math.BigDecimal startId,
java.math.BigDecimal maxId)
Sets the auxilliary block in the database. |
void |
setMainIdBlock(java.math.BigDecimal startId,
java.math.BigDecimal maxId)
Sets the main block in the database. |
Methods inherited from class oracle.jbo.server.ContainerObjectImpl |
---|
addContainerListener, removeContainerListener |
Methods inherited from class oracle.jbo.server.NamedObjectImpl |
---|
setParent, setPropertiesMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.ComponentObject |
---|
getFullName, getName |
Methods inherited from interface oracle.jbo.GenericHints |
---|
getHintValue, getLabel, getLabelPlural, getTooltip |
Methods inherited from interface oracle.jbo.Properties |
---|
getProperties, getProperty, getProperty, refreshProperty |
Methods inherited from interface oracle.jbo.VariableManagerOwner |
---|
getName |
Field Detail |
---|
public static final java.lang.Object sCacheLock
Constructor Detail |
---|
public RowIdAMImpl()
Method Detail |
---|
public ViewObjectImpl getRowIdViewObj()
public java.math.BigDecimal getNextId()
public java.math.BigDecimal getBlock(java.math.BigDecimal blockSize)
blockSize
- the size of the row id block
public java.math.BigDecimal numFreeIds()
public java.math.BigDecimal numFreeMainIds()
public java.math.BigDecimal numFreeAuxIds()
public void setMainIdBlock(java.math.BigDecimal startId, java.math.BigDecimal maxId)
startId
- The starting id of the main block.maxId
- The maximum id of the main block.public void setAuxIdBlock(java.math.BigDecimal startId, java.math.BigDecimal maxId)
startId
- The starting id of the aux block.maxId
- The maximum id of the aux block
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |