Package cn.edu.pku.dr.requirement.elicitation.data

Examples of cn.edu.pku.dr.requirement.elicitation.data.Remark


       
        returnMessage = "fileName=" + fileName + "<message>";
    }
   
    public void addRemark() throws EasyJException {
        Remark remark = (Remark) object;
        remark.setCreatorId(userId);
        remark.setBuildTime(new java.sql.Date(System.currentTimeMillis()));
        remark.setUpdateTime(new java.sql.Date(System.currentTimeMillis()));
        /* todo:将来需要改成用户对应的角色 */

        remark.setRoleId(new Long(1));
        if (remark.getRemarkId() == null)
            remark = (Remark) dp.create(remark);
        else {
            remark.setUseState("Y");
            dp.update(remark);
        }
        remark = (Remark) dp.get(remark);
        StringBuffer buffer = BeanUtil.serializeObjectToClient(remark);
        buffer.append("<message>保存成功");
View Full Code Here


        message.setIsRead("N");
        dp.create(message);
    }

    public void revokeRemark() throws EasyJException {
        Remark remark = (Remark) object;
        dp.delete(remark);
    }
View Full Code Here

TOP

Related Classes of cn.edu.pku.dr.requirement.elicitation.data.Remark

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.