com.atlassian.crowd.util.persistence.hibernate.batch
Class BatchResultWithIdReferences<T>

java.lang.Object
  extended by com.atlassian.crowd.util.BatchResult<T>
      extended by com.atlassian.crowd.util.persistence.hibernate.batch.BatchResultWithIdReferences<T>

public class BatchResultWithIdReferences<T>
extends BatchResult<T>

Batch result that stores ID references of all the directory entities that were successfully processed by the batch.


Constructor Summary
BatchResultWithIdReferences(int totalEntities)
           
 
Method Summary
 void addIdReference(InternalDirectoryEntity entity)
           
 Long getIdReference(Long directoryId, String name)
           
 
Methods inherited from class com.atlassian.crowd.util.BatchResult
addFailure, addFailures, addSuccess, addSuccesses, getFailedEntities, getSuccessfulEntities, getTotalAttempted, getTotalSuccessful, hasFailures
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchResultWithIdReferences

public BatchResultWithIdReferences(int totalEntities)
Method Detail

addIdReference

public void addIdReference(InternalDirectoryEntity entity)

getIdReference

public Long getIdReference(Long directoryId,
                           String name)


Copyright © 2013 Atlassian. All Rights Reserved.