| Package | Description |
|---|---|
| org.mmbase.applications.xmlimporter |
Provides classes and interfaces for importing a Temporary Cloud of Objects (TCP) into the permanent MMBase Persistent Cloud of Objects (PCO).
|
| Modifier and Type | Method and Description |
|---|---|
TmpObject |
Transaction.accessObject(String objectId,
int mmbaseId)
Create access object for an object in the persistent cloud,
in the context of this transaction.
|
protected TmpObject |
Transaction.caculateMerge(TmpObject tempObj1,
TmpObject tempObj2,
ObjectMerger merger)
Calculates the fields that would result from merging two
temporary objects in this transaction.
|
TmpObject |
Transaction.createObject(String objectId,
String type,
boolean disposeWhenNotReferenced)
Create object in the context of this transaction.
|
TmpObject |
Transaction.createRelation(String objectId,
String type,
String source,
String destination)
Create relation in the context of this transaction.
|
TmpObject |
Transaction.getAccessObject(int mmbaseId)
Gets an access object for a specified node in the persistent
cloud.
|
TmpObject |
Transaction.getMergedObject(TmpObject tempObj1)
Gets merged object, resulting from previous merge operations.
|
TmpObject |
Consultant.getOriginalObject()
Returns the original object.
|
TmpObject |
Transaction.openObject(String objectId)
Open object in the context of this transaction.
|
| Modifier and Type | Method and Description |
|---|---|
List<TmpObject> |
SimilarObjectFinder.findSimilarObject(Transaction transaction,
TmpObject tmpObj)
Searches for similar object.
|
List<TmpObject> |
BasicFinder.findSimilarObject(Transaction transaction,
TmpObject tmpObj)
Searches for similar object.
|
List<TmpObject> |
SpecificObjectFinder.findSimilarObject(Transaction transaction,
TmpObject tmpObj)
Searches for similar object.
|
List<TmpObject> |
Consultant.getMergeResults()
Returns the a list of merge results.
|
(package private) HashMap<String,TmpObject> |
Transaction.getObjectContexts()
Gets HashMap of all non-anonymous object contexts, mapped by their id.
|
List<TmpObject> |
Transaction.getRelations(TmpObject tmpObject)
For an object in this transaction, looks up all its relations,
and returns access objects for these.
|
List<TmpObject> |
Transaction.getTmpObjects()
Gets (unmodifiable) list of all temporary objects in the transaction.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BasicMerger.areDuplicates(TmpObject relation1,
TmpObject relation2)
Tests if two relations should be considered duplicates,
indicating that one of them can be disposed of.
|
boolean |
ObjectMerger.areDuplicates(TmpObject relation1,
TmpObject relation2)
Tests if two relations should be considered duplicates,
indicating that one of them must be disposed of.
|
protected TmpObject |
Transaction.caculateMerge(TmpObject tempObj1,
TmpObject tempObj2,
ObjectMerger merger)
Calculates the fields that would result from merging two
temporary objects in this transaction.
|
(package private) int |
InteractiveTransaction.consult(TmpObject originalObject,
List<TmpObject> mergeResults)
Handles sitiuations where more then one similar objects are found to
merge with.
|
void |
Consultant.consultUser(TmpObject originalObject,
List<TmpObject> mergeResults)
Consult the user for a mergeresult choice.
|
void |
TmpObject.copyDestinationOf(TmpObject tmpObj)
Copies destination of relation in temporary cloud to this object.
|
void |
TmpObject.copySourceOf(TmpObject tmpObj)
Copies source of relation in temporary cloud to this object.
|
void |
Transaction.deleteObject(TmpObject tmpObject)
Deletes object from the context of this transaction, as
well as its relations.
|
(package private) void |
Transaction.dropIfRequested(TmpObject tmpObject)
Drops an object from the temporary cloud, based on its
disposeWhenNotReferenced flag - i.e.
|
protected boolean |
Transaction.equalRelations(TmpObject tmpObj1,
TmpObject tmpObj2)
Test if two objects in the temporary cloud represent the same relation
(are of same relation type and have the same source and destination objects).
|
List<TmpObject> |
SimilarObjectFinder.findSimilarObject(Transaction transaction,
TmpObject tmpObj)
Searches for similar object.
|
List<TmpObject> |
BasicFinder.findSimilarObject(Transaction transaction,
TmpObject tmpObj)
Searches for similar object.
|
List<TmpObject> |
SpecificObjectFinder.findSimilarObject(Transaction transaction,
TmpObject tmpObj)
Searches for similar object.
|
abstract Collection<Integer> |
BasicFinder.getClosePersistentObjects(TmpObject tmpObj)
Gets MMBase id's for all objects from persistent cloud that
might produce a qualifying match with the given object
(possibly including the object itself).
|
abstract Collection<Integer> |
BasicFinder.getExactPersistentObjects(TmpObject tmpObj)
Gets MMBase id's for all objects from persistent cloud that
produce an exact match with the given object (possibly
including the object itself).
|
TmpObject |
Transaction.getMergedObject(TmpObject tempObj1)
Gets merged object, resulting from previous merge operations.
|
List<TmpObject> |
Transaction.getRelations(TmpObject tmpObject)
For an object in this transaction, looks up all its relations,
and returns access objects for these.
|
protected boolean |
Transaction.handleDuplicates(TmpObject tempObj,
List<TmpObject> similarObjects,
ObjectMerger merger)
Handles sitiuations where more then one similar objects are found to
merge with.
|
protected boolean |
InteractiveTransaction.handleDuplicates(TmpObject tempObj,
List<TmpObject> similarObjects,
ObjectMerger merger)
Handles sitiuations where more then one similar objects are found to
merge with.
|
boolean |
BasicMerger.isAllowedToAdd(TmpObject tmpObj)
Tests if this object should be added to the persistent cloud
when not present already.
|
boolean |
ObjectMerger.isAllowedToAdd(TmpObject tmpObj)
Tests if this object should be added to the persistent cloud
when not present already.
|
boolean |
TmpObject.isDestinationOf(TmpObject tempRel)
Tests if this node is the destination node of a relation.
|
boolean |
TmpObject.isSourceOf(TmpObject tempRel)
Tests if this node is the source node of a relation.
|
void |
Transaction.markDeleteObject(TmpObject tmpObject,
boolean deleteRelations)
Mark object in the context of this transaction for deletion.
|
void |
Transaction.merge(TmpObject tempObj1,
TmpObject tempObj2,
ObjectMerger merger)
Merges two temporary objects in this transaction.
|
void |
BasicMerger.mergeField(TmpObject tmpObj1,
TmpObject tmpObj2,
String name)
Merge a field.
|
void |
ObjectMerger.mergeField(TmpObject tmpObj1,
TmpObject tmpObj2,
String name)
Merges a field.
|
void |
BasicMerger.mergeRelations(TmpObject tmpObj1,
TmpObject tmpObj2,
List<TmpObject> relations1,
List<TmpObject> relations2)
Merge relations.
|
void |
ObjectMerger.mergeRelations(TmpObject tmpObj1,
TmpObject tmpObj2,
List<TmpObject> relations1,
List<TmpObject> relations2)
Merges relations.
|
abstract float |
BasicFinder.scoreNode(TmpObject tmpObj1,
TmpObject tmpObj2)
Calculates matching rate for two objects.
|
void |
TmpObject.setDestination(TmpObject tmpObj)
Sets destination for relation in temporary cloud.
|
void |
TmpObject.setSource(TmpObject tmpObj)
Sets source for relation in temporary cloud.
|
protected boolean |
Transaction.stillExists(TmpObject tmpObject)
Tests if this object still exists in the temporary cloud.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
InteractiveTransaction.consult(TmpObject originalObject,
List<TmpObject> mergeResults)
Handles sitiuations where more then one similar objects are found to
merge with.
|
void |
Consultant.consultUser(TmpObject originalObject,
List<TmpObject> mergeResults)
Consult the user for a mergeresult choice.
|
protected boolean |
Transaction.handleDuplicates(TmpObject tempObj,
List<TmpObject> similarObjects,
ObjectMerger merger)
Handles sitiuations where more then one similar objects are found to
merge with.
|
protected boolean |
InteractiveTransaction.handleDuplicates(TmpObject tempObj,
List<TmpObject> similarObjects,
ObjectMerger merger)
Handles sitiuations where more then one similar objects are found to
merge with.
|
void |
BasicMerger.mergeRelations(TmpObject tmpObj1,
TmpObject tmpObj2,
List<TmpObject> relations1,
List<TmpObject> relations2)
Merge relations.
|
void |
BasicMerger.mergeRelations(TmpObject tmpObj1,
TmpObject tmpObj2,
List<TmpObject> relations1,
List<TmpObject> relations2)
Merge relations.
|
void |
ObjectMerger.mergeRelations(TmpObject tmpObj1,
TmpObject tmpObj2,
List<TmpObject> relations1,
List<TmpObject> relations2)
Merges relations.
|
void |
ObjectMerger.mergeRelations(TmpObject tmpObj1,
TmpObject tmpObj2,
List<TmpObject> relations1,
List<TmpObject> relations2)
Merges relations.
|
| Constructor and Description |
|---|
SpecificObjectFinder(TmpObject tmpObj1,
TmpObject tmpObj2)
Creates new SpecificObjectFinder.
|
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}