protected final class AccessControlListResolver.AccessEntry extends Object
Modifier and Type | Field and Description |
---|---|
Long |
m_GranteeId
The entry's key
|
boolean |
m_Immutable
Whether the entry is unchangeable.
|
AccessLevel |
m_Level
The entry's level
|
Constructor and Description |
---|
AccessEntry(Long id,
AccessLevel level)
Constructs an AccessEntry
|
Modifier and Type | Method and Description |
---|---|
void |
grantAccess(AccessLevel grantedLevel,
S_LibrarySession sess)
Aply additional premissions for this entry
|
boolean |
isImmutable()
return immutable state
|
boolean |
noAccess()
Returns true if no access is granted for this entry.
|
void |
revokeAccess(AccessLevel grantedLevel,
S_LibrarySession sess)
Revokes permissions for this entry.
|
void |
setImmutable()
Set as immutable; for conforming group entries
|
public Long m_GranteeId
public AccessLevel m_Level
public boolean m_Immutable
public AccessEntry(Long id, AccessLevel level) throws IfsException
id
- the user IDlevel
- the access (standard permissions only)IfsException
public void setImmutable()
public boolean isImmutable()
public void grantAccess(AccessLevel grantedLevel, S_LibrarySession sess) throws IfsException
grantedLevel
- the additional access (standard permissions only)IfsException
public void revokeAccess(AccessLevel grantedLevel, S_LibrarySession sess) throws IfsException
grantedLevel
- the permissions to revoke (standard permissions only)IfsException
public boolean noAccess()
Copyright © 2023. All rights reserved.