package com.hongsoft.res.formbean;
import java.util.*;
public class OrgTreeFormBean {
private long orgID = 0;
private String name = null;
/**
* 下一级OrgTreeFormBean的List
*/
pri
package com.hongsoft.res.formbean;
/*用ResAssociateFormBean代替 by zgk*/
public class ResOrgFormBean {
private long resID;
private java.util.Iterator allOrgs;
private long[] selectedOrgIDs
package com.hongsoft.res.formbean;
public class PrivilegeFormBean {
private long privilegeID;
private String name;
private String description;
public long getPrivilegeID() {
package com.hongsoft.res.database;
public class ResHibernateFactory {
public static UserHibernate createUserHibernate(){
return UserHibernate.getInstance();
}
public static Role
package com.hongsoft.res.database;
public class ResQuery {
//user
public static final String LOAD_USER_BY_ID=
"SELECT u FROM User as u WHERE u.id=?";
public static final String LOAD
package com.hongsoft.res.database;
public class ObjectID {
private String objectName=null;
private long value = 0;
public long getValue() {
return value;
}
public String getOb
package com.hongsoft.res.database;
public class ResObjectName {
//具体名字必须与res_id表中的记录对应的名称
public static final String RES_OBJECT="res_object";
public static final String RES_OBJECT_PRIV="re