LibreOffice Module ucb (master) 1
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
http_dav_ucp::Content Class Reference

#include <webdavcontent.hxx>

Inheritance diagram for http_dav_ucp::Content:
[legend]
Collaboration diagram for http_dav_ucp::Content:
[legend]

Public Member Functions

 Content (const css::uno::Reference< css::uno::XComponentContext > &rxContext, ContentProvider *pProvider, const css::uno::Reference< css::ucb::XContentIdentifier > &Identifier, rtl::Reference< DAVSessionFactory > const &rSessionFactory)
 
 Content (const css::uno::Reference< css::uno::XComponentContext > &rxContext, ContentProvider *pProvider, const css::uno::Reference< css::ucb::XContentIdentifier > &Identifier, rtl::Reference< DAVSessionFactory > const &rSessionFactory, bool isCollection)
 
virtual ~Content () 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
 
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 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 css::uno::Sequence< css::ucb::ContentInfo > SAL_CALL queryCreatableContentsInfo () override
 
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL createNewContent (const css::ucb::ContentInfo &Info) override
 
DAVResourceAccessgetResourceAccess ()
 
void getResourceOptions (const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv, DAVOptions &rDAVOptions, const std::unique_ptr< DAVResourceAccess > &rResAccess, bool *networkAccessAllowed=nullptr)
 Use OPTIONS method to retrieve the type of the Web resource. More...
 
- 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
 

Static Public Member Functions

static css::uno::Reference< css::sdbc::XRow > getPropertyValues (const css::uno::Reference< css::uno::XComponentContext > &rContext, const css::uno::Sequence< css::beans::Property > &rProperties, const ContentProperties &rData, const rtl::Reference< ::ucbhelper::ContentProviderImplHelper > &rProvider, const OUString &rContentId)
 
static bool isResourceAvailable (const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv, const std::unique_ptr< DAVResourceAccess > &rResAccess, DAVOptions &rDAVOptions)
 
static void removeCachedPropertyNames (const OUString &rURL)
 

Private Types

enum  ResourceType {
  UNKNOWN ,
  NOT_FOUND ,
  NON_DAV ,
  DAV ,
  DAV_NOLOCK
}
 
typedef rtl::Reference< ContentContentRef
 
typedef std::vector< ContentRefContentRefList
 

Private Member Functions

void initOptsCacheLifeTime ()
 
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
 
bool isFolder (const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv)
 
css::uno::Reference< css::sdbc::XRow > getPropertyValues (const css::uno::Sequence< css::beans::Property > &rProperties, const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv)
 
css::uno::Sequence< css::uno::Any > setPropertyValues (const css::uno::Sequence< css::beans::PropertyValue > &rValues, const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv)
 
void queryChildren (ContentRefList &rChildren)
 
bool exchangeIdentity (const css::uno::Reference< css::ucb::XContentIdentifier > &xNewId)
 
OUString getBaseURI (const std::unique_ptr< DAVResourceAccess > &rResAccess)
 
ResourceType getResourceType (const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv)
 
ResourceType getResourceType (const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv, const std::unique_ptr< DAVResourceAccess > &rResAccess, bool *networkAccessAllowed=nullptr)
 
css::uno::Any open (const css::ucb::OpenCommandArgument3 &rArg, const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv)
 
void post (const css::ucb::PostCommandArgument2 &rArg, const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv)
 
void insert (const css::uno::Reference< css::io::XInputStream > &xInputStream, bool bReplaceExisting, const css::uno::Reference< css::ucb::XCommandEnvironment > &Environment)
 
void transfer (const css::ucb::TransferInfo &rArgs, const css::uno::Reference< css::ucb::XCommandEnvironment > &Environment)
 
void destroy (bool bDeletePhysical)
 
void lock (const css::uno::Reference< css::ucb::XCommandEnvironment > &Environment)
 
void unlock (const css::uno::Reference< css::ucb::XCommandEnvironment > &Environment)
 
css::uno::Any MapDAVException (const DAVException &e, bool bWrite)
 
void cancelCommandExecution (const DAVException &e, const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv, bool bWrite=false)
 
ResourceType resourceTypeForLocks (const css::uno::Reference< css::ucb::XCommandEnvironment > &rEnvironment, const std::unique_ptr< DAVResourceAccess > &rResAccess)
 
ResourceType resourceTypeForLocks (const css::uno::Reference< css::ucb::XCommandEnvironment > &rEnvironment)
 
void addProperty (const css::ucb::PropertyCommandArgument &aCmdArg, const css::uno::Reference< css::ucb::XCommandEnvironment > &Environment)
 
