AuthorizableInfo.java
932 Bytes
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
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* javax.jcr.RepositoryException
* org.apache.jackrabbit.api.security.user.Authorizable
*/
package com.adobe.granite.security.user.internal;
import javax.jcr.RepositoryException;
import org.apache.jackrabbit.api.security.user.Authorizable;
public class AuthorizableInfo {
private final String id;
private final String path;
private final boolean isGroup;
public AuthorizableInfo(Authorizable a) throws RepositoryException {
this(a.getID(), a.getPath(), a.isGroup());
}
public AuthorizableInfo(String id, String path, boolean isGroup) {
this.id = id;
this.path = path;
this.isGroup = isGroup;
}
public String getId() {
return this.id;
}
public String getPath() {
return this.path;
}
public boolean isGroup() {
return this.isGroup;
}
}