Project

General

Profile

« Previous | Next » 

Revision 669

Added by Matt Jones over 23 years ago

Added license terms to source code files, and cleaned up some javadoc
documentation in a few places.

View differences:

src/edu/ucsb/nceas/metacat/McdbException.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/DataStreamTest.java
9 9
 *   '$Author$'
10 10
 *     '$Date$'
11 11
 * '$Revision$'
12
 *
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 26
 */
13 27

  
14 28
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/McdbDocNotFoundException.java
11 11
 *   '$Author$'
12 12
 *     '$Date$'
13 13
 * '$Revision$'
14
 *
15
 * This program is free software; you can redistribute it and/or modify
16
 * it under the terms of the GNU General Public License as published by
17
 * the Free Software Foundation; either version 2 of the License, or
18
 * (at your option) any later version.
19
 *
20
 * This program is distributed in the hope that it will be useful,
21
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
 * GNU General Public License for more details.
24
 *
25
 * You should have received a copy of the GNU General Public License
26
 * along with this program; if not, write to the Free Software
27
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
14 28
 */
15 29

  
16 30
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/DBSAXNode.java
9 9
 *   '$Author$'
10 10
 *     '$Date$'
11 11
 * '$Revision$'
12
 *
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 26
 */
13 27

  
14 28
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/CatalogMessageHandler.java
1 1
/**
2 2
 *  '$RCSfile$'
3
 *    Purpose: A class that handles xml messages  passed by  the replication handler
3
 *    Purpose: A class that handles xml messages passed by the 
4
 *             replication handler
4 5
 *  Copyright: 2000 Regents of the University of California and the
5 6
 *             National Center for Ecological Analysis and Synthesis
6 7
 *    Authors: Chad Berkley
......
9 10
 *   '$Author$'
10 11
 *     '$Date$'
11 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 27
 */
13 28

  
14 29
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/DocInfoHandler.java
9 9
 *   '$Author$'
10 10
 *     '$Date$'
11 11
 * '$Revision$'
12
 *
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 26
 */
13 27

  
14 28
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/DocumentIdentifier.java
9 9
 *   '$Author$'
10 10
 *     '$Date$'
11 11
 * '$Revision$'
12
 *
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 26
 */
13 27

  
14 28
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/DBUtil.java
11 11
 *   '$Author$'
12 12
 *     '$Date$'
13 13
 * '$Revision$'
14
 *
15
 * This program is free software; you can redistribute it and/or modify
16
 * it under the terms of the GNU General Public License as published by
17
 * the Free Software Foundation; either version 2 of the License, or
18
 * (at your option) any later version.
19
 *
20
 * This program is distributed in the hope that it will be useful,
21
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
 * GNU General Public License for more details.
24
 *
25
 * You should have received a copy of the GNU General Public License
26
 * along with this program; if not, write to the Free Software
27
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
14 28
 */
15 29

  
16 30
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/NodeRecord.java
9 9
 *   '$Author$'
10 10
 *     '$Date$'
11 11
 * '$Revision$'
12
 *
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 26
 */
13 27

  
14 28
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/ForceReplicationHandler.java
1 1
/**
2 2
 *  '$RCSfile$'
3
 *  Purpose: A class to asyncronously force the replication of each server 
4
 *    that has an entry in the xml_replication table.  When run, this thread 
5
 *    communicates with each server in the list and solicites a read of an 
6
 *    updated or newly inserted document with a certain docid.
3
 *    Purpose: A class to asyncronously force the replication of each server 
4
 *             that has an entry in the xml_replication table.  When run, 
5
 *             this thread communicates with each server in the list and 
6
 *             solicites a read of an updated or newly inserted document 
7
 *             with a certain docid.
7 8
 *  Copyright: 2000 Regents of the University of California and the
8 9
 *             National Center for Ecological Analysis and Synthesis
9
 *  Authors: Chad Berkley
10
 *  Release: @release@
10
 *    Authors: Chad Berkley
11
 *    Release: @release@
11 12
 *
12
 *  '$Author$'
13
 *  '$Date$'
14
 *  '$Revision$'
13
 *   '$Author$'
14
 *     '$Date$'
15
 * '$Revision$'
16
 *
17
 * This program is free software; you can redistribute it and/or modify
18
 * it under the terms of the GNU General Public License as published by
19
 * the Free Software Foundation; either version 2 of the License, or
20
 * (at your option) any later version.
21
 *
22
 * This program is distributed in the hope that it will be useful,
23
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25
 * GNU General Public License for more details.
26
 *
27
 * You should have received a copy of the GNU General Public License
28
 * along with this program; if not, write to the Free Software
29
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15 30
 */
