public class RoleCheckUtils
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static boolean |
isNegativeID(long id)
id是否是负数
|
static boolean |
isNonNegativeID(long id)
id是否是非负数
|
static boolean |
isNormalID(long id)
是否是通用的角色id(非负数或者小于等于-1000)
|
static boolean |
isNotNormalID(long id)
是否是非法id(fr后台不可能出现的id值)
|
public static boolean isNonNegativeID(long id)
id
- public static boolean isNegativeID(long id)
id
- public static boolean isNormalID(long id)
id
- public static boolean isNotNormalID(long id)
id
-