Package it.cilea.osd.jdyna.dto

Examples of it.cilea.osd.jdyna.dto.ValoreDTO


            String nodetext = node.getTextContent();
            String vis = node.getAttribute(UtilsXML.NAMEATTRIBUTE_VISIBILITY);

            if (nodetext != null && !nodetext.isEmpty())
            {
                ValoreDTO valueDTO = new ValoreDTO(nodetext);
                if (vis == null || vis.isEmpty())
                {
                    // check old value
                    vis = checkOldVisibility(applicationService, rpPD, old,
                            nodetext, vis);
                }

                if (vis != null && !vis.isEmpty())
                {
                    valueDTO.setVisibility((Integer.parseInt(vis) == 1 ? true
                            : false));
                }

                // ValoreDTO oldValue = checkOldValue(applicationService, rpPD,
                // old, nodetext, valueDTO.getVisibility());
                // if(oldValue==null) {
                values.add(valueDTO);
                log.debug("Write text field " + rpPD.getShortName()
                        + " with value: " + nodetext + " visibility: "
                        + valueDTO.getVisibility());
                // }
            }
        }
    }
View Full Code Here


                            nodetext, vis);
                }
                PropertyEditor pe = rpPD.getRendering().getPropertyEditor(
                        applicationService);
                pe.setAsText(nodetext);
                ValoreDTO valueDTO = new ValoreDTO(pe.getValue());
                if (vis != null && !vis.isEmpty())
                {
                    valueDTO.setVisibility((Integer.parseInt(vis) == 1 ? true
                            : false));
                }
                // ValoreDTO oldValue = checkOldValue(applicationService, rpPD,
                // old, nodetext, valueDTO.getVisibility());
                // if(oldValue==null) {
                values.add(valueDTO);
                log.debug("Write link field " + rpPD.getShortName()
                        + " with value" + nodetext + " visibility: "
                        + valueDTO.getVisibility());
                // }
            }
        }
    }
View Full Code Here

                }

                PropertyEditor pe = rpPD.getRendering().getPropertyEditor(
                        applicationService);
                pe.setAsText(nodetext);
                ValoreDTO valueDTO = new ValoreDTO(pe.getValue());
                if (vis != null && !vis.isEmpty())
                {
                    valueDTO.setVisibility((Integer.parseInt(vis) == 1 ? true
                            : false));
                }
                // ValoreDTO oldValue = checkOldValue(applicationService, rpPD,
                // old, nodetext, valueDTO.getVisibility());
                // if(oldValue==null) {
                values.add(valueDTO);
                log.debug("Write date field " + rpPD.getShortName()
                        + " with value: " + nodetext + " visibility: "
                        + valueDTO.getVisibility());
                // }
            }
        }
    }
View Full Code Here

TOP

Related Classes of it.cilea.osd.jdyna.dto.ValoreDTO

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.