CommentingProvider.java 747 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  aQute.bnd.annotation.ConsumerType
 *  org.apache.sling.api.resource.Resource
 */
package com.adobe.granite.comments;

import aQute.bnd.annotation.ConsumerType;
import com.adobe.granite.comments.CommentCollection;
import org.apache.sling.api.resource.Resource;

@ConsumerType
public interface CommentingProvider {
    public static final String PROPERTY_COLLECTION_TYPES = "provider.collectionTypes";
    public static final String PROPERTY_COMMENT_TYPES = "provider.commentTypes";

    public <C extends CommentCollection> C getCollection(Resource var1, Class<C> var2);

    public <C extends CommentCollection> C createCollection(Resource var1, Class<C> var2);
}