DeviceManager.java 1.98 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  aQute.bnd.annotation.ProviderType
 *  javax.annotation.CheckForNull
 *  javax.annotation.Nonnull
 *  javax.annotation.Nullable
 *  javax.jcr.RepositoryException
 *  org.apache.commons.collections.Predicate
 *  org.apache.sling.commons.json.JSONException
 *  org.apache.sling.commons.json.JSONObject
 */
package com.adobe.cq.screens.device;

import aQute.bnd.annotation.ProviderType;
import com.adobe.cq.screens.device.Device;
import com.adobe.cq.screens.device.DeviceConfig;
import com.adobe.cq.screens.device.DeviceStatus;
import java.util.Iterator;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.jcr.RepositoryException;
import org.apache.commons.collections.Predicate;
import org.apache.sling.commons.json.JSONException;
import org.apache.sling.commons.json.JSONObject;

@ProviderType
public interface DeviceManager {
    @CheckForNull
    public Device getDevice(@Nonnull String var1);

    @CheckForNull
    public DeviceStatus getDeviceStatus(@Nonnull String var1);

    @Nonnull
    public Iterator<Device> getDevices();

    @Nonnull
    public Iterator<Device> getDevices(@Nullable Predicate var1);

    @Nonnull
    public Device createDevice(@Nonnull String var1) throws RepositoryException;

    public void deleteDevice(@Nonnull String var1) throws RepositoryException;

    @Nonnull
    public String updatePassword(@Nonnull Device var1) throws RepositoryException;

    @Nonnull
    public Device setMetadata(@Nonnull Device var1, @Nonnull JSONObject var2) throws JSONException, RepositoryException;

    @Nonnull
    public Device assignDisplay(@Nonnull Device var1, @Nonnull String var2) throws RepositoryException;

    @Nonnull
    public Device assignDeviceConfig(@Nonnull Device var1, @Nonnull DeviceConfig var2) throws RepositoryException;

    @Nonnull
    public Device removeDisplay(@Nonnull Device var1, boolean var2) throws RepositoryException;
}