palio.connectors
Class MSSQLConnector

java.lang.Object
  extended by palio.connectors.Connector
      extended by palio.connectors.PooledConnector
          extended by palio.connectors.SQLConnector
              extended by palio.connectors.SQLPalioConnector
                  extended by palio.connectors.MSSQLConnector
All Implemented Interfaces:
BasicPalioConnectable, DedicatedConnectionSupport, PalioConnectable, SQLConnectable, SQLConnectableExt, Constants
Direct Known Subclasses:
MSSQL2k5Connector, MSSQL2kConnector

public abstract class MSSQLConnector
extends SQLPalioConnector

Version:
2.1.1
Author:
Mateusz Gembarzewski, Krzysztof Madyniak

Nested Class Summary
 
Nested classes/interfaces inherited from interface palio.connectors.SQLConnectable
SQLConnectable.QueryReader
 
Field Summary
 
Fields inherited from interface palio.connectors.SQLConnectable
DB2, GENERIC, HIBERNATE, HSQL, MSSQL, MYSQL, ORACLE, PALIO, POSTGRESQL, SYBASE
 
Fields inherited from interface palio.Constants
DECIMAL_ZERO, INTEGER_ONE, LONG_MINUS_ONE, LONG_ONE, LONG_THREE, LONG_TWO, LONG_ZERO, STRING_EMPTY
 
Method Summary
 java.lang.Long getFreePrivID()
           
 java.lang.Long getFreeRegionID()
           
 java.lang.Long getFreeRoleID()
           
 java.lang.Long getFreeSessionID()
           
 java.lang.Long getFreeUserID()
           
 java.lang.Long getSequence(java.lang.String sequenceName)
           
 int getType()
           
 boolean needWriteLob()
           
 void putMedia(PMedia media)
           
 void putObject(PObject object)
           
 
Methods inherited from class palio.connectors.SQLPalioConnector
activateSession, addAccessPrivToPage, addObjectToFeature, addPrivToRole, addRoleToUser, addSessionParam, addUser, closeSession, createFeature, createFeature, createOrUpdateDatabaseForModule, createPriv, createRegion, createRole, createRole, delAccessPrivFromPage, deleteFeature, deleteObjectFromFeature, deletePriv, deleteRegion, deleteRole, getAllFeatures, getAllMedia, getAllObjects, getAllPages, getAllPrivs, getAllRoles, getFeature, getFeature, getFeaturesList, getFreeFeatureID, getGenerator, getMedia, getMimeType, getObject, getPage, getPriv, getPriv, getPrivsList, getRegion, getRegion, getRole, getRole, getRolePrivs, getRolesList, getRolesRegionsForUser, getSession, getTreeType, getUser, getUser, getUsers, loadConfig, loadSessions, lockUser, putSession, removeRoleFromUser, removeRoleFromUser, removeUser, remPrivFromRole, setConfig, setSessionRegion, setUserSession, unlockUser, updateDatabase, updateFeature, updateRole, updateSessionParam, updateUser, visitingPage
 
Methods inherited from class palio.connectors.SQLConnector
commit, debugInit, debugSave, dedicatedCommit, dedicatedRollback, dedicatedStart, dedicatedStop, executeFunction, executePL_SQL, executeProcedure, fastRead, getConnectorTypes, getInfo, getMetaData, getOutTypeParamForClass, getResultSet, getResultSetMetaData, info, init, isNoTransaction, isTransaction, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, readAsMaps, readAsMaps, readAsMaps, readAsMaps, readAsMaps, readAsMaps, readAsMaps, readLine, readLine, readLine, readLineAsMap, readLineAsMap, readLineAsMap, rollback, transactionStart, transactionStop, write, write, write, writeLob, writeLob
 
Methods inherited from class palio.connectors.PooledConnector
BusyChecker, clearThreadResources, close, DedicateChecker, FreeChecker, refresh
 
Methods inherited from class palio.connectors.Connector
getConnector, getInstance, getName, getUrl, init, setDedicatedLogConfiguration, setInstance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface palio.connectors.SQLConnectable
commit, executeFunction, executePL_SQL, executeProcedure, fastRead, getMetaData, getName, getResultSet, getResultSetMetaData, getUrl, isNoTransaction, isTransaction, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, readAsMaps, readAsMaps, readAsMaps, readAsMaps, readAsMaps, readAsMaps, readAsMaps, readLine, readLine, readLine, readLineAsMap, readLineAsMap, readLineAsMap, rollback, transactionStart, transactionStop, write, write, write, writeLob, writeLob
 
Methods inherited from interface palio.connectors.BasicPalioConnectable
getName
 

Method Detail

getType

public int getType()

getFreeSessionID

public java.lang.Long getFreeSessionID()
                                throws palio.PalioException
Specified by:
getFreeSessionID in interface BasicPalioConnectable
Overrides:
getFreeSessionID in class SQLPalioConnector
Throws:
palio.PalioException

getFreeRegionID

public java.lang.Long getFreeRegionID()
                               throws palio.PalioException
Specified by:
getFreeRegionID in interface BasicPalioConnectable
Overrides:
getFreeRegionID in class SQLPalioConnector
Throws:
palio.PalioException

getFreeUserID

public java.lang.Long getFreeUserID()
                             throws palio.PalioException
Specified by:
getFreeUserID in interface BasicPalioConnectable
Overrides:
getFreeUserID in class SQLPalioConnector
Throws:
palio.PalioException

getFreeRoleID

public java.lang.Long getFreeRoleID()
                             throws palio.PalioException
Specified by:
getFreeRoleID in interface BasicPalioConnectable
Overrides:
getFreeRoleID in class SQLPalioConnector
Throws:
palio.PalioException

getFreePrivID

public java.lang.Long getFreePrivID()
                             throws palio.PalioException
Specified by:
getFreePrivID in interface BasicPalioConnectable
Overrides:
getFreePrivID in class SQLPalioConnector
Throws:
palio.PalioException

needWriteLob

public boolean needWriteLob()

getSequence

public java.lang.Long getSequence(java.lang.String sequenceName)
                           throws palio.PalioException
Throws:
palio.PalioException

putMedia

public void putMedia(PMedia media)
              throws palio.PalioException
Specified by:
putMedia in interface BasicPalioConnectable
Overrides:
putMedia in class SQLPalioConnector
Throws:
palio.PalioException

putObject

public void putObject(PObject object)
               throws palio.PalioException
Specified by:
putObject in interface BasicPalioConnectable
Overrides:
putObject in class SQLPalioConnector
Throws:
palio.PalioException