| 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.
|
(package private) void |
TransactionHandler.checkKey(String key)
Performs JB key test.
|
void |
Transaction.commit()
Commit 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.
|
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.
|
static Transaction |
Transaction.createTransaction(UserTransactionInfo uti,
String id,
boolean commitOnClose,
long timeOut)
Create a Transaction.
|
static Transaction |
Transaction.createTransaction(UserTransactionInfo uti,
String id,
boolean commitOnClose,
long timeOut,
File reportFile,
Consultant consultant)
Create a Transaction.
|
void |
Transaction.delete()
Delete this transaction.
|
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.
|
List<TmpObject> |
SimilarObjectFinder.findSimilarObject(Transaction transaction,
TmpObject tmpObj)
Searches for similar object.
|
List<TmpObject> |
BasicFinder.findSimilarObject(Transaction transaction,
TmpObject tmpObj)
Searches for similar object.
|
TmpObject |
Transaction.getAccessObject(int mmbaseId)
Gets an access object for a specified node in the persistent
cloud.
|
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.
|
void |
ObjectMerger.init(HashMap<String,String> params)
Initialize this instance (called once per transaction).
|
void |
SimilarObjectFinder.init(HashMap<String,String> params)
Initialize this instance (called once per transaction).
|
void |
Transaction.leave()
This method should be called when leaving this transaction's context.
|
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 |
Transaction.mergeObjects(String objectType,
SimilarObjectFinder finder,
ObjectMerger merger)
Merges all objects in this transaction of a given type.
|
static void |
SpecificObjectFinder.mergePersistentObjects(int mmbaseId1,
int mmbaseId2,
ObjectMerger merger)
Merge two objects in the persistent cloud (the database).
|
TmpObject |
Transaction.openObject(String objectId)
Open object in the context of this transaction.
|
static Transaction |
Transaction.openTransaction(UserTransactionInfo uti,
String id,
boolean commitOnClose)
Open previously created transaction.
|
void |
TransactionsParser.parse(Reader input)
Parse xml and execute transactions accordingly.
|
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}