16 31
 
17 32
package edu.ucsb.nceas.metacat;
......
23 38
import java.lang.*;
24 39
import java.text.*;
25 40

  
41
/**
42
 * A class to asyncronously force the replication of each server 
43
 * that has an entry in the xml_replication table.  When run, 
44
 * this thread communicates with each server in the list and 
45
 * solicites a read of an updated or newly inserted document 
46
 * with a certain docid.
47
 */
26 48
public class ForceReplicationHandler implements Runnable
27 49
{
28 50
  private Thread btThread;
src/edu/ucsb/nceas/metacat/AccessControlList.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/ElementNode.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/DBValidate.java
12 12
 *   '$Author$'
13 13
 *     '$Date$'
14 14
 * '$Revision$'
15
 *
16
 * This program is free software; you can redistribute it and/or modify
17
 * it under the terms of the GNU General Public License as published by
18
 * the Free Software Foundation; either version 2 of the License, or
19
 * (at your option) any later version.
20
 *
21
 * This program is distributed in the hope that it will be useful,
22
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24
 * GNU General Public License for more details.
25
 *
26
 * You should have received a copy of the GNU General Public License
27
 * along with this program; if not, write to the Free Software
28
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15 29
 */
16 30
package edu.ucsb.nceas.metacat;
17 31

  
......
329 343
    }
330 344
  }
331 345
}
332

  
333
/**
334
 * '$Log$
335
 * 'Revision 1.8  2000/06/29 23:27:08  jones
336
 * 'Fixed bug in DBEntityResolver so that it now properly delegates to
337
 * 'the system id found inthe database.
338
 * 'Changed DBValidate to use DBEntityResolver, rather than the OASIS
339
 * 'catalog, and to return validation results in XML format.
340
 * '
341
 * 'Revision 1.7  2000/06/26 10:35:05  jones
342
 * 'Merged in substantial changes to DBWriter and associated classes and to
343
 * 'the MetaCatServlet in order to accomodate the new UPDATE and DELETE
344
 * 'functions.  The command line tools and the parameters for the
345
 * 'servlet have changed substantially.
346
 * '
347
 * 'Revision 1.6.2.3  2000/06/25 23:38:16  jones
348
 * 'Added RCSfile keyword
349
 * '
350
 * 'Revision 1.6.2.2  2000/06/25 23:34:18  jones
351
 * 'Changed documentation formatting, added log entries at bottom of source files
352
 * ''
353
 */
src/edu/ucsb/nceas/metacat/MetacatURL.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/AuthLdap.java
11 11
 *   '$Author$'
12 12
 *     '$Date$'
13 13
 * '$Revision$'
14
 *
15
 * This program is free software; you can redistribute it and/or modify
16
 * it under the terms of the GNU General Public License as published by
17
 * the Free Software Foundation; either version 2 of the License, or
18
 * (at your option) any later version.
19
 *
20
 * This program is distributed in the hope that it will be useful,
21
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
 * GNU General Public License for more details.
24
 *
25
 * You should have received a copy of the GNU General Public License
26
 * along with this program; if not, write to the Free Software
27
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
14 28
 */
15 29

  
16 30
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/AuthSession.java
9 9
 *   '$Author$'
