Package easyJ.system.data

Examples of easyJ.system.data.Property


    // 用来显示调整字段的界面
    public void adjustProperty() throws EasyJException {
        UserPropertyRight userPropertyRight = new UserPropertyRight();
        userPropertyRight.setUserId(userId);
        userPropertyRight.setClassName(className);
        Property property = new Property();
        BeanUtil.transferObject(userPropertyRight, property, true, false);
        // 用来指示当前显示的是查询的字段,还是显示的字段,还是编辑的字段。
        String propertyType = request.getParameter("propertyType");
        if (GenericValidator.isBlankOrNull(propertyType))
            propertyType = "whetherDisplay";
View Full Code Here


    // 用来显示调整字段的界面
    public void adjustProperty() throws EasyJException {
        UserPropertyRight userPropertyRight = new UserPropertyRight();
        userPropertyRight.setUserId(userId);
        userPropertyRight.setClassName(className);
        Property property = new Property();
        BeanUtil.transferObject(userPropertyRight, property, true, false);
        // 用来指示当前显示的是查询的字段,还是显示的字段,还是编辑的字段。
        String propertyType = request.getParameter("propertyType");
        if (GenericValidator.isBlankOrNull(propertyType))
            propertyType = "whetherDisplay";
View Full Code Here

        SystemClass sysClass = new SystemClass();
        sysClass.setClassId(new Long(classId));
        DataProxy dp = SingleDataProxy.getInstance();
        sysClass = (SystemClass)dp.get(sysClass);
        String className = sysClass.getClassName();
        Property property  = new Property();
        property.setClassName(className);
        ArrayList properties = dp.query(property);
        StringBuffer buffer = new StringBuffer();
        for (Object obj : properties) {
            Property userProperty = (Property)obj;
            String propertyName = userProperty.getPropertyName();
            String propertyChiName = userProperty.getPropertyChiName();
            boolean checked = false;
            if (columnsValue != null && columnsValue.indexOf(","+propertyName + ",") >= 0)
                checked = true;
            if (checked)
                buffer.append("<input type=\"checkbox\" name=\"columns" + lineNum
View Full Code Here

TOP

Related Classes of easyJ.system.data.Property

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.