plbbToPl method
PrivilegeLevel
plbbToPl(
- PrivilegeLevelBeforeBlocked privilegeLevelBeforeBlocked
Implementation
PrivilegeLevel plbbToPl(
PrivilegeLevelBeforeBlocked privilegeLevelBeforeBlocked) {
switch (privilegeLevelBeforeBlocked) {
case PrivilegeLevelBeforeBlocked.noPrivilege:
return PrivilegeLevel.noPrivilege;
case PrivilegeLevelBeforeBlocked.level1Privilege:
return PrivilegeLevel.level1Privilege;
case PrivilegeLevelBeforeBlocked.level2Privilege:
return PrivilegeLevel.level2Privilege;
case PrivilegeLevelBeforeBlocked.ownerPrivilege:
return PrivilegeLevel.ownerPrivilege;
case PrivilegeLevelBeforeBlocked.unknown:
return PrivilegeLevel.noPrivilege;
}
}