Package com.philip.journal.core.bean

Examples of com.philip.journal.core.bean.AbstractAuditableBean


                            Messages.Error.IAE_NULL));
        }

        if (object instanceof AbstractAuditableBean) {
            final Date now = new Date();
            final AbstractAuditableBean auditableBean = (AbstractAuditableBean) object;
            final String pkey = auditableBean.getPrimaryKeyField();

            try {
                final Object idvalue = BeanUtils.getProperty(object, pkey);
                if (idvalue == null || "0".equals(idvalue)) {
                    BeanUtils.setProperty(object,
View Full Code Here

TOP

Related Classes of com.philip.journal.core.bean.AbstractAuditableBean

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.