LPMCMPlugin.java 1.39 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.day.cq.mcm.api.Experience
 *  com.day.cq.mcm.api.MCMPlugin
 *  com.day.cq.mcm.api.MCMPluginAdapter
 *  com.day.cq.mcm.api.MCMPluginAdapter$Factory
 *  org.apache.felix.scr.annotations.Component
 *  org.apache.felix.scr.annotations.Service
 *  org.apache.sling.api.resource.Resource
 *  org.apache.sling.api.resource.ResourceResolver
 */
package com.day.cq.mcm.landingpage;

import com.day.cq.mcm.api.Experience;
import com.day.cq.mcm.api.MCMPlugin;
import com.day.cq.mcm.api.MCMPluginAdapter;
import java.util.Iterator;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Service;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.api.resource.ResourceResolver;

@Component(metatype=0)
@Service(value={MCMPlugin.class})
public class LPMCMPlugin
extends MCMPluginAdapter {
    public LPMCMPlugin() {
        this.addExperienceComponent("wcm/designimporter/components/importerpage", (MCMPluginAdapter.Factory)new MCMPluginAdapter.Factory<Experience>(){

            public Experience create(Resource r) {
                return null;
            }
        });
    }

    public String getPluginId() {
        return "landingpageMCM";
    }

    public Iterator<Resource> findReferencedTouchpoints(ResourceResolver rr, String pathOrCampaignPath) {
        return null;
    }

}