LibreOffice Module ucb (master)  1
cmis_resultset.cxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
10 #include "cmis_datasupplier.hxx"
11 #include "cmis_resultset.hxx"
12 
13 using namespace com::sun::star::lang;
14 using namespace com::sun::star::ucb;
15 using namespace com::sun::star::uno;
16 
17 namespace cmis
18 {
19  DynamicResultSet::DynamicResultSet(
20  const Reference< XComponentContext >& rxContext,
21  ChildrenProvider* pChildrenProvider,
22  const OpenCommandArgument2& rCommand,
23  const Reference< XCommandEnvironment >& rxEnv ) :
24  ResultSetImplHelper( rxContext, rCommand ),
25  m_pChildrenProvider( pChildrenProvider ),
26  m_xEnv( rxEnv )
27  {
28  }
29 
31  {
32  m_xResultSet1 = new ::ucbhelper::ResultSet(
33  m_xContext, m_aCommand.Properties,
35  }
36 
38  {
39  initStatic();
41  }
42 }
43 
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
css::uno::Reference< css::sdbc::XResultSet > m_xResultSet2
css::ucb::OpenCommandArgument2 const m_aCommand
virtual void initDynamic() override
css::uno::Reference< css::uno::XComponentContext > m_xContext
css::uno::Reference< css::ucb::XCommandEnvironment > m_xEnv
ChildrenProvider *const m_pChildrenProvider
virtual void initStatic() override
css::uno::Reference< css::sdbc::XResultSet > m_xResultSet1