DeviceManager.java
1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
* 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;
}