public class ERXAccessPermission extends Object implements IERXAccessPermissionInterface
Modifier and Type | Method and Description |
---|---|
boolean |
can(String key) |
boolean |
canWithDefault(String key,
boolean defaultValue) |
IERXAccessPermissionInterface |
delegate() |
static ERXAccessPermission |
instance() |
boolean |
isAdministrator() |
boolean |
isDeveloper() |
void |
setDelegate(IERXAccessPermissionInterface delegate) |
public static ERXAccessPermission instance()
public void setDelegate(IERXAccessPermissionInterface delegate)
public IERXAccessPermissionInterface delegate()
public boolean can(String key)
can
in interface IERXAccessPermissionInterface
public boolean canWithDefault(String key, boolean defaultValue)
canWithDefault
in interface IERXAccessPermissionInterface
public boolean isDeveloper()
isDeveloper
in interface IERXAccessPermissionInterface
public boolean isAdministrator()
isAdministrator
in interface IERXAccessPermissionInterface
Copyright © 2002 – 2024 Project Wonder.