Template.java 1.47 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  aQute.bnd.annotation.ProviderType
 *  com.day.cq.commons.JSONItem
 *  com.day.cq.commons.LabeledResource
 *  org.apache.sling.api.adapter.Adaptable
 *  org.apache.sling.api.resource.Resource
 *  org.apache.sling.api.resource.ValueMap
 *  org.apache.sling.commons.json.JSONException
 *  org.apache.sling.commons.json.io.JSONWriter
 */
package com.day.cq.wcm.api;

import aQute.bnd.annotation.ProviderType;
import com.day.cq.commons.JSONItem;
import com.day.cq.commons.LabeledResource;
import org.apache.sling.api.adapter.Adaptable;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.api.resource.ValueMap;
import org.apache.sling.commons.json.JSONException;
import org.apache.sling.commons.json.io.JSONWriter;

@ProviderType
public interface Template
extends Adaptable,
LabeledResource,
JSONItem {
    public String getPath();

    public String getTitle();

    public String getShortTitle();

    public String getDescription();

    public String getIconPath();

    public String getThumbnailPath();

    public Long getRanking();

    public boolean isAllowed(String var1);

    public boolean isAllowed(Resource var1);

    public boolean isAllowedChild(Template var1);

    public void write(JSONWriter var1) throws JSONException;

    public String getInitialContentPath();

    public ValueMap getProperties();

    public boolean hasStructureSupport();

    public String getPageTypePath();
}