Reviewed javadoc.
This commit is contained in:
@@ -26,18 +26,18 @@ import org.springframework.ldap.transaction.compensating.TempEntryRenamingStrate
|
||||
|
||||
/**
|
||||
* Default implementation of {@link TempEntryRenamingStrategy}. This
|
||||
* implementation simply adds "_temp" to the leftmost (least siginificant part)
|
||||
* of the name, e.g.:<br/>
|
||||
* implementation simply adds "_temp" to the leftmost (least significant part)
|
||||
* of the name. For example:
|
||||
*
|
||||
* <code>
|
||||
* <pre>
|
||||
* cn=john doe, ou=company1, c=SE
|
||||
* </code>
|
||||
* </pre>
|
||||
*
|
||||
* becomes
|
||||
* becomes:
|
||||
*
|
||||
* <code>
|
||||
* <pre>
|
||||
* cn=john doe_temp, ou=company1, c=SE
|
||||
* </code>.
|
||||
* </pre>
|
||||
* <p>
|
||||
* Note that using this strategy means that the entry remains in virtually the
|
||||
* same location as where it originally resided. This means that searches later
|
||||
@@ -58,8 +58,6 @@ public class DefaultTempEntryRenamingStrategy implements
|
||||
private String tempSuffix = DEFAULT_TEMP_SUFFIX;
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.support.transaction.TempEntryRenamingStrategy#getTemporaryName(javax.naming.Name)
|
||||
*/
|
||||
public Name getTemporaryName(Name originalName) {
|
||||
|
||||
@@ -28,10 +28,10 @@ import org.springframework.ldap.transaction.compensating.TempEntryRenamingStrate
|
||||
* A {@link TempEntryRenamingStrategy} that moves the entry to a different
|
||||
* subtree than the original entry. The specified subtree needs to be present in
|
||||
* the LDAP tree; it will not be created and operations using this strategy will
|
||||
* fail if it is not in place. However, this strategy is preferrable to
|
||||
* {@link DefaultTempEntryRenamingStrategy}, as it makes it possible to have
|
||||
* searches have the expected result even though the temporary entry still exits
|
||||
* until the end of the transaction.
|
||||
* fail if the destination is not in place. However, this strategy is preferable
|
||||
* to {@link DefaultTempEntryRenamingStrategy}, as it makes searches have the
|
||||
* expected result even though the temporary entry still exists during the
|
||||
* transaction.
|
||||
* <p>
|
||||
* Example: If the specified <code>subtreeNode</code> is
|
||||
* <code>ou=tempEntries</code> and the <code>originalName</code> is
|
||||
@@ -68,8 +68,6 @@ public class DifferentSubtreeTempEntryRenamingStrategy implements
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.support.transaction.TempEntryRenamingStrategy#getTemporaryName(javax.naming.Name)
|
||||
*/
|
||||
public Name getTemporaryName(Name originalName) {
|
||||
|
||||
Reference in New Issue
Block a user