Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.0.0)

E10653-01

oracle.jbo.pcoll
Interface PersistManager

All Known Implementing Classes:
DB2PersistManager, JDBCPersistManager, JTAPersistManager, OraclePersistManager

public interface PersistManager


Field Summary
static int CLOSE_RETAIN_TABLE
           
static int INIT_TABLE_EXISTS
           
static int PCEVT_CANT_BE_PERSISTED
           
static int PCEVT_NO_PASSIVATE_NON_ZERO_LOCK
           
static int PCEVT_NO_PASSIVATE_NOT_ALL_ELEM_PERS
           
static int PCEVT_NODE_RECENTLY_USED
           
 
Method Summary
 void changeParent(long id, long parid, int collid)
           
 void close()
           
 void close(int flags)
           
 void commit()
           
 void delete(long id, int collid)
           
 void deleteAll(int collid)
           
 int getMaxTabNameLength()
           
 long getTableSignature(java.lang.String tableName)
           
 boolean holdTableName(java.lang.String tabName, boolean forCreate)
           
 void init(int flags)
           
 void insert(long id, long parid, int collid, PCollKeyInfo[] keyArr, byte[] content)
           
 void notifyPCollEvent(int id, java.lang.Object obj, java.lang.Object otherInfo)
           
 long queryNextCollectionId()
           
 long queryNextNodeId(int colId)
           
 long queryNextObjId(int colId)
           
 java.lang.Object[] retrieve(long id, int collid, boolean keyonly, long[] parentIdRet)
           
 long[] retrieveIdsWithKey(int keyId, java.lang.Object keyVal, int collid)
           
 void setCommitThreshhold(int value)
           
 void setPCollManager(PCollManager mgr)
           
 void setPersistent(boolean pers)
           
 void setTableCreated(boolean tableCreated)
           
 void setTableName(java.lang.String tabName)
           
 void update(long id, long parid, int collid, PCollKeyInfo[] keyArr, byte[] content)
           
 boolean waitForTableName(java.lang.String tabName)
           
 

Field Detail

PCEVT_NO_PASSIVATE_NON_ZERO_LOCK

static final int PCEVT_NO_PASSIVATE_NON_ZERO_LOCK
See Also:
Constant Field Values

PCEVT_NO_PASSIVATE_NOT_ALL_ELEM_PERS

static final int PCEVT_NO_PASSIVATE_NOT_ALL_ELEM_PERS
See Also:
Constant Field Values

PCEVT_CANT_BE_PERSISTED

static final int PCEVT_CANT_BE_PERSISTED
See Also:
Constant Field Values

PCEVT_NODE_RECENTLY_USED

static final int PCEVT_NODE_RECENTLY_USED
See Also:
Constant Field Values

CLOSE_RETAIN_TABLE

static final int CLOSE_RETAIN_TABLE
See Also:
Constant Field Values

INIT_TABLE_EXISTS

static final int INIT_TABLE_EXISTS
See Also:
Constant Field Values
Method Detail

getMaxTabNameLength

int getMaxTabNameLength()

setPCollManager

void setPCollManager(PCollManager mgr)

setTableName

void setTableName(java.lang.String tabName)

setCommitThreshhold

void setCommitThreshhold(int value)

holdTableName

boolean holdTableName(java.lang.String tabName,
                      boolean forCreate)

waitForTableName

boolean waitForTableName(java.lang.String tabName)

queryNextCollectionId

long queryNextCollectionId()

queryNextObjId

long queryNextObjId(int colId)

queryNextNodeId

long queryNextNodeId(int colId)

getTableSignature

long getTableSignature(java.lang.String tableName)

insert

void insert(long id,
            long parid,
            int collid,
            PCollKeyInfo[] keyArr,
            byte[] content)

update

void update(long id,
            long parid,
            int collid,
            PCollKeyInfo[] keyArr,
            byte[] content)

changeParent

void changeParent(long id,
                  long parid,
                  int collid)

delete

void delete(long id,
            int collid)

deleteAll

void deleteAll(int collid)

retrieve

java.lang.Object[] retrieve(long id,
                            int collid,
                            boolean keyonly,
                            long[] parentIdRet)

retrieveIdsWithKey

long[] retrieveIdsWithKey(int keyId,
                          java.lang.Object keyVal,
                          int collid)

commit

void commit()

close

void close()

close

void close(int flags)

init

void init(int flags)

setPersistent

void setPersistent(boolean pers)

setTableCreated

void setTableCreated(boolean tableCreated)

notifyPCollEvent

void notifyPCollEvent(int id,
                      java.lang.Object obj,
                      java.lang.Object otherInfo)

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.0.0)

E10653-01

Copyright © 1997, 2008, Oracle. All rights reserved.