28 #ifndef __HTTPAssetLinkResourceStateUpdater__ 29 #define __HTTPAssetLinkResourceStateUpdater__ 31 #include "CPMUnknown.h" 33 #include "IBoolData.h" 34 #include "ILinkResource.h" 35 #include "ILinkResourceStateUpdater.h" 36 #include "IHTTPLinkResourceServerAPIWrapper.h" 38 #include "HTTPLinkSubsystemTypes.h" 99 virtual ErrorCode UpdateLinkResourceState(
const UIDRef& resourceRef,
bool bNotify,
bool async);
106 static WideString CreateResourceStamp(
const URI& uri,
const IHTTPLinkResourceServerAPIWrapper::AssetStatusWithMetadataPtr& assetMetaData);
114 static void InvalidateCacheIfStale(
URI uri, IHTTPLinkResourceServerAPIWrapper::AssetMetadataPtr assetMetadata);
117 static void CheckAndInvalidateCache(
InterfacePtr<ILinkResource> iLinkResource, IHTTPLinkResourceServerAPIWrapper::AssetStatusWithMetadataPtr assetStatusWithMetadataPtr,
bool renditionUri =
true);
119 #ifdef UPDATELINKS_ASYNC 126 virtual bool16 DoesSupportUpdateResourceStateThroughAsyncWorkManager(
const UIDRef& resourceRef)
137 virtual ErrorCode UpdateResourceStateAsyncWithPacketID(
const UIDRef& resourceRef, bool16 bCheckOutstandingPackets, AsyncWorkPacketID& packetID)
139 ASSERT_FAIL(
"Doesn't support UpdateResourceStateAsyncWithPacketID");
154 virtual ErrorCode ResolveResourceAsync(
const UIDRef& resourceRef,
const URI& relativeURI,
bool bIgnoreStamp, bool16* statusBoolPtr, bool16 bCheckOutstandingPackets, AsyncWorkPacketID& packetID)
162 #endif // __HTTPAssetLinkResourceStateUpdater__