1 package com.daffodilwoods.daffodildb.server.sessionsystem; 2 3 import com.daffodilwoods.daffodildb.server.serversystem.*; 4 import com.daffodilwoods.database.resource.*; 5 import com.daffodilwoods.database.general.*; 6 import com.daffodilwoods.daffodildb.server.datadictionarysystem.*; 7 import java.util.TimeZone ; 8 import java.util.Vector ; 9 import java.sql.*; 10 import java.util.ArrayList ; 11 public interface _UserSession { 12 13 14 19 public void startSavePoint() throws DException ; 20 21 26 public _Session getSession() throws DException ; 27 28 33 public Object getTransactionAccessMode() throws DException; 34 35 40 public _PrivilegeCharacteristics getPrivilegeCharacteristics() throws DException ; 41 42 48 public _UserSessionTable getUserSessionTable(QualifiedIdentifier tableName ) throws DException; 49 50 56 public void commit(_StatementExecutionContext statementExecutionContext ) throws DException; 57 58 64 public void rollback(_StatementExecutionContext statementExecutionContext) throws DException; 65 66 67 72 public String getCurrentRole() throws DException ; 73 74 79 public String getCurrentUser() throws DException ; 80 81 87 public boolean isEnabledAuthorizationIdentifier(String authorizationIdentifier) throws DException ; 88 89 94 public String getAuthorizationIdentifier() throws DException ; 95 96 101 public void setTransactionMode( SessionTransactionMode sessionTransactionMode ) throws DException ; 102 103 108 public SessionTransactionMode getTransactionMode() throws DException ; 109 110 115 public ArrayList getSavePointVector() throws DException ; 116 117 public void addSavePoint( Object obj) throws DException ; 118 119 124 125 130 131 135 public void releaseLastSavePoint() throws DException ; 136 137 141 public Date getDate() throws DException ; 142 143 147 public int getMonth() throws DException ; 148 149 153 public Time getTime() throws DException ; 154 155 159 public int getYear() throws DException ; 160 161 162 166 public int getHour() throws DException ; 167 168 172 public int getMinutes() throws DException ; 173 174 178 public int getSeconds() throws DException ; 179 180 184 public TimeZone getTimeZone() throws DException ; 185 186 public void setConstraintStatus(Object constraintName, String mode) throws DException ; 187 public java.sql.Timestamp getTimeStamp( ) throws DException ; 188 189 194 public String getUserName() throws DException ; 195 196 201 public Object getSessionConstant() throws DException ; 202 203 208 public _ServerSession getGlobalSession() throws DException ; 209 210 216 boolean prepare(_StatementExecutionContext statementExecutionContext) throws DException; 217 218 224 boolean makePersistent(_StatementExecutionContext statementExecutionContext) throws DException; 225 226 230 void removeAllTables()throws DException; 231 232 237 public void setAuthorizationIdentifier(String user) throws DException; 238 239 244 public void setPrivilegeCharacteristics(_PrivilegeCharacteristics priCharacteristics)throws DException; 245 246 252 public void commitSavePoint(_StatementExecutionContext statementExecutionContext ) throws DException; 253 254 260 public void rollbackSavePoint(_StatementExecutionContext statementExecutionContext) throws DException; 261 public void releaseSavePoint(_StatementExecutionContext statementExecutionContext) throws DException; 262 public void hideSavePoint() throws DException; 263 public void unhideSavePoint() throws DException; 264 public void ignoreParallelSavePoint() throws DException ; 265 public void allowParallelSavePoint() throws DException ; 266 public void checkImmediateConstraintsOnCommit() throws DException; 267 public void setRole(String roleName) throws DException; 268 public void setAutoCommit(boolean autoCommit0) ; 269 public boolean getAutoCommit() ; 270 public void startTransaction() throws DException; 271 272 } 273 | Popular Tags |