void removeProperty (const OUString &Name, const css::uno::Reference< css::ucb::XCommandEnvironment > &Environment)
 

Static Private Member Functions

static bool shouldAccessNetworkAfterException (const DAVException &e)
 

Private Attributes

std::unique_ptr< DAVResourceAccessm_xResAccess
 
std::unique_ptr< CachableContentPropertiesm_xCachedProps
 
OUString m_aEscapedTitle
 
ResourceType m_eResourceType
 
ResourceType m_eResourceTypeForLocks
 
ContentProviderm_pProvider
 
bool m_bTransient
 
bool const m_bCollection
 
bool m_bDidGetOrHead
 
std::vector< OUString > m_aFailedPropNames
 
sal_uInt32 m_nOptsCacheLifeImplWeb
 
sal_uInt32 m_nOptsCacheLifeDAV
 
sal_uInt32 m_nOptsCacheLifeDAVLocked
 
sal_uInt32 m_nOptsCacheLifeNotImpl
 
sal_uInt32 m_nOptsCacheLifeNotFound
 

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< ContentProviderImplHelperm_xProvider
 
sal_uInt32 m_nCommandId
 

Detailed Description

Definition at line 64 of file webdavcontent.hxx.

Member Typedef Documentation

◆ ContentRef

Definition at line 126 of file webdavcontent.hxx.

◆ ContentRefList

typedef std::vector< ContentRef > http_dav_ucp::Content::ContentRefList
private

Definition at line 127 of file webdavcontent.hxx.

Member Enumeration Documentation

◆ ResourceType

Enumerator
UNKNOWN 
NOT_FOUND 
NON_DAV 
DAV 
DAV_NOLOCK 

Definition at line 67 of file webdavcontent.hxx.

Constructor & Destructor Documentation

◆ Content() [1/2]

http_dav_ucp::Content::Content ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
ContentProvider pProvider,
const css::uno::Reference< css::ucb::XContentIdentifier > &  Identifier,
rtl::Reference< DAVSessionFactory > const &  rSessionFactory 
)
Exceptions
css::ucb::ContentCreationException

◆ Content() [2/2]

http_dav_ucp::Content::Content ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
ContentProvider pProvider,
const css::uno::Reference< css::ucb::XContentIdentifier > &  Identifier,
rtl::Reference< DAVSessionFactory > const &  rSessionFactory,
bool  isCollection 
)
Exceptions
css::ucb::ContentCreationException

◆ ~Content()

Content::~Content ( )
overridevirtual

Definition at line 261 of file webdavcontent.cxx.

Member Function Documentation

◆ abort()

void SAL_CALL Content::abort ( sal_Int32  CommandId)
overridevirtual

◆ acquire()

void SAL_CALL Content::acquire ( )
overridevirtualnoexcept

Reimplemented from ucbhelper::ContentImplHelper.

Definition at line 270 of file webdavcontent.cxx.

◆ addProperty() [1/2]

void http_dav_ucp::Content::addProperty ( const css::ucb::PropertyCommandArgument &  aCmdArg,
const css::uno::Reference< css::ucb::XCommandEnvironment > &  Environment 
)
private
Exceptions
css::beans::PropertyExistException
css::beans::IllegalTypeException
css::lang::IllegalArgumentException
css::uno::RuntimeException

◆ addProperty() [2/2]

virtual void SAL_CALL http_dav_ucp::Content::addProperty ( const OUString &  Name,
sal_Int16  Attributes,
const css::uno::Any &  DefaultValue 
)
overridevirtual

Reimplemented from ucbhelper::ContentImplHelper.

◆ cancelCommandExecution()

void Content::cancelCommandExecution ( const DAVException e,
const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv,
bool  bWrite = false 
)
private
Exceptions
css::uno::Exception

Definition at line 3718 of file webdavcontent.cxx.

References ucbhelper::cancelCommandExecution(), and MapDAVException().

Referenced by post().

◆ createNewContent()

virtual css::uno::Reference< css::ucb::XContent > SAL_CALL http_dav_ucp::Content::createNewContent ( const css::ucb::ContentInfo &  Info)
overridevirtual

◆ destroy()

void Content::destroy ( bool  bDeletePhysical)
private
Exceptions
css::uno::Exception

Definition at line 2971 of file webdavcontent.cxx.

References ucbhelper::ContentImplHelper::deleted(), ucbhelper::ContentImplHelper::m_aMutex, and queryChildren().

◆ exchangeIdentity()

bool http_dav_ucp::Content::exchangeIdentity ( const css::uno::Reference< css::ucb::XContentIdentifier > &  xNewId)
private

