23#include <rtl/ustring.hxx>
26#include <com/sun/star/uno/XInterface.hpp>
27#include <com/sun/star/lang/XComponent.hpp>
28#include <com/sun/star/ucb/XCommandProcessor.hpp>
29#include <com/sun/star/beans/XPropertiesChangeNotifier.hpp>
30#include <com/sun/star/ucb/XContent.hpp>
31#include <com/sun/star/ucb/XDynamicResultSet.hpp>
32#include <com/sun/star/lang/XServiceInfo.hpp>
33#include <com/sun/star/sdbc/XRow.hpp>
34#include <com/sun/star/beans/Property.hpp>
35#include <com/sun/star/beans/PropertyValue.hpp>
36#include <com/sun/star/ucb/XCommandInfo.hpp>
37#include <com/sun/star/ucb/InsertCommandArgument.hpp>
38#include <com/sun/star/beans/XPropertySetInfo.hpp>
39#include <com/sun/star/beans/XPropertyContainer.hpp>
40#include <com/sun/star/beans/XPropertySetInfoChangeNotifier.hpp>
41#include <com/sun/star/beans/XPropertySetInfoChangeListener.hpp>
42#include <com/sun/star/container/XChild.hpp>
43#include <com/sun/star/ucb/XContentCreator.hpp>
44#include <com/sun/star/ucb/OpenCommandArgument2.hpp>
45#include <com/sun/star/ucb/TransferInfo.hpp>
55 public cppu::WeakImplHelper<
56 css::lang::XComponent,
57 css::lang::XServiceInfo,
58 css::ucb::XCommandProcessor,
59 css::beans::XPropertiesChangeNotifier,
60 css::beans::XPropertyContainer,
61 css::beans::XPropertySetInfoChangeNotifier,
62 css::ucb::XContentCreator,
63 css::container::XChild,
77 const css::uno::Reference< css::ucb::XContentIdentifier >& xContentIdentifier,
88 const css::uno::Reference< css::lang::XEventListener >& xListener )
override;
91 removeEventListener(
const css::uno::Reference< css::lang::XEventListener >& aListener )
override;
95 virtual OUString SAL_CALL
101 virtual css::uno::Sequence< OUString > SAL_CALL
106 virtual sal_Int32 SAL_CALL
109 virtual css::uno::Any SAL_CALL
111 const css::ucb::Command& aCommand,
113 const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment )
override;
115 virtual void SAL_CALL
116 abort( sal_Int32 CommandId )
override;
120 virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL
123 virtual OUString SAL_CALL
126 virtual void SAL_CALL
128 const css::uno::Reference< css::ucb::XContentEventListener >& Listener )
override;
130 virtual void SAL_CALL
132 const css::uno::Reference< css::ucb::XContentEventListener >& Listener )
override;
136 virtual void SAL_CALL
138 const css::uno::Sequence< OUString >& PropertyNames,
139 const css::uno::Reference< css::beans::XPropertiesChangeListener >& Listener )
override;
141 virtual void SAL_CALL
143 const css::uno::Reference< css::beans::XPropertiesChangeListener >& Listener )
override;
147 virtual void SAL_CALL
149 const OUString& Name,
150 sal_Int16 Attributes,
151 const css::uno::Any& DefaultValue )
override;
153 virtual void SAL_CALL
158 virtual void SAL_CALL
160 const css::uno::Reference< css::beans::XPropertySetInfoChangeListener >& Listener )
override;
162 virtual void SAL_CALL
164 const css::uno::Reference< css::beans::XPropertySetInfoChangeListener >& Listener )
override;
169 virtual css::uno::Sequence< css::ucb::ContentInfo > SAL_CALL
172 virtual css::uno::Reference< css::ucb::XContent > SAL_CALL
177 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
181 virtual void SAL_CALL
182 setParent(
const css::uno::Reference< css::uno::XInterface >& Parent )
override;
187 std::optional<ContentEventNotifier>
cDEL()
override;
188 std::optional<ContentEventNotifier>
cEXC(
const OUString& aNewName )
override;
189 std::optional<ContentEventNotifier>
cCEL()
override;
190 std::optional<PropertySetInfoChangeNotifier>
cPSL()
override;
191 std::optional<PropertyChangeNotifier>
cPCL()
override;
215 css::uno::Reference< css::ucb::XCommandInfo >
219 css::uno::Reference< css::beans::XPropertySetInfo >
223 css::uno::Reference< css::sdbc::XRow >
225 sal_Int32 nMyCommandIdentifier,
226 const css::uno::Sequence< css::beans::Property >& PropertySet );
228 css::uno::Sequence< css::uno::Any >
230 sal_Int32 nMyCommandIdentifier,
231 const css::uno::Sequence< css::beans::PropertyValue >& Values );
233 css::uno::Reference< css::ucb::XDynamicResultSet >
235 sal_Int32 nMyCommandIdentifier,
236 const css::ucb::OpenCommandArgument2& aCommandArgument );
243 transfer( sal_Int32 nMyCommandIdentifier,
244 const css::ucb::TransferInfo& aTransferInfo );
247 insert( sal_Int32 nMyCommandIdentifier,
248 const css::ucb::InsertCommandArgument& aInsertArgument );
250 void endTask( sal_Int32 CommandId );
std::unique_ptr< PropertyListeners > m_pPropertyListener
void endTask(sal_Int32 CommandId)
css::uno::Reference< css::ucb::XDynamicResultSet > open(sal_Int32 nMyCommandIdentifier, const css::ucb::OpenCommandArgument2 &aCommandArgument)
virtual void SAL_CALL removePropertySetInfoChangeListener(const css::uno::Reference< css::beans::XPropertySetInfoChangeListener > &Listener) override
virtual css::uno::Any SAL_CALL execute(const css::ucb::Command &aCommand, sal_Int32 CommandId, const css::uno::Reference< css::ucb::XCommandEnvironment > &Environment) override
void deleteContent(sal_Int32 nMyCommandIdentifier)
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL createNewContent(const css::ucb::ContentInfo &Info) override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
css::uno::Sequence< css::uno::Any > setPropertyValues(sal_Int32 nMyCommandIdentifier, const css::uno::Sequence< css::beans::PropertyValue > &Values)
std::optional< PropertySetInfoChangeNotifier > cPSL() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
comphelper::OInterfaceContainerHelper4< css::ucb::XContentEventListener > m_aContentEventListeners
void insert(sal_Int32 nMyCommandIdentifier, const css::ucb::InsertCommandArgument &aInsertArgument)
BaseContent(TaskManager *pMyShell, OUString parentName, bool bFolder)
virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL getIdentifier() override
virtual void SAL_CALL removePropertiesChangeListener(const css::uno::Sequence< OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) override
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aDisposeEventListeners
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL addContentEventListener(const css::uno::Reference< css::ucb::XContentEventListener > &Listener) override
virtual ~BaseContent() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual sal_Int32 SAL_CALL createCommandIdentifier() override
virtual void SAL_CALL abort(sal_Int32 CommandId) override
std::optional< ContentEventNotifier > cCEL() override
std::optional< PropertyChangeNotifier > cPCL() override
css::uno::Reference< css::ucb::XCommandInfo > getCommandInfo()
comphelper::OInterfaceContainerHelper4< css::beans::XPropertySetInfoChangeListener > m_aPropertySetInfoChangeListeners
std::optional< ContentEventNotifier > cEXC(const OUString &aNewName) override
virtual void SAL_CALL addProperty(const OUString &Name, sal_Int16 Attributes, const css::uno::Any &DefaultValue) override
std::optional< ContentEventNotifier > cDEL() override
virtual void SAL_CALL removeProperty(const OUString &Name) override
virtual void SAL_CALL addPropertySetInfoChangeListener(const css::uno::Reference< css::beans::XPropertySetInfoChangeListener > &Listener) override
virtual css::uno::Sequence< css::ucb::ContentInfo > SAL_CALL queryCreatableContentsInfo() override
virtual void SAL_CALL setParent(const css::uno::Reference< css::uno::XInterface > &Parent) override
virtual void SAL_CALL dispose() override
void transfer(sal_Int32 nMyCommandIdentifier, const css::ucb::TransferInfo &aTransferInfo)
css::uno::Reference< css::sdbc::XRow > getPropertyValues(sal_Int32 nMyCommandIdentifier, const css::uno::Sequence< css::beans::Property > &PropertySet)
virtual void SAL_CALL removeContentEventListener(const css::uno::Reference< css::ucb::XContentEventListener > &Listener) override
virtual OUString SAL_CALL getContentType() override
BaseContent(TaskManager *pMyShell, const css::uno::Reference< css::ucb::XContentIdentifier > &xContentIdentifier, OUString aUnqPath)
virtual void SAL_CALL addPropertiesChangeListener(const css::uno::Sequence< OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent() override
css::uno::Reference< css::ucb::XContentIdentifier > m_xContentIdentifier
css::uno::Reference< css::beans::XPropertySetInfo > getPropertySetInfo()