org.edg.data.util.attribute
Class BulkOperations
java.lang.Object
|
+--org.edg.data.util.attribute.BulkOperations
- public final class BulkOperations
- extends java.lang.Object
This contains Bulk get/set operations against the database
- Version:
- $ Id:$
- Author:
- James Casey
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BulkOperations
public BulkOperations(SQLHelpers helpers,
MappingHandler mappingHandler,
AttributeHandler entryAttr)
BulkOperations
public BulkOperations(SQLHelpers helpers,
MappingHandler mappingHandler,
AttributeHandler entryAttr,
AttributeHandler guidAttr)
setMappingsWithAttributes
public void setMappingsWithAttributes(java.sql.Connection conn,
java.util.List mappings)
throws java.sql.SQLException,
NoSuchAttributeDefinitionException,
UnappropriateAttributeTypeException,
EntryExistsException
java.sql.SQLException
NoSuchAttributeDefinitionException
UnappropriateAttributeTypeException
EntryExistsException
getMappingsWithAttributes
public java.util.List getMappingsWithAttributes(java.sql.Connection conn,
java.util.List guids)
throws ConnectionException
- get all the mappings for a list of
guid
s.
- Parameters:
conn
- the db connectionguids
- a List
of String
s
- Returns:
- a
List
of Mapping
objects
- Throws:
ConnectionException
- if there is a problem with the connection
to the back end database