Package com.art.anette.datamodel.dataobjects.simple

Examples of com.art.anette.datamodel.dataobjects.simple.FTOverride


    }

    public Date getFreezeTime() {
        if (isRoot()) {
            final Date standardFreezeTime = getStandardFreezeTime();
            final FTOverride ftOverride = dbControl.getFTOverride(dbControl.getOwner(), this);
            if (ftOverride != null) {
                logger.info("Have a freeze time override for " + dbControl.getOwner().getName() + " for " + getName() + ". standard is " + standardFreezeTime + " override is " + ftOverride.getNewEnd());
                return ftOverride.getNewEnd();
            }

            return standardFreezeTime;
        } else {
            return getParentWorkPackage().getFreezeTime();
View Full Code Here


                    wpIds.add(workPackage.getId());
                }
            }

            while (rs.next()) {
                final FTOverride obj = new FTOverride(sdbc, rs);
                if (wpIds.contains(obj.getWorkPackageId())) {
                    result.add(obj);
                }
            }
            rs.close();
            logger.info("Loaded " + result.size() + " overrides for " + projects.size() + " projects");
View Full Code Here

                setIcon(new ImageIcon(getClass().getResource("/com/art/anette/client/ui/resources/task.png")));
            } else {
                setIcon(new ImageIcon(getClass().getResource("/com/art/anette/client/ui/resources/task_red.png")));
            }
        } else if (dObj instanceof FTOverride) {
            FTOverride ftOverride = (FTOverride) dObj;
            setIcon(new ImageIcon(getClass().getResource("/com/art/anette/client/ui/resources/add.png")));
        } else {
            throw new IllegalArgumentException("Unknown " + value.getClass());
        }
View Full Code Here

TOP

Related Classes of com.art.anette.datamodel.dataobjects.simple.FTOverride

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.