NewsletterManager.java 1.61 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.day.cq.wcm.api.Page
 *  org.apache.sling.api.resource.PersistenceException
 */
package com.adobe.cq.mcm.campaign;

import com.adobe.cq.mcm.campaign.NewsletterException;
import com.day.cq.wcm.api.Page;
import org.apache.sling.api.resource.PersistenceException;

public interface NewsletterManager {
    public boolean isNewsletter(Page var1);

    public boolean isLinked(Page var1, String var2) throws NewsletterException;

    public String[] getLinkedDeliveries(Page var1) throws NewsletterException;

    public String link(Page var1, String var2) throws NewsletterException, PersistenceException;

    public void unlink(Page var1, String var2) throws NewsletterException, PersistenceException;

    public boolean isModifiedSince(Page var1, long var2) throws NewsletterException;

    public long getLastModified(Page var1) throws NewsletterException;

    public String getSubject(Page var1) throws NewsletterException;

    public String getPlainText(Page var1) throws NewsletterException;

    public boolean isApproved(Page var1) throws NewsletterException;

    public void approve(Page var1) throws NewsletterException, PersistenceException;

    public void disapprove(Page var1) throws NewsletterException, PersistenceException;

    public void markAsSent(Page var1, String var2) throws NewsletterException, PersistenceException;

    public void lock(Page var1, String var2) throws NewsletterException;

    public void unlock(Page var1, String var2) throws NewsletterException;

    public void publish(Page var1) throws NewsletterException;
}