◆ execute()

virtual css::uno::Any SAL_CALL http_dav_ucp::Content::execute ( const css::ucb::Command &  aCommand,
sal_Int32  CommandId,
const css::uno::Reference< css::ucb::XCommandEnvironment > &  Environment 
)
overridevirtual

◆ getBaseURI()

OUString Content::getBaseURI ( const std::unique_ptr< DAVResourceAccess > &  rResAccess)
private

Definition at line 3729 of file webdavcontent.cxx.

References ucbhelper::ContentImplHelper::m_aMutex, and m_xCachedProps.

◆ getCommands()

virtual css::uno::Sequence< css::ucb::CommandInfo > http_dav_ucp::Content::getCommands ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv)
overrideprivatevirtual

◆ getContentType()

OUString SAL_CALL Content::getContentType ( )
overridevirtual

◆ getImplementationId()

virtual css::uno::Sequence< sal_Int8 > SAL_CALL http_dav_ucp::Content::getImplementationId ( )
overridevirtual

Reimplemented from ucbhelper::ContentImplHelper.

◆ getImplementationName()

OUString SAL_CALL Content::getImplementationName ( )
overridevirtual

Implements ucbhelper::ContentImplHelper.

Definition at line 386 of file webdavcontent.cxx.

◆ getParentURL()

OUString Content::getParentURL ( )
overrideprivatevirtual

Implements ucbhelper::ContentImplHelper.

Definition at line 1157 of file webdavcontent.cxx.

References aURL, ucbhelper::ContentImplHelper::m_xIdentifier, and nPos.

Referenced by MapDAVException().

◆ getProperties()

virtual css::uno::Sequence< css::beans::Property > http_dav_ucp::Content::getProperties ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv)
overrideprivatevirtual

◆ getPropertyValues() [1/2]

static css::uno::Reference< css::sdbc::XRow > http_dav_ucp::Content::getPropertyValues ( const css::uno::Reference< css::uno::XComponentContext > &  rContext,
const css::uno::Sequence< css::beans::Property > &  rProperties,
const ContentProperties rData,
const rtl::Reference< ::ucbhelper::ContentProviderImplHelper > &  rProvider,
const OUString &  rContentId 
)
static

◆ getPropertyValues() [2/2]

css::uno::Reference< css::sdbc::XRow > http_dav_ucp::Content::getPropertyValues ( const css::uno::Sequence< css::beans::Property > &  rProperties,
const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv 
)
private
Exceptions
css::uno::Exception

Referenced by http_dav_ucp::DataSupplier::queryPropertyValues().

◆ getResourceAccess()

DAVResourceAccess & http_dav_ucp::Content::getResourceAccess ( )
inline

Definition at line 278 of file webdavcontent.hxx.

References m_xResAccess.

◆ getResourceOptions()

void Content::getResourceOptions ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv,
DAVOptions rDAVOptions,
const std::unique_ptr< DAVResourceAccess > &  rResAccess,
bool *  networkAccessAllowed = nullptr 
)

Use OPTIONS method to retrieve the type of the Web resource.

Exceptions
css::uno::Exception

Definition at line 4002 of file webdavcontent.cxx.

References http_dav_ucp::DAVOptionsCache::addDAVOptions(), aStaticDAVOptionsCache, aTargetURL, http_dav_ucp::DAVException::DAV_HTTP_AUTH, http_dav_ucp::DAVException::DAV_HTTP_AUTHPROXY, http_dav_ucp::DAVException::DAV_HTTP_CONNECT, http_dav_ucp::DAVException::DAV_HTTP_ERROR, http_dav_ucp::DAVException::DAV_HTTP_LOOKUP, http_dav_ucp::DAVException::DAV_HTTP_NOAUTH, http_dav_ucp::DAVException::DAV_HTTP_REDIRECT, http_dav_ucp::DAVException::DAV_HTTP_TIMEOUT, http_dav_ucp::DAVException::getData(), http_dav_ucp::DAVOptionsCache::getDAVOptions(), http_dav_ucp::DAVException::getError(), http_dav_ucp::DAVOptions::getHttpResponseStatusCode(), http_dav_ucp::DAVException::getStatus(), http_dav_ucp::DAVOptions::isClass1(), http_dav_ucp::DAVOptions::isClass2(), http_dav_ucp::DAVOptions::isClass3(), http_dav_ucp::DAVOptions::isLocked(), isResourceAvailable(), m_nOptsCacheLifeDAV, m_nOptsCacheLifeDAVLocked, m_nOptsCacheLifeImplWeb, m_nOptsCacheLifeNotFound, m_nOptsCacheLifeNotImpl, ucbhelper::ContentImplHelper::m_xIdentifier, http_dav_ucp::DAVOptionsCache::removeDAVOptions(), SAL_WARN, http_dav_ucp::SC_BAD_REQUEST, http_dav_ucp::SC_FORBIDDEN, http_dav_ucp::SC_GONE, http_dav_ucp::SC_INTERNAL_SERVER_ERROR, http_dav_ucp::SC_METHOD_NOT_ALLOWED, http_dav_ucp::SC_NOT_FOUND, http_dav_ucp::SC_NOT_IMPLEMENTED, http_dav_ucp::DAVOptions::setHttpResponseStatusCode(), http_dav_ucp::DAVOptions::setHttpResponseStatusText(), http_dav_ucp::DAVOptions::setRedirectedURL(), http_dav_ucp::DAVOptions::setURL(), shouldAccessNetworkAfterException(), http_dav_ucp::USC_AUTH_FAILED, http_dav_ucp::USC_AUTHPROXY_FAILED, http_dav_ucp::USC_CONNECTION_TIMED_OUT, and http_dav_ucp::USC_LOOKUP_FAILED.

