|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MasterTable
The master table used to store the Attributes of entries.
| Field Summary | |
|---|---|
static java.lang.String |
DBF
the name of the dbf file for this table |
static java.lang.String |
SEQPROP_KEY
the sequence key - stores last sequence value in the admin table |
| Method Summary | |
|---|---|
javax.naming.directory.Attributes |
delete(java.lang.Object id)
Deletes a entry from the master table at an index specified by id. |
javax.naming.directory.Attributes |
get(java.lang.Object id)
Gets the Attributes of an entry from this MasterTable. |
java.lang.Object |
getCurrentId()
Get's the current id value from this master database's sequence without affecting the seq. |
java.lang.Object |
getNextId()
Get's the next value from this SequenceBDb. |
java.lang.String |
getProperty(java.lang.String property)
Gets a persistant property stored in the admin table of this MasterTable. |
javax.naming.directory.Attributes |
put(javax.naming.directory.Attributes entry,
java.lang.Object id)
Puts the Attributes of an entry into this master table at an index specified by id. |
void |
setProperty(java.lang.String property,
java.lang.String value)
Sets a persistant property stored in the admin table of this MasterTable. |
| Methods inherited from interface org.apache.directory.server.core.partition.impl.btree.Table |
|---|
close, count, count, count, getComparator, getName, getRenderer, has, has, has, has, isDupsEnabled, isSortedDupsEnabled, listTuples, listTuples, listTuples, listTuples, listValues, put, put, remove, remove, remove, setRenderer |
| Field Detail |
|---|
static final java.lang.String DBF
static final java.lang.String SEQPROP_KEY
| Method Detail |
|---|
javax.naming.directory.Attributes get(java.lang.Object id)
throws javax.naming.NamingException
get in interface Tableid - the BigInteger id of the entry to retrieve.
javax.naming.NamingException - if there is a read error on the underlying Db.
javax.naming.directory.Attributes put(javax.naming.directory.Attributes entry,
java.lang.Object id)
throws javax.naming.NamingException
entry - the Attributes of entry w/ operational attributesid - the BigInteger id of the entry to put
javax.naming.NamingException - if there is a write error on the underlying Db.
javax.naming.directory.Attributes delete(java.lang.Object id)
throws javax.naming.NamingException
id - the BigInteger id of the entry to delete
javax.naming.NamingException - if there is a write error on the underlying Db
java.lang.Object getCurrentId()
throws javax.naming.NamingException
javax.naming.NamingException - if the admin table storing sequences cannot be
read.
java.lang.Object getNextId()
throws javax.naming.NamingException
javax.naming.NamingException - if the admin table storing sequences cannot be
read and writen to.
java.lang.String getProperty(java.lang.String property)
throws javax.naming.NamingException
property - the key of the property to get the value of
javax.naming.NamingException - when the underlying admin table cannot be read
void setProperty(java.lang.String property,
java.lang.String value)
throws javax.naming.NamingException
property - the key of the property to set the value ofvalue - the value of the property
javax.naming.NamingException - when the underlying admin table cannot be writen
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||