10 10
 *     '$Date$'
11 11
 * '$Revision$'
12
 *
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 26
 */
13 27

  
14 28
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/QuerySpecification.java
12 12
 *   '$Author$'
13 13
 *     '$Date$'
14 14
 * '$Revision$'
15
 *
16
 * This program is free software; you can redistribute it and/or modify
17
 * it under the terms of the GNU General Public License as published by
18
 * the Free Software Foundation; either version 2 of the License, or
19
 * (at your option) any later version.
20
 *
21
 * This program is distributed in the hope that it will be useful,
22
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24
 * GNU General Public License for more details.
25
 *
26
 * You should have received a copy of the GNU General Public License
27
 * along with this program; if not, write to the Free Software
28
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15 29
 */
16 30

  
17 31
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/CommentNode.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
......
54 68
        return ("<!-- " + nodeData + " -->");
55 69
    }
56 70
}
57

  
58
/**
59
 * '$Log$
60
 * 'Revision 1.1  2000/06/28 02:36:26  jones
61
 * 'Added feature to now ouput COMMENTs and PIs when the document is
62
 * 'read from the database with DBReader.
63
 * '
64
 */
src/edu/ucsb/nceas/metacat/MetacatReplication.java
9 9
 *   '$Author$'
10 10
 *     '$Date$'
11 11
 * '$Revision$'
12
 *
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 26
 */
13 27

  
14 28
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/DBQuery.java
13 13
 *   '$Author$'
14 14
 *     '$Date$'
15 15
 * '$Revision$'
16
 *
17
 * This program is free software; you can redistribute it and/or modify
18
 * it under the terms of the GNU General Public License as published by
19
 * the Free Software Foundation; either version 2 of the License, or
20
 * (at your option) any later version.
21
 *
22
 * This program is distributed in the hope that it will be useful,
23
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25
 * GNU General Public License for more details.
26
 *
27
 * You should have received a copy of the GNU General Public License
28
 * along with this program; if not, write to the Free Software
29
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16 30
 */
17 31

  
18 32
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/MetaCatUtil.java
9 9
 *   '$Author$'
10 10
 *     '$Date$'
11 11
 * '$Revision$'
12
 *
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 26
 */
13 27

  
14 28
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/NodeComparator.java
9 9
 *   '$Author$'
10 10
 *     '$Date$'
11 11
 * '$Revision$'
12
 *
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 26
 */
13 27

  
14 28
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/AccessionNumberGeneratedException.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
......
29 43
    super(message);
30 44
  }
31 45
}
32

  
33
/**
34
 * '$Log$
35
 * 'Revision 1.1  2000/06/27 04:31:07  jones
36
 * 'Fixed bugs associated with the new UPDATE and DELETE functions of
37
 * 'DBWriter.  There were problematic interactions between some static
38
 * 'variables used in DBEntityResolver and the way in which the
39
 * 'Servlet objects are re-used across multiple client invocations.
40
 * '
41
 * 'Generally cleaned up error reporting.  Now all errors and success
42
 * 'results are reported as XML documents from MetaCatServlet.  Need
43
 * 'to make the command line tools do the same.
44
 * '
45
 */
src/edu/ucsb/nceas/metacat/PINode.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
......
58 72

  
59 73
/**
60 74
 * '$Log$
75
 * 'Revision 1.2  2000/08/14 20:53:34  jones
76
 * 'Added "release" keyword to all metacat source files so that the release
77
 * 'number will be evident in software distributions.
78
 * '
61 79
 * 'Revision 1.1  2000/06/28 02:36:26  jones
62 80
 * 'Added feature to now ouput COMMENTs and PIs when the document is
63 81
 * 'read from the database with DBReader.
src/edu/ucsb/nceas/metacat/DBTransform.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
......
179 193
  }
180 194

  
181 195
}
182

  
183
/**
184
 * '$Log$
185
 * 'Revision 1.8  2000/06/26 10:35:05  jones
186
 * 'Merged in substantial changes to DBWriter and associated classes and to
187
 * 'the MetaCatServlet in order to accomodate the new UPDATE and DELETE
188
 * 'functions.  The command line tools and the parameters for the
189
 * 'servlet have changed substantially.
190
 * '
191
 * 'Revision 1.7.2.2  2000/06/25 23:38:16  jones
192
 * 'Added RCSfile keyword
193
 * '
194
 * 'Revision 1.7.2.1  2000/06/25 23:34:18  jones
195
 * 'Changed documentation formatting, added log entries at bottom of source files
196
 * ''
197
 */
