com.day.cq.mcm.campaign.profile.MetaDataRetriever Maven / Gradle / Ivy
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2014 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/
package com.day.cq.mcm.campaign.profile;
import com.day.cq.mcm.campaign.ACConnectorException;
import org.apache.sling.api.resource.Resource;
/**
* Retrieves the Campaign meta data for a page.
*/
@Deprecated
public interface MetaDataRetriever {
/**
* Retrieves the meta data for the specified page resource.
*
* @param page The page resource
* @return The meta data
* @throws ACConnectorException if the data could not be retrieved due to a problem
* with the connector service
*/
CampaignMetaData retrieve(Resource page) throws ACConnectorException;
}