ContentFragment.java
1.86 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* aQute.bnd.annotation.ProviderType
* org.apache.sling.api.adapter.Adaptable
* org.apache.sling.api.resource.Resource
*/
package com.adobe.cq.dam.cfm;
import aQute.bnd.annotation.ProviderType;
import com.adobe.cq.dam.cfm.ContentElement;
import com.adobe.cq.dam.cfm.ContentFragmentException;
import com.adobe.cq.dam.cfm.ElementTemplate;
import com.adobe.cq.dam.cfm.FragmentTemplate;
import com.adobe.cq.dam.cfm.VariationDef;
import com.adobe.cq.dam.cfm.VariationTemplate;
import com.adobe.cq.dam.cfm.Versionable;
import java.util.Iterator;
import java.util.Map;
import org.apache.sling.api.adapter.Adaptable;
import org.apache.sling.api.resource.Resource;
@ProviderType
public interface ContentFragment
extends Adaptable,
Versionable {
public Iterator<ContentElement> getElements();
public boolean hasElement(String var1);
public ContentElement createElement(ElementTemplate var1) throws ContentFragmentException;
public ContentElement getElement(String var1);
public String getName();
public String getTitle();
public void setTitle(String var1) throws ContentFragmentException;
public String getDescription();
public void setDescription(String var1) throws ContentFragmentException;
public Map<String, Object> getMetaData();
public void setMetaData(String var1, Object var2) throws ContentFragmentException;
public Iterator<VariationDef> listAllVariations();
public FragmentTemplate getTemplate();
public VariationTemplate createVariation(String var1, String var2, String var3) throws ContentFragmentException;
public Iterator<Resource> getAssociatedContent();
public void addAssociatedContent(Resource var1) throws ContentFragmentException;
public void removeAssociatedContent(Resource var1) throws ContentFragmentException;
}