1 17 package org.apache.ldap.server.db; 18 19 20 import javax.naming.NamingException ; 21 import javax.naming.directory.Attributes ; 22 import java.math.BigInteger ; 23 24 25 31 public interface MasterTable extends Table 32 { 33 34 String DBF = "master"; 35 36 37 String SEQPROP_KEY = "__sequence__"; 38 39 46 Attributes get( BigInteger id ) throws NamingException ; 47 48 58 Attributes put( Attributes entry, BigInteger id ) throws NamingException ; 59 60 67 Attributes delete( BigInteger id ) throws NamingException ; 68 69 77 BigInteger getCurrentId() throws NamingException ; 78 79 87 BigInteger getNextId() throws NamingException ; 88 89 96 String getProperty( String property ) throws NamingException ; 97 98 105 void setProperty( String property, String value ) throws NamingException ; 106 } | Popular Tags |