LPMCMPlugin.java
1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* 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;
}
}