Design.java 1.83 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  aQute.bnd.annotation.ProviderType
 *  com.day.cq.commons.Doctype
 *  javax.jcr.RepositoryException
 *  javax.servlet.jsp.PageContext
 *  org.apache.sling.api.resource.Resource
 */
package com.day.cq.wcm.api.designer;

import aQute.bnd.annotation.ProviderType;
import com.day.cq.commons.Doctype;
import com.day.cq.wcm.api.designer.Cell;
import com.day.cq.wcm.api.designer.ComponentStyle;
import com.day.cq.wcm.api.designer.Style;
import java.io.IOException;
import java.io.Writer;
import java.util.Calendar;
import java.util.Map;
import javax.jcr.RepositoryException;
import javax.servlet.jsp.PageContext;
import org.apache.sling.api.resource.Resource;

@ProviderType
public interface Design {
    public static final String PN_DOCTYPE = "cq:doctype";
    public static final String NN_STYLES = "cq:styles";
    public static final String PN_STYLE_EXCLUDED_COMPONENTS = "cq:styleExcludedComponents";

    public String getPath();

    public String getId();

    public Resource getContentResource();

    public boolean hasContent();

    public Style getStyle(String var1);

    public Style getStyle(Cell var1);

    public Style getStyle(Resource var1);

    public Style getStyle(Resource var1, boolean var2);

    public String getCssPath();

    public String getStaticCssPath();

    public void writeCssIncludes(Writer var1) throws IOException;

    public void writeCssIncludes(Writer var1, Doctype var2) throws IOException;

    public void writeCssIncludes(PageContext var1) throws IOException;

    public void writeCSS(Writer var1, boolean var2) throws IOException, RepositoryException;

    public Doctype getDoctype(Style var1);

    public Map<String, ComponentStyle> getComponentStyles(Cell var1);

    public String getJSON();

    public Calendar getLastModified();
}