Interface MembershipImporter
- All Known Implementing Classes:
DefaultMembershipImporter
public interface MembershipImporter
Interface that reads data and tries to create memberships.
- Version:
- $Id: MembershipImporter.java,v 1.5 2009-08-12 04:52:14 mchyzer Exp $
-
Method Summary
-
Method Details
-
load
int load(Group group, Reader input, PrintWriter output, Element config, Field field) throws IOException, SchemaException Parses data to resolve to a Subject and attempts to add the Subject to the Group membership. If a Subject cannot be resolved and error count is incremented - and returned, and an error message is written to output. This method would normally be called indirectly from MembershipImportManager, which reads configuration information from an XML file. Implementation specific configuration is encoded as XML attributes- Parameters:
group
-input
-output
-config
-nav
-- Returns:
- count of errors encountered during load
- Throws:
IOException
SchemaException
-