edu.internet2.middleware.grouper.app.gsh
Class XmlImport

java.lang.Object
  extended by edu.internet2.middleware.grouper.app.gsh.XmlImport

public class XmlImport
extends Object

chaining object to import to the registry


Constructor Summary
XmlImport()
           
 
Method Summary
 XmlImport grouperSession(GrouperSession theGrouperSession)
          assign the grouper session to this importer
 XmlImport ignoreInternal(boolean isIgnoreInternal)
          set external properties file
 void importFromFile(File file)
          import from file
 void importFromString(String string)
          import from string
 void importFromUrl(URL url)
          import from string
 XmlImport stem(Stem theStem)
          import a stem and chain
 XmlImport updateList(boolean isUpdateList)
          import only groups or stems listed in this file
 XmlImport userProperties(File theUserProperties)
          set external properties file
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlImport

public XmlImport()
Method Detail

grouperSession

public XmlImport grouperSession(GrouperSession theGrouperSession)
assign the grouper session to this importer

Parameters:
theGrouperSession -
Returns:
this for chaining

stem

public XmlImport stem(Stem theStem)
import a stem and chain

Parameters:
theStem -
Returns:
this object for chaining

updateList

public XmlImport updateList(boolean isUpdateList)
import only groups or stems listed in this file

Parameters:
isUpdateList -
Returns:
the collection

userProperties

public XmlImport userProperties(File theUserProperties)
set external properties file

Parameters:
theUserProperties -
Returns:
the properties file

ignoreInternal

public XmlImport ignoreInternal(boolean isIgnoreInternal)
set external properties file

Parameters:
theUserProperties -
Returns:
the properties file

importFromFile

public void importFromFile(File file)
import from file

Parameters:
file -

importFromString

public void importFromString(String string)
import from string

Parameters:
string -

importFromUrl

public void importFromUrl(URL url)
import from string

Parameters:
url -