◆ getResourceType() [1/2]

ResourceType http_dav_ucp::Content::getResourceType ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv)
private
Exceptions
css::uno::Exception

◆ getResourceType() [2/2]

ResourceType http_dav_ucp::Content::getResourceType ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv,
const std::unique_ptr< DAVResourceAccess > &  rResAccess,
bool *  networkAccessAllowed = nullptr 
)
private
Exceptions
css::uno::Exception

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL Content::getSupportedServiceNames ( )
overridevirtual

◆ getTypes()

uno::Sequence< uno::Type > SAL_CALL Content::getTypes ( )
overridevirtual

Reimplemented from ucbhelper::ContentImplHelper.

Definition at line 330 of file webdavcontent.cxx.

References CPPU_TYPE_REF, cppu::OTypeCollection::getTypes(), and isFolder().

◆ initOptsCacheLifeTime()

void Content::initOptsCacheLifeTime ( )
private

◆ insert()

void http_dav_ucp::Content::insert ( const css::uno::Reference< css::io::XInputStream > &  xInputStream,
bool  bReplaceExisting,
const css::uno::Reference< css::ucb::XCommandEnvironment > &  Environment 
)
private
Exceptions
css::uno::Exception

◆ isFolder()

bool http_dav_ucp::Content::isFolder ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv)
private
Exceptions
css::uno::Exception

Referenced by getContentType(), and getTypes().

◆ isResourceAvailable()

bool Content::isResourceAvailable ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv,
const std::unique_ptr< DAVResourceAccess > &  rResAccess,
DAVOptions rDAVOptions 
)
static

◆ lock()

void http_dav_ucp::Content::lock ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  Environment)
private
Exceptions
css::uno::Exception

◆ MapDAVException()

uno::Any Content::MapDAVException ( const DAVException e,
bool  bWrite 
)
private

◆ open()

css::uno::Any http_dav_ucp::Content::open ( const css::ucb::OpenCommandArgument3 &  rArg,
const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv 
)
private
Exceptions
css::uno::Exception

◆ post()

void Content::post ( const css::ucb::PostCommandArgument2 &  rArg,
const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv 
)
private

◆ queryChildren()

void Content::queryChildren ( ContentRefList rChildren)
private

◆ queryCreatableContentsInfo()

uno::Sequence< ucb::ContentInfo > SAL_CALL Content::queryCreatableContentsInfo ( )
overridevirtual

◆ queryInterface()

virtual css::uno::Any SAL_CALL http_dav_ucp::Content::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Reimplemented from ucbhelper::ContentImplHelper.

◆ release()

void SAL_CALL Content::release ( )
overridevirtualnoexcept

Reimplemented from ucbhelper::ContentImplHelper.

Definition at line 277 of file webdavcontent.cxx.

◆ removeCachedPropertyNames()

void Content::removeCachedPropertyNames ( const OUString &  rURL)
static

◆ removeProperty() [1/2]

void SAL_CALL Content::removeProperty ( const OUString &  Name)
overridevirtual

Reimplemented from ucbhelper::ContentImplHelper.

Definition at line 1060 of file webdavcontent.cxx.

References Name, and removeProperty().

◆ removeProperty() [2/2]

void http_dav_ucp::Content::removeProperty ( const OUString &  Name,
const css::uno::Reference< css::ucb::XCommandEnvironment > &  Environment 
)
private
Exceptions
css::beans::PropertyExistException
css::beans::NotRemoveableException
css::uno::RuntimeException

