CommentCollectionImpl.java 937 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  org.apache.sling.api.resource.Resource
 */
package com.adobe.granite.comments.internal;

import com.adobe.granite.comments.AbstractComment;
import com.adobe.granite.comments.AbstractCommentCollection;
import com.adobe.granite.comments.AbstractCommentingProvider;
import com.adobe.granite.comments.Comment;
import com.adobe.granite.comments.internal.CommentImpl;
import com.adobe.granite.comments.internal.CommentingProviderImpl;
import org.apache.sling.api.resource.Resource;

public class CommentCollectionImpl
extends AbstractCommentCollection {
    CommentCollectionImpl(Resource target, Resource collection, CommentingProviderImpl provider) {
        super(target, collection, provider);
    }

    protected AbstractComment createComment(Resource commentResource) {
        return new CommentImpl(this, commentResource, this.getProvider());
    }
}