ContentFragment.java 1.86 KB
/*
 * 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;
}