src/edu/ucsb/nceas/metacat/MetaCatServlet.java
9 9
 *   '$Author$'
10 10
 *     '$Date$'
11 11
 * '$Revision$'
12
 *
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 26
 */
13 27

  
14 28
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/TextNode.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
......
54 68
        return nodeData;
55 69
    }
56 70
}
57

  
58
/**
59
 * '$Log$
60
 * 'Revision 1.8  2000/06/28 02:36:26  jones
61
 * 'Added feature to now ouput COMMENTs and PIs when the document is
62
 * 'read from the database with DBReader.
63
 * '
64
 * 'Revision 1.7  2000/06/26 10:35:05  jones
65
 * 'Merged in substantial changes to DBWriter and associated classes and to
66
 * 'the MetaCatServlet in order to accomodate the new UPDATE and DELETE
67
 * 'functions.  The command line tools and the parameters for the
68
 * 'servlet have changed substantially.
69
 * '
70
 * 'Revision 1.6.2.2  2000/06/25 23:38:17  jones
71
 * 'Added RCSfile keyword
72
 * '
73
 * 'Revision 1.6.2.1  2000/06/25 23:34:18  jones
74
 * 'Changed documentation formatting, added log entries at bottom of source files
75
 * ''
76
 */
src/edu/ucsb/nceas/metacat/DBSAXHandler.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/AccessionNumberException.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
......
35 49
    super(message);
36 50
  }
37 51
}
38

  
39
/**
40
 * '$Log$
41
 * 'Revision 1.2  2000/06/26 10:35:04  jones
42
 * 'Merged in substantial changes to DBWriter and associated classes and to
43
 * 'the MetaCatServlet in order to accomodate the new UPDATE and DELETE
44
 * 'functions.  The command line tools and the parameters for the
45
 * 'servlet have changed substantially.
46
 * '
47
 * 'Revision 1.1.2.1  2000/06/25 23:55:50  jones
48
 * 'Added AccessionNumberException to provide mechanism for handling
49
 * 'invalid or inappropriate accession numbers.
50
 * ''
51
 */
src/edu/ucsb/nceas/metacat/DataFileUploadInterface.java
9 9
 *   '$Author$'
10 10
 *     '$Date$'
11 11
 * '$Revision$'
12
 *
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 26
 */
13 27

  
14 28
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/DataFileServer.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/DocumentImpl.java
9 9
 *   '$Author$'
10 10
 *     '$Date$'
11 11
 * '$Revision$'
12
 *
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 26
 */
13 27

  
14 28
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/DBEntityResolver.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
......
298 312
    }    
299 313
  }   
