public class UserModulePrivilege extends AbstractModulePrivilege
authorized, moduleid, view
构造器和说明 |
---|
UserModulePrivilege() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
protected boolean |
equals4NoPersistence(java.lang.Object obj)
这个方法其实表示是否有某个或某几个值有唯一约束
|
boolean |
equals4Properties(java.lang.Object obj)
判断2个Entry权限对象属性是否相同
|
static UserModulePrivilege |
getInstance(long moduleid,
long view,
long authorized) |
static UserModulePrivilege |
getInstance(long userId,
long moduleid,
long view,
long authorized) |
static UserModulePrivilege |
getInstance(long id,
long userId,
long moduleid,
long view,
long authorized) |
long |
getUserid() |
protected int |
hashCode4Properties() |
void |
setUserid(long userid) |
getAuthorized, getModuleid, getView, setAuthorized, setModuleid, setView, toJSONObject
public static UserModulePrivilege getInstance(long id, long userId, long moduleid, long view, long authorized)
public static UserModulePrivilege getInstance(long userId, long moduleid, long view, long authorized)
public static UserModulePrivilege getInstance(long moduleid, long view, long authorized)
public long getUserid()
public void setUserid(long userid)
protected int hashCode4Properties()
public boolean equals4Properties(java.lang.Object obj)
equals4Properties
在类中 AbstractModulePrivilege
obj
- 待比较对象protected boolean equals4NoPersistence(java.lang.Object obj)
DAOBean
equals4NoPersistence
在类中 AbstractModulePrivilege