head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2001.05.30.01.11.11;	author leonardr;	state dead;
branches;
next	1.2;

1.2
date	2001.05.23.01.50.13;	author dlr;	state Exp;
branches;
next	1.1;

1.1
date	2001.05.11.19.38.55;	author leonardr;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Got rid of denormalized project-project group mapping table in favor of per-JVM caching solution.
@
text
@package org.tigris.helm.om;

import java.util.*;

import org.apache.turbine.om.*;
import org.apache.turbine.util.db.Criteria;
import org.apache.turbine.util.ObjectUtils;
import org.apache.turbine.util.StringUtils;
import org.apache.turbine.util.ParameterParser;
import org.apache.turbine.util.Log;
import org.apache.turbine.util.TurbineException;
import org.apache.turbine.util.TurbineException;
import org.apache.turbine.util.db.pool.DBConnection;

import org.tigris.helm.om.*;
import org.tigris.helm.tool.DBFlag;

/** 
 * The business object representing a recursive path from one project to 
 * another.
 */
public class DenormalizedProjectProjectgroup
    extends BaseDenormalizedProjectProjectgroup
{

    /**
     * Return the parent ID as a String.
     */
    public String getParentID()
    {
        return String.valueOf(getParentId());
    }

    /**
     * Return the child ID as a String.
     */
    public String getChildID()
    {
        return String.valueOf(getChildId());
    }

    /**
     * Returns true iff a public path exists from parent to child.
     */ 
    public boolean publicPath()
    {
        return DBFlag.booleanValueOf(getPublicPath());
    }

}
@


1.2
log
@Ported Helm from WebMacro to Velocity.
@
text
@@


1.1
log
@A Heartbreaking Patch of Staggering Genius: adds capacity (but no interface) for deeply nested projects, categories, and project groups. As a side effect, gets rid of the hacky special 'all public projects in domain' group. There are probably bugs in this, and some of those bugs are probably security holes, so watch out.
@
text
@d11 2
@

