LibreOffice Module ucb (master) 1
|
#include <cmis_repo_content.hxx>
Public Member Functions | |
RepoContent (const css::uno::Reference< css::uno::XComponentContext > &rxContext, ContentProvider *pProvider, const css::uno::Reference< css::ucb::XContentIdentifier > &Identifier, std::vector< libcmis::RepositoryPtr > &&aRepos=std::vector< libcmis::RepositoryPtr >()) | |
virtual | ~RepoContent () override |
virtual css::uno::Sequence< css::beans::Property > | getProperties (const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv) override |
virtual css::uno::Sequence< css::ucb::CommandInfo > | getCommands (const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv) override |
virtual OUString | getParentURL () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual OUString SAL_CALL | getContentType () 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 |
virtual void SAL_CALL | abort (sal_Int32 CommandId) override |
virtual std::vector< css::uno::Reference< css::ucb::XContent > > | getChildren () override |
Public Member Functions inherited from ucbhelper::ContentImplHelper | |
ContentImplHelper (css::uno::Reference< css::uno::XComponentContext > xContext, rtl::Reference< ContentProviderImplHelper > xProvider, css::uno::Reference< css::ucb::XContentIdentifier > Identifier) | |
virtual | ~ContentImplHelper () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual OUString SAL_CALL | getImplementationName () override=0 |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override=0 |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &Listener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &Listener) override |
virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL | getIdentifier () override |
virtual OUString SAL_CALL | getContentType () override=0 |
virtual void SAL_CALL | addContentEventListener (const css::uno::Reference< css::ucb::XContentEventListener > &Listener) override |
virtual void SAL_CALL | removeContentEventListener (const css::uno::Reference< css::ucb::XContentEventListener > &Listener) override |
virtual sal_Int32 SAL_CALL | createCommandIdentifier () 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=0 |
virtual void SAL_CALL | abort (sal_Int32 CommandId) override=0 |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) override |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Sequence< OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) override |
virtual void SAL_CALL | addCommandInfoChangeListener (const css::uno::Reference< css::ucb::XCommandInfoChangeListener > &Listener) override |
virtual void SAL_CALL | removeCommandInfoChangeListener (const css::uno::Reference< css::ucb::XCommandInfoChangeListener > &Listener) override |
virtual void SAL_CALL | addProperty (const OUString &Name, sal_Int16 Attributes, const css::uno::Any &DefaultValue) 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 void SAL_CALL | removePropertySetInfoChangeListener (const css::uno::Reference< css::beans::XPropertySetInfoChangeListener > &Listener) override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getParent () override |
virtual void SAL_CALL | setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override |
const rtl::Reference< ContentProviderImplHelper > & | getProvider () const |
Public Member Functions inherited from cmis::ChildrenProvider | |
virtual | ~ChildrenProvider () |
virtual std::vector< css::uno::Reference< css::ucb::XContent > > | getChildren ()=0 |
Private Member Functions | |
css::uno::Any | getBadArgExcept () |
css::uno::Reference< css::sdbc::XRow > | getPropertyValues (const css::uno::Sequence< css::beans::Property > &rProperties, const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv) |
void | getRepositories (const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv) |
libcmis::RepositoryPtr | getRepository (const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv) |
Private Attributes | |
ContentProvider * | m_pProvider |
URL | m_aURL |
OUString | m_sRepositoryId |
std::vector< libcmis::RepositoryPtr > | m_aRepositories |
Additional Inherited Members | |
Protected Member Functions inherited from ucbhelper::ContentImplHelper | |
css::uno::Reference< css::beans::XPropertySetInfo > | getPropertySetInfo (const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv, bool bCache=true) |
css::uno::Reference< css::ucb::XCommandInfo > | getCommandInfo (const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv, bool bCache=true) |
void | notifyPropertiesChange (const css::uno::Sequence< css::beans::PropertyChangeEvent > &evt) const |
void | notifyPropertySetInfoChange (const css::beans::PropertySetInfoChangeEvent &evt) const |
void | notifyContentEvent (const css::ucb::ContentEvent &evt) const |
void | inserted () |
void | deleted () |
bool | exchange (const css::uno::Reference< css::ucb::XContentIdentifier > &rNewId) |
css::uno::Reference< css::ucb::XPersistentPropertySet > | getAdditionalPropertySet (bool bCreate) |
bool | renameAdditionalPropertySet (const OUString &rOldKey, const OUString &rNewKey) |
bool | copyAdditionalPropertySet (const OUString &rSourceKey, const OUString &rTargetKey) |
bool | removeAdditionalPropertySet () |
Protected Attributes inherited from ucbhelper::ContentImplHelper | |
osl::Mutex | m_aMutex |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
css::uno::Reference< css::ucb::XContentIdentifier > | m_xIdentifier |
rtl::Reference< ContentProviderImplHelper > | m_xProvider |
sal_uInt32 | m_nCommandId |
Definition at line 47 of file cmis_repo_content.hxx.
cmis::RepoContent::RepoContent | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext, |
ContentProvider * | pProvider, | ||
const css::uno::Reference< css::ucb::XContentIdentifier > & | Identifier, | ||
std::vector< libcmis::RepositoryPtr > && | aRepos = std::vector< libcmis::RepositoryPtr > ( ) |
||
) |
css::ucb::ContentCreationException |
Definition at line 51 of file cmis_repo_content.cxx.
References cmis::URL::getObjectPath(), Identifier, m_aURL, m_aURL, m_sRepositoryId, ucbhelper::ContentImplHelper::m_xIdentifier, and SAL_INFO.
Referenced by getChildren().
|
overridevirtual |
Definition at line 68 of file cmis_repo_content.cxx.
|
overridevirtual |
Implements ucbhelper::ContentImplHelper.
Definition at line 365 of file cmis_repo_content.cxx.
References SAL_INFO.
|
overridevirtual |
Implements ucbhelper::ContentImplHelper.
Definition at line 325 of file cmis_repo_content.cxx.
References aCommand, ucbhelper::cancelCommandExecution(), getBadArgExcept(), ucbhelper::ContentImplHelper::getCommandInfo(), ucbhelper::ContentImplHelper::getPropertySetInfo(), getPropertyValues(), getRepositories(), ucbhelper::ContentImplHelper::m_xContext, Properties, and SAL_INFO.
|
private |
Definition at line 72 of file cmis_repo_content.cxx.
Referenced by execute().
|
overridevirtual |
Implements cmis::ChildrenProvider.
Definition at line 387 of file cmis_repo_content.cxx.
References cmis::URL::asString(), cmis::URL::getBindingUrl(), m_aRepositories, m_aURL, m_pProvider, m_sRepositoryId, ucbhelper::ContentImplHelper::m_xContext, RepoContent(), result, SAL_INFO, cmis::URL::setObjectPath(), and STD_TO_OUSTR.
|
overridevirtual |
Implements ucbhelper::ContentImplHelper.
Definition at line 270 of file cmis_repo_content.cxx.
References SAL_N_ELEMENTS.
|
overridevirtual |
Implements ucbhelper::ContentImplHelper.
Definition at line 320 of file cmis_repo_content.cxx.
References cmis::CMIS_REPO_TYPE.
|
overridevirtual |
Reimplemented from ucbhelper::ContentImplHelper.
|
overridevirtual |
Implements ucbhelper::ContentImplHelper.
Definition at line 310 of file cmis_repo_content.cxx.
|
overridevirtual |
Implements ucbhelper::ContentImplHelper.
Definition at line 299 of file cmis_repo_content.cxx.
References SAL_INFO.
|
overridevirtual |
Implements ucbhelper::ContentImplHelper.
Definition at line 247 of file cmis_repo_content.cxx.
References SAL_N_ELEMENTS.
|
private |
Definition at line 79 of file cmis_repo_content.cxx.
References getRepository(), ucbhelper::ContentImplHelper::m_xContext, SAL_INFO, and STD_TO_OUSTR.
Referenced by execute().
|
private |
Definition at line 120 of file cmis_repo_content.cxx.
References ucbhelper::InternetProxyServer::aName, cmis::AuthProvider::authenticationQuery(), ucbhelper::cancelCommandExecution(), cmis::AuthProvider::copyWebAuthCodeFallback(), cmis::URL::getBindingUrl(), INetURLObject::GetHost(), cmis::URL::getPassword(), INetURLObject::GetPort(), INetURLObject::GetProtocol(), ucbhelper::InternetProxyDecider::getProxy(), INetURLObject::GetScheme(), cmis::URL::getUsername(), m_aRepositories, m_aURL, ucbhelper::ContentImplHelper::m_xContext, ucbhelper::ContentImplHelper::m_xIdentifier, ucbhelper::InternetProxyServer::nPort, OUSTR_TO_STDSTR, SAL_INFO, and cmis::AuthProvider::setXEnv().
Referenced by execute(), and getRepository().
|
private |
Definition at line 228 of file cmis_repo_content.cxx.
References getRepositories(), m_aRepositories, and m_sRepositoryId.
Referenced by getPropertyValues().
|
overridevirtual |
Implements ucbhelper::ContentImplHelper.
Definition at line 315 of file cmis_repo_content.cxx.
|
overridevirtual |
Reimplemented from ucbhelper::ContentImplHelper.
Definition at line 371 of file cmis_repo_content.cxx.
References CPPU_TYPE_REF, and cppu::OTypeCollection::getTypes().
|
private |
Definition at line 55 of file cmis_repo_content.hxx.
Referenced by getChildren(), getRepositories(), and getRepository().
|
private |
Definition at line 52 of file cmis_repo_content.hxx.
Referenced by getChildren(), getRepositories(), and RepoContent().
|
private |
Definition at line 51 of file cmis_repo_content.hxx.
Referenced by getChildren().
|
private |
Definition at line 53 of file cmis_repo_content.hxx.
Referenced by getChildren(), getRepository(), and RepoContent().