org.dspace.administer
Class CommunityFiliator

java.lang.Object
  extended by org.dspace.administer.CommunityFiliator

public class CommunityFiliator
extends Object

A command-line tool for setting/removing community/sub-community relationships. Takes community DB Id or handle arguments as inputs.

Version:
$Revision: 3733 $
Author:
rrodgers

Constructor Summary
CommunityFiliator()
           
 
Method Summary
 void defiliate(Context c, Community parent, Community child)
           
 void filiate(Context c, Community parent, Community child)
           
static void main(String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommunityFiliator

public CommunityFiliator()
Method Detail

main

public static void main(String[] argv)
                 throws Exception
Throws:
Exception

filiate

public void filiate(Context c,
                    Community parent,
                    Community child)
             throws SQLException,
                    AuthorizeException,
                    IOException
Throws:
SQLException
AuthorizeException
IOException

defiliate

public void defiliate(Context c,
                      Community parent,
                      Community child)
               throws SQLException,
                      AuthorizeException,
                      IOException
Throws:
SQLException
AuthorizeException
IOException


Copyright © 2010 DuraSpace. All Rights Reserved.