InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICloudLibraryLinkedAssetPublicUtils Class Referenceabstract
Inheritance diagram for ICloudLibraryLinkedAssetPublicUtils:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ICLOUDLIBRARYLINKEDASSETPUBLICUTILS }
 

Public Member Functions

virtual bool IsInitialized ()=0
 Returns whether or not this utils can be used for querying information. More...
 
virtual bool DoesElementExist (const std::string &elementRef)=0
 Check whether or not the element represented with the given elementRef exists. More...
 
virtual bool16 IsCloudLibraryAsset (const UIDRef &pageItem)=0
 Check whether the page item link is a cloud library asset. More...
 
virtual bool IsElementStock (const std::string &elementRef)=0
 Check whether or not the element represented with the given elementRef is an Adobe Stock element. More...
 
virtual bool IsElementStockLicensed (const std::string &elementRef)=0
 Check whether or not the element represented with the given elementRef is a licensed Adobe Stock element. More...
 
virtual void LicenseStockElement (const std::string &elementRef)=0
 Trigger License Stock Image workflow for the Adobe Stock element represented by elementRef. Please check whether the element is unlicensed stock asset before calling this api. More...
 
virtual bool16 IsCloudScheme (const URI &uri)=0
 Check whether or not uri refers to a cloud asset. More...
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Member Function Documentation

virtual bool ICloudLibraryLinkedAssetPublicUtils::DoesElementExist (const std::string & elementRef)
pure virtual

Check whether or not the element represented with the given elementRef exists.

Parameters
[in]elementRefunique identifier of the linked library element that is queried
Returns
true if element exists, false if element cannot be found
virtual bool16 ICloudLibraryLinkedAssetPublicUtils::IsCloudLibraryAsset (const UIDRefpageItem)
pure virtual

Check whether the page item link is a cloud library asset.

Parameters
[in]pageItem: The UIDRef of the page item we are interested in.
Returns
true if the given pageItem a cloud library asset, false otherwise.
virtual bool16 ICloudLibraryLinkedAssetPublicUtils::IsCloudScheme (const URIuri)
pure virtual

Check whether or not uri refers to a cloud asset.

Parameters
[in]URIof the link resource
Returns
true if the uri refers to a cloud asset. , false otherwise.
virtual bool ICloudLibraryLinkedAssetPublicUtils::IsElementStock (const std::string & elementRef)
pure virtual

Check whether or not the element represented with the given elementRef is an Adobe Stock element.

Parameters
[in]elementRefunique identifier of the linked library element that is queried
Returns
true if element is an Adobe Stock element, false if element cannot be found or is not an Adobe Stock element.
virtual bool ICloudLibraryLinkedAssetPublicUtils::IsElementStockLicensed (const std::string & elementRef)
pure virtual

Check whether or not the element represented with the given elementRef is a licensed Adobe Stock element.

Parameters
[in]elementRefunique identifier of the linked library element that is queried
Returns
true if element is a licensed Adobe Stock element, false if element cannot be found, is not an Adobe Stock element or not licensed.
virtual bool ICloudLibraryLinkedAssetPublicUtils::IsInitialized ()
pure virtual

Returns whether or not this utils can be used for querying information.

Returns
true if the utils can used for querying, false otherwise
virtual void ICloudLibraryLinkedAssetPublicUtils::LicenseStockElement (const std::string & elementRef)
pure virtual

Trigger License Stock Image workflow for the Adobe Stock element represented by elementRef. Please check whether the element is unlicensed stock asset before calling this api.

Parameters
[in]elementRefunique identifier of the linked library element for which the stock id is requested