25#include <com/sun/star/beans/PropertyAttribute.hpp>
34using namespace ::
cppu;
63 return css::uno::Sequence<sal_Int8>();
68 return ::comphelper::concatSequences(
70 ODataSettings::getTypes( )
81 &m_sElementName,
cppu::UnoType<
decltype(m_sElementName)>::get());
90 &m_sUpdateTableName,
cppu::UnoType<
decltype(m_sUpdateTableName)>::get());
93 &m_sUpdateSchemaName,
cppu::UnoType<
decltype(m_sUpdateSchemaName)>::get());
96 &m_sUpdateCatalogName,
cppu::UnoType<
decltype(m_sUpdateCatalogName)>::get());
99 &m_aLayoutInformation,
cppu::UnoType<
decltype(m_aLayoutInformation)>::get());
114 Sequence< Property > aProps;
116 return new ::cppu::OPropertyArrayHelper(aProps);
121 :m_bColumnsOutOfDate(true)
128 :m_bColumnsOutOfDate(true)
198 return "com.sun.star.sdb.OQueryDescriptor";
228 OSL_FAIL(
"OQueryDescriptor_Base::createColumnDescriptor: called why?" );
::cppu::IPropertyArrayHelper * getArrayHelper()
void describeProperties(css::uno::Sequence< css::beans::Property > &_rProps) const
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
css::uno::Sequence< css::beans::PropertyValue > m_aLayoutInformation
OUString m_sUpdateSchemaName
OUString m_sUpdateTableName
OUString m_sUpdateCatalogName
void registerPropertiesFor(ODataSettings_Base *_pItem)
register the properties from the param given.
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
OQueryDescriptor_Base(::osl::Mutex &_rMutex,::cppu::OWeakObject &_rMySelf)
virtual void refreshColumns() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
void setColumnsOutOfDate(bool _bOutOfDate=true)
virtual rtl::Reference< OColumn > createColumn(const OUString &_rName) const override
creates an OColumn object which should represent the column with a given name
virtual void rebuildColumns()
rebuild our columns set
void implAppendColumn(const OUString &_rName, OColumn *_pColumn)
virtual void columnAppended(const css::uno::Reference< css::beans::XPropertySet > &_rxSourceDescriptor) override
notifies that a column, created from a column descriptor, has been appended
virtual css::uno::Reference< css::beans::XPropertySet > createColumnDescriptor() override
creates a column descriptor object.
virtual OUString SAL_CALL getImplementationName() override
virtual ~OQueryDescriptor_Base()
virtual void columnDropped(const OUString &_sName) override
notifies that a column with a given name has been dropped
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getColumns() override
std::unique_ptr< OColumns > m_pColumns
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual ~OQueryDescriptor() override
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const override
void registerProperties()
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
#define PROPERTY_ID_ESCAPE_PROCESSING
#define PROPERTY_ID_UPDATE_CATALOGNAME
#define PROPERTY_ID_UPDATE_SCHEMANAME
#define PROPERTY_ID_COMMAND
#define PROPERTY_ID_UPDATE_TABLENAME
#define PROPERTY_ID_LAYOUTINFORMATION
constexpr OUStringLiteral PROPERTY_COMMAND(u"Command")
constexpr OUStringLiteral PROPERTY_UPDATE_TABLENAME(u"UpdateTableName")
constexpr OUStringLiteral SERVICE_SDB_QUERYDESCRIPTOR
constexpr OUStringLiteral PROPERTY_UPDATE_SCHEMANAME(u"UpdateSchemaName")
constexpr OUStringLiteral PROPERTY_ESCAPE_PROCESSING(u"EscapeProcessing")
constexpr OUStringLiteral SERVICE_SDB_DATASETTINGS
constexpr OUStringLiteral PROPERTY_NAME(u"Name")
constexpr OUStringLiteral PROPERTY_UPDATE_CATALOGNAME(u"UpdateCatalogName")
constexpr OUStringLiteral PROPERTY_LAYOUTINFORMATION(u"LayoutInformation")
#define IMPLEMENT_FORWARD_XINTERFACE3(classname, refcountbase, baseclass2, baseclass3)