InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IHTTPLinkResourceStateBatchUpdater.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Ramnik Singh
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 2016 Adobe
18 // All Rights Reserved.
19 //
20 // NOTICE: Adobe permits you to use, modify, and distribute this file in
21 // accordance with the terms of the Adobe license agreement accompanying
22 // it. If you have received this file from a source other than Adobe,
23 // then your use, modification, or distribution of it requires the prior
24 // written permission of Adobe.
25 //
26 //========================================================================================
27 
28 #ifndef __IHTTPLinkResourceStateBatchUpdater__
29 #define __IHTTPLinkResourceStateBatchUpdater__
30 
31 #include "IPMUnknown.h"
32 #include "LinksID.h"
33 #include "IHTTPLinkResourceServerAPIWrapper.h"
34 #include "UIDList.h"
35 
36 /*
37  AdobePatentID="P7137-US"
38  AdobePatentID="P7225-US"
39  AdobePatentID="P7609-US"
40  */
41 
53 {
54 public:
55  enum { kDefaultIID = IID_IHTTPLINKRESOURCESTATEBATCHUPDATER };
56 
57  /*
58  Queue the batch update request for the given Link resource UID.
59  @param resourceUID [IN] UID of the link resource who request is to be batched.
60  @param updateLinkResourceStateData [IN] Link Resource State Data.
61  @return kSuccess if operation is successful otherwise kFailure
62  */
63  virtual ErrorCode QueueLinkResourceUpdateRequestForBatch(const UID& resourceUID, const HTTPLinkSubsystemTypes::UpdateLinkResourceStateClientData& updateLinkResourceStateData) = 0;
64 };
65 
66 #endif // __IHTTPLinkResourceStateBatchUpdater__