1 17 18 package org.sape.carbon.services.uniqueid; 19 20 21 import org.sape.carbon.core.component.ComponentConfiguration; 22 import org.sape.carbon.services.sql.StatementFactory; 23 import org.sape.carbon.services.sql.connection.ConnectionFactory; 24 25 33 public interface UniqueIDServiceConfiguration 34 extends ComponentConfiguration { 35 36 37 long InitialBlockStart = 0; 38 39 46 long getInitialBlockStart(); 47 48 55 void setInitialBlockStart(long startValue); 56 57 62 String getIDName(); 63 64 69 void setIDName(String name); 70 71 72 long BlockSize = 100; 73 74 80 long getBlockSize(); 81 82 88 void setBlockSize(long size); 89 90 91 boolean AutoCreate = true; 92 93 99 boolean isAutoCreate(); 100 101 107 void setAutoCreate(boolean autoCreate); 108 109 115 StatementFactory getStatementFactory(); 116 117 123 void setStatementFactory(StatementFactory factory); 124 125 126 132 ConnectionFactory getConnectionFactory(); 133 134 140 void setConnectionFactory(ConnectionFactory factory); 141 142 143 String RetrieveStatementName = "RetrieveUniqueID"; 144 145 151 String getRetrieveStatementName(); 152 153 159 void setRetrieveStatementName(String name); 160 161 162 String UpdateStatementName = "UpdateUniqueID"; 163 164 170 String getUpdateStatementName(); 171 172 178 void setUpdateStatementName(String name); 179 180 181 String CreateStatementName = "CreateUniqueID"; 182 183 189 String getCreateStatementName(); 190 191 197 void setCreateStatementName(String name); 198 199 } | Popular Tags |