head	1.9;
access;
symbols
	TIGRIS_0_8_4:1.8.0.4
	TIGRIS_NOV_12_2000:1.8
	OLDHELM:1.8.0.2
	TIGRIS_NOV_11_2000:1.8
	TIGRIS_BASELINE:1.7;
locks; strict;
comment	@# @;


1.9
date	2000.12.06.19.52.22;	author leonardr;	state dead;
branches;
next	1.8;

1.8
date	2000.10.03.18.11.47;	author leonardr;	state Exp;
branches;
next	1.7;

1.7
date	2000.09.26.19.08.46;	author dlr;	state Exp;
branches;
next	1.6;

1.6
date	2000.09.26.17.16.56;	author leonardr;	state Exp;
branches;
next	1.5;

1.5
date	2000.09.26.02.29.30;	author dlr;	state Exp;
branches;
next	1.4;

1.4
date	2000.09.26.02.24.34;	author dlr;	state Exp;
branches;
next	1.3;

1.3
date	2000.09.26.01.28.41;	author dlr;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.9
log
@Begone unused classes that exist elsewhere
@
text
@/* ================================================================
 * Copyright (c) 2000 CollabNet.  All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are
 * met:
 * 
 * 1. Redistributions of source code must retain the above copyright
 * notice, this list of conditions and the following disclaimer.
 * 
 * 2. Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * 
 * 3. The end-user documentation included with the redistribution, if
 * any, must include the following acknowlegement: "This product includes
 * software developed by CollabNet (http://www.collab.net/)."
 * Alternately, this acknowlegement may appear in the software itself, if
 * and wherever such third-party acknowlegements normally appear.
 * 
 * 4. The hosted project names must not be used to endorse or promote
 * products derived from this software without prior written
 * permission. For written permission, please contact info@@collab.net.
 * 
 * 5. Products derived from this software may not use the "Tigris" name
 * nor may "Tigris" appear in their names without prior written
 * permission of CollabNet.
 * 
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 * IN NO EVENT SHALL COLLABNET OR ITS CONTRIBUTORS BE LIABLE FOR ANY
 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 * ====================================================================
 * 
 * This software consists of voluntary contributions made by many
 * individuals on behalf of CollabNet.
 */


package org.tigris.helm.security;

import java.sql.*;

import com.workingdogs.village.*;

import org.joist.database.DataManager;
import org.tigris.helm.security.CompositeManager;

/**
 * This class associates base projects with composite projects (which
 * represent groups of projects.) Note that the database schema
 * currently does not reflect this setup.  
 *
 * @@author <a href="mailto:leonardr@@collab.net">Leonard Richardson</a>
 * @@author <a href="mailto:dlr@@collab.net">Daniel Rall</a>
 * @@version $Id: ProjectGroupManager.java,v 1.8 2000/10/03 18:11:47 leonardr Exp $
 */

public class ProjectGroupManager extends CompositeManager
{
    /** 
     * Constructor 
     */
    public ProjectGroupManager (DataManager dataMgr)
    {
        super(dataMgr, "projectID", "projectGroupID", "Project", 
              "HELM_PROJECT_PROJECTGROUP", "isComposite", "projectID");
    }
}
@


1.8
log
@Renamed, will move in the repo as well.
@
text
@d64 1
a64 1
 * @@version $Id: ProjectsetManager.java,v 1.7 2000/09/26 19:08:46 dlr Exp $
@


1.7
log
@Switched 'XxxSet' back to 'Xxxset' to maintain database consistancy with join tables.
@
text
@d64 1
a64 1
 * @@version $Id: ProjectsetManager.java,v 1.6 2000/09/26 17:16:56 leonardr Exp $
d67 2
a68 2
public class ProjectsetManager extends CompositeManager {

d72 4
a75 3
    public ProjectsetManager(DataManager dataMgr) {
        super(dataMgr, "projectID", "projectsetID", "Project", "ProjectProjectset", 
              "isSet", "projectID");
@


1.6
log
@Brought field and table names in line with new database schema
@
text
@d64 1
a64 1
 * @@version $Id: ProjectSetManager.java,v 1.5 2000/09/26 02:29:30 dlr Exp $
d67 1
a67 1
public class ProjectSetManager extends CompositeManager {
d72 1
a72 1
    public ProjectSetManager(DataManager dataMgr) {
@


1.5
log
@Obliterated evil tab characters.  No other change.
@
text
@d64 1
a64 1
 * @@version $Id: ProjectSetManager.java,v 1.4 2000/09/26 02:24:34 dlr Exp $
d73 2
a74 2
        super(dataMgr, "project", "projectSet", "Project", "ProjectSet", 
              "isSet", "id");
@


1.4
log
@Renamed xxxset to xxxSet.  Going to move the files in the repository to preserve history.
@
text
@d64 1
a64 1
 * @@version $Id: ProjectSetManager.java,v 1.3 2000/09/26 01:28:41 dlr Exp $
d73 1
a73 1
	super(dataMgr, "project", "projectSet", "Project", "ProjectSet", 
@


1.3
log
@Added myself and Leonard to headers.
@
text
@d64 1
a64 1
 * @@version $Id: CompositeManager.java,v 1.4 2000/09/26 01:20:02 dlr Exp $
d67 1
a67 1
public class ProjectsetManager extends CompositeManager {
d72 1
a72 1
    public ProjectsetManager(DataManager dataMgr) {
d76 1
a76 6
    
} /* end class ProjectsetManager */




@


1.2
log
@Updated class members.
@
text
@d61 4
@


1.1
log
@Made CompositeManager abstract and added its subclasses. Defanged
UsersetTest until the database is brought into line with CompositeManager.
@
text
@a64 9
    private static final String unitTable = "Project";

    private static final String joinTable = "Projectset";
    private static final String joinBaseField = "project";
    private static final String joinCompositeField = "projectset";

    private static final String isCompositeField = "isSet";
    private static final String idField = "id";

d69 2
a70 1
	super(dataMgr);
@