Referenced by removeProperty().

◆ resourceTypeForLocks() [1/2]

ResourceType http_dav_ucp::Content::resourceTypeForLocks ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  rEnvironment)
private

◆ resourceTypeForLocks() [2/2]

ResourceType http_dav_ucp::Content::resourceTypeForLocks ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  rEnvironment,
const std::unique_ptr< DAVResourceAccess > &  rResAccess 
)
private

◆ setPropertyValues()

css::uno::Sequence< css::uno::Any > http_dav_ucp::Content::setPropertyValues ( const css::uno::Sequence< css::beans::PropertyValue > &  rValues,
const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv 
)
private
Exceptions
css::uno::Exception

◆ shouldAccessNetworkAfterException()

bool Content::shouldAccessNetworkAfterException ( const DAVException e)
staticprivate

◆ transfer()

void http_dav_ucp::Content::transfer ( const css::ucb::TransferInfo &  rArgs,
const css::uno::Reference< css::ucb::XCommandEnvironment > &  Environment 
)
private
Exceptions
css::uno::Exception

◆ unlock()

void http_dav_ucp::Content::unlock ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  Environment)
private
Exceptions
css::uno::Exception

Member Data Documentation

◆ m_aEscapedTitle

OUString http_dav_ucp::Content::m_aEscapedTitle
private

Definition at line 78 of file webdavcontent.hxx.

Referenced by MapDAVException().

◆ m_aFailedPropNames

std::vector< OUString > http_dav_ucp::Content::m_aFailedPropNames
private

Definition at line 87 of file webdavcontent.hxx.

◆ m_bCollection

bool const http_dav_ucp::Content::m_bCollection
private

Definition at line 85 of file webdavcontent.hxx.

◆ m_bDidGetOrHead

bool http_dav_ucp::Content::m_bDidGetOrHead
private

Definition at line 86 of file webdavcontent.hxx.

◆ m_bTransient

bool http_dav_ucp::Content::m_bTransient
private

Definition at line 84 of file webdavcontent.hxx.

Referenced by MapDAVException().

◆ m_eResourceType

ResourceType http_dav_ucp::Content::m_eResourceType
private

Definition at line 80 of file webdavcontent.hxx.

◆ m_eResourceTypeForLocks

ResourceType http_dav_ucp::Content::m_eResourceTypeForLocks
private

Definition at line 82 of file webdavcontent.hxx.

◆ m_nOptsCacheLifeDAV

sal_uInt32 http_dav_ucp::Content::m_nOptsCacheLifeDAV
private

Definition at line 92 of file webdavcontent.hxx.

Referenced by getResourceOptions(), and initOptsCacheLifeTime().

◆ m_nOptsCacheLifeDAVLocked

sal_uInt32 http_dav_ucp::Content::m_nOptsCacheLifeDAVLocked
private

Definition at line 94 of file webdavcontent.hxx.

Referenced by getResourceOptions(), and initOptsCacheLifeTime().

◆ m_nOptsCacheLifeImplWeb

sal_uInt32 http_dav_ucp::Content::m_nOptsCacheLifeImplWeb
private

Definition at line 90 of file webdavcontent.hxx.

Referenced by getResourceOptions(), and initOptsCacheLifeTime().

◆ m_nOptsCacheLifeNotFound

sal_uInt32 http_dav_ucp::Content::m_nOptsCacheLifeNotFound
private

Definition at line 102 of file webdavcontent.hxx.

Referenced by getResourceOptions(), and initOptsCacheLifeTime().

◆ m_nOptsCacheLifeNotImpl

sal_uInt32 http_dav_ucp::Content::m_nOptsCacheLifeNotImpl
private

Definition at line 98 of file webdavcontent.hxx.

Referenced by getResourceOptions(), and initOptsCacheLifeTime().

◆ m_pProvider

ContentProvider* http_dav_ucp::Content::m_pProvider
private

Definition at line 83 of file webdavcontent.hxx.

Referenced by queryCreatableContentsInfo().

◆ m_xCachedProps

std::unique_ptr< CachableContentProperties > http_dav_ucp::Content::m_xCachedProps
private

Definition at line 77 of file webdavcontent.hxx.

Referenced by getBaseURI().

◆ m_xResAccess

std::unique_ptr< DAVResourceAccess > http_dav_ucp::Content::m_xResAccess
private

Definition at line 76 of file webdavcontent.hxx.

Referenced by abort(), getResourceAccess(), and post().


The documentation for this class was generated from the following files: