hasPermission

public abstract boolean hasPermission(String name)

Gets the value of the specified permission, if set.

If getClassById permission override is not set on this object, the default value of the permission will be returned.

Return

Value of the permission

Parameters

name

Name of the permission


public abstract boolean hasPermission(Permission perm)

Gets the value of the specified permission, if set.

If getClassById permission override is not set on this object, the default value of the permission will be returned

Return

Value of the permission

Parameters

perm

Permission to get