Interface DefaultUserId
-
- All Implemented Interfaces:
public interface DefaultUserIdThe UserId range in wings convention, a positive number is a login user, otherwise it is a non-login user. (1) Big positive numbers are business users; small positive numbers are built-in users; 0-99 are reserved Wings users. (2) Negative numbers are special users. (3) Zero has no privileges, root has the highest privileges, it is recommended not to login.- Since:
2021-02-20
trydofor
-
-
Method Summary
Modifier and Type Method Description static booleanisGuest(long uid)Whether is Guest (eq -1) static booleanasGuest(Long uid)Whether as Guest (null or le -1) static booleanisNull(long uid)Whether Null value static booleanasNull(Long uid)Whether null Object or Null value static longvalue(Long uid)trim value or Null static booleanisWings(long uid)Whether reserved Wings users. static booleanasWings(Long uid)Whether null or reserved Wings users.
-