300 314
}
301

  
302
/**
303
 * '$Log$
304
 * 'Revision 1.15  2000/08/14 20:53:33  jones
305
 * 'Added "release" keyword to all metacat source files so that the release
306
 * 'number will be evident in software distributions.
307
 * '
308
 * 'Revision 1.14  2000/06/30 00:52:04  jones
309
 * 'changed char stream to byte stream
310
 * '
311
 * 'Revision 1.13  2000/06/29 23:27:08  jones
312
 * 'Fixed bug in DBEntityResolver so that it now properly delegates to
313
 * 'the system id found inthe database.
314
 * 'Changed DBValidate to use DBEntityResolver, rather than the OASIS
315
 * 'catalog, and to return validation results in XML format.
316
 * '
317
 * 'Revision 1.12  2000/06/27 04:31:07  jones
318
 * 'Fixed bugs associated with the new UPDATE and DELETE functions of
319
 * 'DBWriter.  There were problematic interactions between some static
320
 * 'variables used in DBEntityResolver and the way in which the
321
 * 'Servlet objects are re-used across multiple client invocations.
322
 * '
323
 * 'Generally cleaned up error reporting.  Now all errors and success
324
 * 'results are reported as XML documents from MetaCatServlet.  Need
325
 * 'to make the command line tools do the same.
326
 * '
327
 * 'Revision 1.11  2000/06/26 10:35:04  jones
328
 * 'Merged in substantial changes to DBWriter and associated classes and to
329
 * 'the MetaCatServlet in order to accomodate the new UPDATE and DELETE
330
 * 'functions.  The command line tools and the parameters for the
331
 * 'servlet have changed substantially.
332
 * '
333
 * 'Revision 1.10.2.2  2000/06/25 23:38:16  jones
334
 * 'Added RCSfile keyword
335
 * '
336
 * 'Revision 1.10.2.1  2000/06/25 23:34:17  jones
337
 * 'Changed documentation formatting, added log entries at bottom of source files
338
 * ''
339
 */
src/edu/ucsb/nceas/metacat/ReplMessageHandler.java
1 1
/**
2 2
 *  '$RCSfile$'
3
 *    Purpose: A class that handles xml messages  passed by  the replication handler
3
 *    Purpose: A class that handles xml messages passed by the 
4
 *             replication handler
4 5
 *  Copyright: 2000 Regents of the University of California and the
5 6
 *             National Center for Ecological Analysis and Synthesis
6 7
 *    Authors: Chad Berkley
......
9 10
 *   '$Author$'
10 11
 *     '$Date$'
11 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 27
 */
13 28

  
14 29
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/AuthMcat.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/ReplicationHandler.java
9 9
 *   '$Author$'
10 10
 *     '$Date$'
11 11
 * '$Revision$'
12
 *
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 26
 */
13 27
 
14 28
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/RelationHandler.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28
 
15 29
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/DBDTDHandler.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
......
142 156
*/
143 157

  
144 158
}
145

  
146
/**
147
 * '$Log$
148
 * 'Revision 1.10  2000/06/27 04:31:07  jones
149
 * 'Fixed bugs associated with the new UPDATE and DELETE functions of
150
 * 'DBWriter.  There were problematic interactions between some static
151
 * 'variables used in DBEntityResolver and the way in which the
152
 * 'Servlet objects are re-used across multiple client invocations.
153
 * '
154
 * 'Generally cleaned up error reporting.  Now all errors and success
155
 * 'results are reported as XML documents from MetaCatServlet.  Need
156
 * 'to make the command line tools do the same.
157
 * '
158
 * 'Revision 1.9  2000/06/26 10:35:04  jones
159
 * 'Merged in substantial changes to DBWriter and associated classes and to
160
 * 'the MetaCatServlet in order to accomodate the new UPDATE and DELETE
161
 * 'functions.  The command line tools and the parameters for the
162
 * 'servlet have changed substantially.
163
 * '
164
 * 'Revision 1.8.2.2  2000/06/25 23:38:16  jones
165
 * 'Added RCSfile keyword
166
 * '
167
 * 'Revision 1.8.2.1  2000/06/25 23:34:17  jones
168
 * 'Changed documentation formatting, added log entries at bottom of source files
169
 * ''
170
 */
src/edu/ucsb/nceas/metacat/AccessionNumber.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
......
201 215
  }    
