public final class PermissionManager extends IzouModule
SecurityManager
.log, main
Modifier and Type | Method and Description |
---|---|
void |
checkPermission(Permission perm,
AddOnModel addOnModel)
checks the permission
|
FilePermissionModule |
getFilePermissionModule() |
debug, debug, error, error, fatal, fatal, getID, getMain
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isOwner
public FilePermissionModule getFilePermissionModule()
public void checkPermission(Permission perm, AddOnModel addOnModel) throws IzouPermissionException
perm
- the permissionaddOnModel
- the associated AddOnModelIzouPermissionException
- if the permission was not grantedCopyright © 2016. All rights reserved.