Lines Matching refs:m_pImpl

239 : m_pImpl( new ResultSet_Impl(   in ResultSet()
254 : m_pImpl( new ResultSet_Impl( rxSMgr, rProperties, rDataSupplier, rxEnv ) ) in ResultSet()
263 delete m_pImpl; in ~ResultSet()
320 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in dispose()
322 if ( m_pImpl->m_pDisposeEventListeners && in dispose()
323 m_pImpl->m_pDisposeEventListeners->getLength() ) in dispose()
327 m_pImpl->m_pDisposeEventListeners->disposeAndClear( aEvt ); in dispose()
330 if ( m_pImpl->m_pPropertyChangeListeners ) in dispose()
334 m_pImpl->m_pPropertyChangeListeners->disposeAndClear( aEvt ); in dispose()
337 m_pImpl->m_xDataSupplier->close(); in dispose()
346 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in addEventListener()
348 if ( !m_pImpl->m_pDisposeEventListeners ) in addEventListener()
349 m_pImpl->m_pDisposeEventListeners = in addEventListener()
350 new cppu::OInterfaceContainerHelper( m_pImpl->m_aMutex ); in addEventListener()
352 m_pImpl->m_pDisposeEventListeners->addInterface( Listener ); in addEventListener()
361 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in removeEventListener()
363 if ( m_pImpl->m_pDisposeEventListeners ) in removeEventListener()
364 m_pImpl->m_pDisposeEventListeners->removeInterface( Listener ); in removeEventListener()
377 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in getMetaData()
379 if ( !m_pImpl->m_xMetaData.is() ) in getMetaData()
380 m_pImpl->m_xMetaData = new ResultSetMetaData( m_pImpl->m_xSMgr, in getMetaData()
381 m_pImpl->m_aProperties ); in getMetaData()
383 return m_pImpl->m_xMetaData; in getMetaData()
399 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in next()
401 if ( m_pImpl->m_bAfterLast ) in next()
403 m_pImpl->m_xDataSupplier->validate(); in next()
408 if ( !m_pImpl->m_xDataSupplier->getResult( m_pImpl->m_nPos ) ) in next()
410 m_pImpl->m_bAfterLast = sal_True; in next()
411 m_pImpl->m_xDataSupplier->validate(); in next()
415 m_pImpl->m_nPos++; in next()
416 m_pImpl->m_xDataSupplier->validate(); in next()
425 if ( m_pImpl->m_bAfterLast ) in isBeforeFirst()
427 m_pImpl->m_xDataSupplier->validate(); in isBeforeFirst()
432 if ( !m_pImpl->m_xDataSupplier->getResult( 0 ) ) in isBeforeFirst()
434 m_pImpl->m_xDataSupplier->validate(); in isBeforeFirst()
438 m_pImpl->m_xDataSupplier->validate(); in isBeforeFirst()
439 return ( m_pImpl->m_nPos == 0 ); in isBeforeFirst()
447 m_pImpl->m_xDataSupplier->validate(); in isAfterLast()
448 return m_pImpl->m_bAfterLast; in isAfterLast()
456 if ( m_pImpl->m_bAfterLast ) in isFirst()
458 m_pImpl->m_xDataSupplier->validate(); in isFirst()
462 m_pImpl->m_xDataSupplier->validate(); in isFirst()
463 return ( m_pImpl->m_nPos == 1 ); in isFirst()
471 if ( m_pImpl->m_bAfterLast ) in isLast()
473 m_pImpl->m_xDataSupplier->validate(); in isLast()
477 sal_Int32 nCount = m_pImpl->m_xDataSupplier->totalCount(); in isLast()
480 m_pImpl->m_xDataSupplier->validate(); in isLast()
484 m_pImpl->m_xDataSupplier->validate(); in isLast()
485 return ( m_pImpl->m_nPos == nCount ); in isLast()
493 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in beforeFirst()
494 m_pImpl->m_bAfterLast = sal_False; in beforeFirst()
495 m_pImpl->m_nPos = 0; in beforeFirst()
496 m_pImpl->m_xDataSupplier->validate(); in beforeFirst()
504 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in afterLast()
505 m_pImpl->m_bAfterLast = sal_True; in afterLast()
506 m_pImpl->m_xDataSupplier->validate(); in afterLast()
515 if ( m_pImpl->m_xDataSupplier->getResult( 0 ) ) in first()
517 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in first()
518 m_pImpl->m_bAfterLast = sal_False; in first()
519 m_pImpl->m_nPos = 1; in first()
520 m_pImpl->m_xDataSupplier->validate(); in first()
524 m_pImpl->m_xDataSupplier->validate(); in first()
533 sal_Int32 nCount = m_pImpl->m_xDataSupplier->totalCount(); in last()
536 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in last()
537 m_pImpl->m_bAfterLast = sal_False; in last()
538 m_pImpl->m_nPos = nCount; in last()
539 m_pImpl->m_xDataSupplier->validate(); in last()
543 m_pImpl->m_xDataSupplier->validate(); in last()
552 if ( m_pImpl->m_bAfterLast ) in getRow()
554 m_pImpl->m_xDataSupplier->validate(); in getRow()
558 m_pImpl->m_xDataSupplier->validate(); in getRow()
559 return m_pImpl->m_nPos; in getRow()
586 sal_Int32 nCount = m_pImpl->m_xDataSupplier->totalCount(); in absolute()
590 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in absolute()
591 m_pImpl->m_bAfterLast = sal_False; in absolute()
592 m_pImpl->m_nPos = 0; in absolute()
593 m_pImpl->m_xDataSupplier->validate(); in absolute()
598 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in absolute()
599 m_pImpl->m_bAfterLast = sal_False; in absolute()
600 m_pImpl->m_nPos = ( nCount + row + 1 ); in absolute()
601 m_pImpl->m_xDataSupplier->validate(); in absolute()
613 sal_Int32 nCount = m_pImpl->m_xDataSupplier->totalCount(); in absolute()
617 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in absolute()
618 m_pImpl->m_bAfterLast = sal_False; in absolute()
619 m_pImpl->m_nPos = row; in absolute()
620 m_pImpl->m_xDataSupplier->validate(); in absolute()
625 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in absolute()
626 m_pImpl->m_bAfterLast = sal_True; in absolute()
627 m_pImpl->m_xDataSupplier->validate(); in absolute()
651 if ( m_pImpl->m_bAfterLast || ( m_pImpl->m_nPos == 0 ) ) in relative()
659 if ( ( m_pImpl->m_nPos + rows ) > 0 ) in relative()
661 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in relative()
662 m_pImpl->m_bAfterLast = sal_False; in relative()
663 m_pImpl->m_nPos = ( m_pImpl->m_nPos + rows ); in relative()
664 m_pImpl->m_xDataSupplier->validate(); in relative()
669 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in relative()
670 m_pImpl->m_bAfterLast = sal_False; in relative()
671 m_pImpl->m_nPos = 0; in relative()
672 m_pImpl->m_xDataSupplier->validate(); in relative()
679 m_pImpl->m_xDataSupplier->validate(); in relative()
684 sal_Int32 nCount = m_pImpl->m_xDataSupplier->totalCount(); in relative()
685 if ( ( m_pImpl->m_nPos + rows ) <= nCount ) in relative()
687 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in relative()
688 m_pImpl->m_bAfterLast = sal_False; in relative()
689 m_pImpl->m_nPos = ( m_pImpl->m_nPos + rows ); in relative()
690 m_pImpl->m_xDataSupplier->validate(); in relative()
695 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in relative()
696 m_pImpl->m_bAfterLast = sal_True; in relative()
697 m_pImpl->m_xDataSupplier->validate(); in relative()
714 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in previous()
716 if ( m_pImpl->m_bAfterLast ) in previous()
718 m_pImpl->m_bAfterLast = sal_False; in previous()
719 sal_Int32 nCount = m_pImpl->m_xDataSupplier->totalCount(); in previous()
720 m_pImpl->m_nPos = nCount; in previous()
722 else if ( m_pImpl->m_nPos ) in previous()
723 m_pImpl->m_nPos--; in previous()
725 if ( m_pImpl->m_nPos ) in previous()
727 m_pImpl->m_xDataSupplier->validate(); in previous()
731 m_pImpl->m_xDataSupplier->validate(); in previous()
740 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in refreshRow()
741 if ( m_pImpl->m_bAfterLast || ( m_pImpl->m_nPos == 0 ) ) in refreshRow()
744 m_pImpl->m_xDataSupplier->releasePropertyValues( m_pImpl->m_nPos ); in refreshRow()
745 m_pImpl->m_xDataSupplier->validate(); in refreshRow()
753 m_pImpl->m_xDataSupplier->validate(); in rowUpdated()
762 m_pImpl->m_xDataSupplier->validate(); in rowInserted()
771 m_pImpl->m_xDataSupplier->validate(); in rowDeleted()
784 m_pImpl->m_xDataSupplier->validate(); in getStatement()
802 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in wasNull()
805 = m_pImpl->m_xDataSupplier->queryPropertyValues( in wasNull()
806 m_pImpl->m_nPos - 1 ); in wasNull()
809 m_pImpl->m_xDataSupplier->validate(); in wasNull()
814 m_pImpl->m_xDataSupplier->validate(); in wasNull()
815 return m_pImpl->m_bWasNull; in wasNull()
823 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getString()
826 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getString()
827 m_pImpl->m_nPos - 1 ); in getString()
830 m_pImpl->m_bWasNull = sal_False; in getString()
831 m_pImpl->m_xDataSupplier->validate(); in getString()
836 m_pImpl->m_bWasNull = sal_True; in getString()
837 m_pImpl->m_xDataSupplier->validate(); in getString()
846 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getBoolean()
849 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getBoolean()
850 m_pImpl->m_nPos - 1 ); in getBoolean()
853 m_pImpl->m_bWasNull = sal_False; in getBoolean()
854 m_pImpl->m_xDataSupplier->validate(); in getBoolean()
859 m_pImpl->m_bWasNull = sal_True; in getBoolean()
860 m_pImpl->m_xDataSupplier->validate(); in getBoolean()
869 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getByte()
872 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getByte()
873 m_pImpl->m_nPos - 1 ); in getByte()
876 m_pImpl->m_bWasNull = sal_False; in getByte()
877 m_pImpl->m_xDataSupplier->validate(); in getByte()
882 m_pImpl->m_bWasNull = sal_True; in getByte()
883 m_pImpl->m_xDataSupplier->validate(); in getByte()
892 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getShort()
895 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getShort()
896 m_pImpl->m_nPos - 1 ); in getShort()
899 m_pImpl->m_bWasNull = sal_False; in getShort()
900 m_pImpl->m_xDataSupplier->validate(); in getShort()
905 m_pImpl->m_bWasNull = sal_True; in getShort()
906 m_pImpl->m_xDataSupplier->validate(); in getShort()
915 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getInt()
918 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getInt()
919 m_pImpl->m_nPos - 1 ); in getInt()
922 m_pImpl->m_bWasNull = sal_False; in getInt()
923 m_pImpl->m_xDataSupplier->validate(); in getInt()
928 m_pImpl->m_bWasNull = sal_True; in getInt()
929 m_pImpl->m_xDataSupplier->validate(); in getInt()
938 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getLong()
941 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getLong()
942 m_pImpl->m_nPos - 1 ); in getLong()
945 m_pImpl->m_bWasNull = sal_False; in getLong()
946 m_pImpl->m_xDataSupplier->validate(); in getLong()
951 m_pImpl->m_bWasNull = sal_True; in getLong()
952 m_pImpl->m_xDataSupplier->validate(); in getLong()
961 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getFloat()
964 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getFloat()
965 m_pImpl->m_nPos - 1 ); in getFloat()
968 m_pImpl->m_bWasNull = sal_False; in getFloat()
969 m_pImpl->m_xDataSupplier->validate(); in getFloat()
974 m_pImpl->m_bWasNull = sal_True; in getFloat()
975 m_pImpl->m_xDataSupplier->validate(); in getFloat()
984 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getDouble()
987 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getDouble()
988 m_pImpl->m_nPos - 1 ); in getDouble()
991 m_pImpl->m_bWasNull = sal_False; in getDouble()
992 m_pImpl->m_xDataSupplier->validate(); in getDouble()
997 m_pImpl->m_bWasNull = sal_True; in getDouble()
998 m_pImpl->m_xDataSupplier->validate(); in getDouble()
1008 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getBytes()
1011 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getBytes()
1012 m_pImpl->m_nPos - 1 ); in getBytes()
1015 m_pImpl->m_bWasNull = sal_False; in getBytes()
1016 m_pImpl->m_xDataSupplier->validate(); in getBytes()
1021 m_pImpl->m_bWasNull = sal_True; in getBytes()
1022 m_pImpl->m_xDataSupplier->validate(); in getBytes()
1031 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getDate()
1034 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getDate()
1035 m_pImpl->m_nPos - 1 ); in getDate()
1038 m_pImpl->m_bWasNull = sal_False; in getDate()
1039 m_pImpl->m_xDataSupplier->validate(); in getDate()
1044 m_pImpl->m_bWasNull = sal_True; in getDate()
1045 m_pImpl->m_xDataSupplier->validate(); in getDate()
1054 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getTime()
1057 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getTime()
1058 m_pImpl->m_nPos - 1 ); in getTime()
1061 m_pImpl->m_bWasNull = sal_False; in getTime()
1062 m_pImpl->m_xDataSupplier->validate(); in getTime()
1067 m_pImpl->m_bWasNull = sal_True; in getTime()
1068 m_pImpl->m_xDataSupplier->validate(); in getTime()
1078 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getTimestamp()
1081 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getTimestamp()
1082 m_pImpl->m_nPos - 1 ); in getTimestamp()
1085 m_pImpl->m_bWasNull = sal_False; in getTimestamp()
1086 m_pImpl->m_xDataSupplier->validate(); in getTimestamp()
1091 m_pImpl->m_bWasNull = sal_True; in getTimestamp()
1092 m_pImpl->m_xDataSupplier->validate(); in getTimestamp()
1102 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getBinaryStream()
1105 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getBinaryStream()
1106 m_pImpl->m_nPos - 1 ); in getBinaryStream()
1109 m_pImpl->m_bWasNull = sal_False; in getBinaryStream()
1110 m_pImpl->m_xDataSupplier->validate(); in getBinaryStream()
1115 m_pImpl->m_bWasNull = sal_True; in getBinaryStream()
1116 m_pImpl->m_xDataSupplier->validate(); in getBinaryStream()
1126 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getCharacterStream()
1129 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getCharacterStream()
1130 m_pImpl->m_nPos - 1 ); in getCharacterStream()
1133 m_pImpl->m_bWasNull = sal_False; in getCharacterStream()
1134 m_pImpl->m_xDataSupplier->validate(); in getCharacterStream()
1139 m_pImpl->m_bWasNull = sal_True; in getCharacterStream()
1140 m_pImpl->m_xDataSupplier->validate(); in getCharacterStream()
1151 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getObject()
1154 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getObject()
1155 m_pImpl->m_nPos - 1 ); in getObject()
1158 m_pImpl->m_bWasNull = sal_False; in getObject()
1159 m_pImpl->m_xDataSupplier->validate(); in getObject()
1164 m_pImpl->m_bWasNull = sal_True; in getObject()
1165 m_pImpl->m_xDataSupplier->validate(); in getObject()
1175 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getRef()
1178 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getRef()
1179 m_pImpl->m_nPos - 1 ); in getRef()
1182 m_pImpl->m_bWasNull = sal_False; in getRef()
1183 m_pImpl->m_xDataSupplier->validate(); in getRef()
1188 m_pImpl->m_bWasNull = sal_True; in getRef()
1189 m_pImpl->m_xDataSupplier->validate(); in getRef()
1199 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getBlob()
1202 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getBlob()
1203 m_pImpl->m_nPos - 1 ); in getBlob()
1206 m_pImpl->m_bWasNull = sal_False; in getBlob()
1207 m_pImpl->m_xDataSupplier->validate(); in getBlob()
1212 m_pImpl->m_bWasNull = sal_True; in getBlob()
1213 m_pImpl->m_xDataSupplier->validate(); in getBlob()
1223 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getClob()
1226 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getClob()
1227 m_pImpl->m_nPos - 1 ); in getClob()
1230 m_pImpl->m_bWasNull = sal_False; in getClob()
1231 m_pImpl->m_xDataSupplier->validate(); in getClob()
1236 m_pImpl->m_bWasNull = sal_True; in getClob()
1237 m_pImpl->m_xDataSupplier->validate(); in getClob()
1247 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in getArray()
1250 = m_pImpl->m_xDataSupplier->queryPropertyValues( in getArray()
1251 m_pImpl->m_nPos - 1 ); in getArray()
1254 m_pImpl->m_bWasNull = sal_False; in getArray()
1255 m_pImpl->m_xDataSupplier->validate(); in getArray()
1260 m_pImpl->m_bWasNull = sal_True; in getArray()
1261 m_pImpl->m_xDataSupplier->validate(); in getArray()
1275 m_pImpl->m_xDataSupplier->close(); in close()
1276 m_pImpl->m_xDataSupplier->validate(); in close()
1289 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in queryContentIdentifierString()
1290 return m_pImpl->m_xDataSupplier->queryContentIdentifierString( in queryContentIdentifierString()
1291 m_pImpl->m_nPos - 1 ); in queryContentIdentifierString()
1302 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in queryContentIdentifier()
1303 return m_pImpl->m_xDataSupplier->queryContentIdentifier( in queryContentIdentifier()
1304 m_pImpl->m_nPos - 1 ); in queryContentIdentifier()
1315 if ( m_pImpl->m_nPos && !m_pImpl->m_bAfterLast ) in queryContent()
1316 return m_pImpl->m_xDataSupplier->queryContent( m_pImpl->m_nPos - 1 ); in queryContent()
1332 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in getPropertySetInfo()
1334 if ( !m_pImpl->m_xPropSetInfo.is() ) in getPropertySetInfo()
1335 m_pImpl->m_xPropSetInfo in getPropertySetInfo()
1336 = new PropertySetInfo( m_pImpl->m_xSMgr, in getPropertySetInfo()
1339 return m_pImpl->m_xPropSetInfo; in getPropertySetInfo()
1389 aValue <<= m_pImpl->m_xDataSupplier->currentCount(); in getPropertyValue()
1394 aValue <<= m_pImpl->m_xDataSupplier->isCountFinal(); in getPropertyValue()
1415 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in addPropertyChangeListener()
1424 if ( !m_pImpl->m_pPropertyChangeListeners ) in addPropertyChangeListener()
1425 m_pImpl->m_pPropertyChangeListeners in addPropertyChangeListener()
1426 = new PropertyChangeListeners( m_pImpl->m_aMutex ); in addPropertyChangeListener()
1428 m_pImpl->m_pPropertyChangeListeners->addInterface( in addPropertyChangeListener()
1441 osl::MutexGuard aGuard( m_pImpl->m_aMutex ); in removePropertyChangeListener()
1450 if ( m_pImpl->m_pPropertyChangeListeners ) in removePropertyChangeListener()
1451 m_pImpl->m_pPropertyChangeListeners->removeInterface( in removePropertyChangeListener()
1488 if ( !m_pImpl->m_pPropertyChangeListeners ) in propertyChanged()
1493 = m_pImpl->m_pPropertyChangeListeners->getContainer( in propertyChanged()
1509 = m_pImpl->m_pPropertyChangeListeners->getContainer( rtl::OUString() ); in propertyChanged()
1528 if ( !m_pImpl->m_pPropertyChangeListeners ) in rowCountChanged()
1544 if ( !m_pImpl->m_pPropertyChangeListeners ) in rowCountFinal()
1560 return m_pImpl->m_aProperties; in getProperties()
1567 return m_pImpl->m_xEnv; in getEnvironment()