202 216

  
203 217
}
204

  
205
/**
206
 * '$Log$
207
 * 'Revision 1.16  2000/12/06 17:59:03  berkley
208
 * 'made replication on insert or update us.  Also made a method in AccessionNumber public so that you can tell if an accession number has already been used.e place be
209
 * '
210
 * 'Revision 1.15  2000/11/30 22:41:32  bojilova
211
 * 'change the generation of Accession# in the form of <sidecode>.<createdate>
212
 * '
213
 * 'Revision 1.14  2000/09/28 18:05:46  bojilova
214
 * 'Changed to prevent the insertion if the provided Accession# is in use as Dan suggested.
215
 * '
216
 * 'Revision 1.13  2000/09/20 20:15:58  bojilova
217
 * 'change Assession# generation to use the same db connection
218
 * '
219
 * 'Revision 1.12  2000/08/30 18:19:41  bojilova
220
 * 'cleared static methods in AccessionNumber classes for fixing bug found
221
 * 'when multiple requests to the servlet at a time.
222
 * '
223
 * 'Revision 1.11  2000/08/14 20:53:33  jones
224
 * 'Added "release" keyword to all metacat source files so that the release
225
 * 'number will be evident in software distributions.
226
 * '
227
 * 'Revision 1.10  2000/06/27 04:31:07  jones
228
 * 'Fixed bugs associated with the new UPDATE and DELETE functions of
229
 * 'DBWriter.  There were problematic interactions between some static
230
 * 'variables used in DBEntityResolver and the way in which the
231
 * 'Servlet objects are re-used across multiple client invocations.
232
 * '
233
 * 'Generally cleaned up error reporting.  Now all errors and success
234
 * 'results are reported as XML documents from MetaCatServlet.  Need
235
 * 'to make the command line tools do the same.
236
 * '
237
 * 'Revision 1.9  2000/06/26 10:35:04  jones
238
 * 'Merged in substantial changes to DBWriter and associated classes and to
239
 * 'the MetaCatServlet in order to accomodate the new UPDATE and DELETE
240
 * 'functions.  The command line tools and the parameters for the
241
 * 'servlet have changed substantially.
242
 * '
243
 * 'Revision 1.8.2.5  2000/06/26 08:38:01  jones
244
 * 'Added DELETE feature to DBWriter.  Now takes an action "DELETE" and a
245
 * 'docid and will move the record from the xml_documents table to the
246
 * 'xml_revisions table.
247
 * 'Modified option parsing to support option symbols on command line.
248
 * '
249
 * 'Revision 1.8.2.4  2000/06/25 23:11:40  jones
250
 * 'Documentation update
251
 * '
252
 * 'Revision 1.8.2.3  2000/06/25 23:08:31  jones
253
 * 'Minor change to excpetion handling
254
 * ''
255
 */
src/edu/ucsb/nceas/metacat/AuthInterface.java
10 10
 *   '$Author$'
11 11
 *     '$Date$'
12 12
 * '$Revision$'
13
 *
14
 * This program is free software; you can redistribute it and/or modify
15
 * it under the terms of the GNU General Public License as published by
16
 * the Free Software Foundation; either version 2 of the License, or
17
 * (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 27
 */
14 28

  
15 29
package edu.ucsb.nceas.metacat;
src/edu/ucsb/nceas/metacat/HttpMessage.java
1 1
/**
2
 *        Name: HttpMessage.java
3
 *     Purpose: Used for Java applet/application communication
4
 *              with servlet. Based on code given in the book
5
 *              "Java Servlet Programming" by Hunter & crawford
6
 *   Copyright: 2000 Regents of the University of California and the
7
 *              National Center for Ecological Analysis and Synthesis
8
 *     Authors: Dan Higgins modified for metacat by Chad Berkley
2
 *  '$RCSfile$'
3
 *    Purpose: Used for Java applet/application communication
4
 *             with servlet. Based on code given in the book
5
 *             "Java Servlet Programming" by Hunter & crawford
6
 *  Copyright: 2000 Regents of the University of California and the
7
 *             National Center for Ecological Analysis and Synthesis
8
 *    Authors: Dan Higgins modified for metacat by Chad Berkley
9
 *    Release: @release@
9 10
 *
10
 *     Version: '$Id$'
11
 *   '$Author$'
12
 *     '$Date$'
13
 * '$Revision$'
11 14
 *
12
 *     '$Author$'
13
 *     '$Date$'
14
 *     '$Revision$'
15
 * This program is free software; you can redistribute it and/or modify
16
 * it under the terms of the GNU General Public License as published by
17
 * the Free Software Foundation; either version 2 of the License, or
18
 * (at your option) any later version.
19
 *
20
 * This program is distributed in the hope that it will be useful,
21
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
 * GNU General Public License for more details.
24
 *
25
 * You should have received a copy of the GNU General Public License
26
 * along with this program; if not, write to the Free Software
27
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15 28
 */
16 29

  
17 30
package edu.ucsb.nceas.metacat;
......
20 33
import java.net.*;
21 34
import java.util.*;
22 35

  
36
/**
37
 * Send a message to an HTTP server using either a GET or POST operation
38
 */
23 39
public class HttpMessage {
24 40
    public String contype;
25 41
    URL servlet = null;
......
139 155
        return buf.toString();
140 156
    }
141 157
}
142

  
src/edu/ucsb/nceas/metacat/DBSimpleQuery.java
12 12
 *   '$Author$'
13 13
 *     '$Date$'
14 14
 * '$Revision$'
15
 *
16
 * This program is free software; you can redistribute it and/or modify
17
 * it under the terms of the GNU General Public License as published by
18
 * the Free Software Foundation; either version 2 of the License, or
19
 * (at your option) any later version.
20
 *
21
 * This program is distributed in the hope that it will be useful,
22
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24
 * GNU General Public License for more details.
25
 *
26
 * You should have received a copy of the GNU General Public License
27
 * along with this program; if not, write to the Free Software
28
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15 29
 */
16 30

  
17 31
package edu.ucsb.nceas.metacat;
......
199 213
    return docListResult;
200 214
  }
201 215
}
202

  
203
/**
204
 * '$Log$
205
 * 'Revision 1.17  2000/07/26 20:40:40  higgins
206
 * 'no message
207
 * '
208
 * 'Revision 1.16  2000/06/26 10:35:05  jones
209
 * 'Merged in substantial changes to DBWriter and associated classes and to
210
 * 'the MetaCatServlet in order to accomodate the new UPDATE and DELETE
211
 * 'functions.  The command line tools and the parameters for the
212
 * 'servlet have changed substantially.
213
 * '
214
 * 'Revision 1.15.2.2  2000/06/25 23:38:16  jones
215
 * 'Added RCSfile keyword
216
 * '
217
 * 'Revision 1.15.2.1  2000/06/25 23:34:17  jones
218
 * 'Changed documentation formatting, added log entries at bottom of source files
219
 * ''
220
 */
src/edu/ucsb/nceas/metacat/BasicNode.java
9 9
 *   '$Author$'
10 10
 *     '$Date$'
11 11
 * '$Revision$'
12
 *
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
12 26
 */
13 27

  
14 28
package edu.ucsb.nceas.metacat;
......
219 233
    }    
220 234

  
221 235
}
222

  
223
/**
224
 * '$Log$
225
 * 'Revision 1.20  2000/06/26 10:35:04  jones
226
 * 'Merged in substantial changes to DBWriter and associated classes and to
227
 * 'the MetaCatServlet in order to accomodate the new UPDATE and DELETE
228
 * 'functions.  The command line tools and the parameters for the
229
 * 'servlet have changed substantially.
230
 * '
231
 * 'Revision 1.19.2.2  2000/06/25 23:38:16  jones
232
 * 'Added RCSfile keyword
233
 * '
234
 * 'Revision 1.19.2.1  2000/06/25 23:34:17  jones
235
 * 'Changed documentation formatting, added log entries at bottom of source files
236
 * ''
237
 */

Also available in: Unified diff