public final class ListCollectionMapper extends AbstractCollectionMapper<java.util.List> implements PropertyMapper
collectionClass, commonCollectionMapperData, ordinalInId, revisionTypeInId| Constructor and Description |
|---|
ListCollectionMapper(CommonCollectionMapperData commonCollectionMapperData,
MiddleComponentData elementComponentData,
MiddleComponentData indexComponentData,
boolean revisionTypeInId) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<java.lang.Object> |
buildCollectionChangeSet(java.lang.Object eventCollection,
java.util.Collection collection) |
protected Initializor<java.util.List> |
getInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
java.lang.Object primaryKey,
java.lang.Number revision,
boolean removed) |
protected java.util.Collection |
getNewCollectionContent(PersistentCollection newCollection) |
protected java.util.Collection |
getOldCollectionContent(java.io.Serializable oldCollection) |
protected void |
mapToMapFromObject(SessionImplementor session,
java.util.Map<java.lang.String,java.lang.Object> idData,
java.util.Map<java.lang.String,java.lang.Object> data,
java.lang.Object changed)
Maps the changed collection element to the given map.
|
createIdMap, hasPropertiesWithModifiedFlag, mapCollectionChanges, mapModifiedFlagsToMapForCollectionChange, mapModifiedFlagsToMapFromEntity, mapToEntityFromMap, mapToMapFromEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmapCollectionChanges, mapModifiedFlagsToMapForCollectionChange, mapModifiedFlagsToMapFromEntity, mapToEntityFromMap, mapToMapFromEntityhasPropertiesWithModifiedFlagpublic ListCollectionMapper(CommonCollectionMapperData commonCollectionMapperData, MiddleComponentData elementComponentData, MiddleComponentData indexComponentData, boolean revisionTypeInId)
protected Initializor<java.util.List> getInitializor(EnversService enversService, AuditReaderImplementor versionsReader, java.lang.Object primaryKey, java.lang.Number revision, boolean removed)
getInitializor in class AbstractCollectionMapper<java.util.List>protected java.util.Collection getNewCollectionContent(PersistentCollection newCollection)
getNewCollectionContent in class AbstractCollectionMapper<java.util.List>protected java.util.Collection getOldCollectionContent(java.io.Serializable oldCollection)
getOldCollectionContent in class AbstractCollectionMapper<java.util.List>protected void mapToMapFromObject(SessionImplementor session, java.util.Map<java.lang.String,java.lang.Object> idData, java.util.Map<java.lang.String,java.lang.Object> data, java.lang.Object changed)
AbstractCollectionMappermapToMapFromObject in class AbstractCollectionMapper<java.util.List>idData - Map to which composite-id data should be added.data - Where to map the data.changed - The changed collection element to map.protected java.util.Set<java.lang.Object> buildCollectionChangeSet(java.lang.Object eventCollection,
java.util.Collection collection)
buildCollectionChangeSet in class AbstractCollectionMapper<java.util.List>Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.