Revision 2145 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/persistence/PersistenceManager.java
PersistenceManager.java | ||
---|---|---|
27 | 27 |
import java.io.OutputStream; |
28 | 28 |
import java.util.List; |
29 | 29 |
import java.util.Map; |
30 |
import org.apache.commons.lang3.mutable.MutableInt; |
|
30 | 31 |
|
31 | 32 |
import org.gvsig.tools.dynobject.DynStruct; |
32 | 33 |
import org.gvsig.tools.persistence.exception.AddDefinitionException; |
... | ... | |
34 | 35 |
import org.gvsig.tools.persistence.exception.PersistenceCreateException; |
35 | 36 |
import org.gvsig.tools.persistence.exception.PersistenceException; |
36 | 37 |
import org.gvsig.tools.persistence.exception.PersistenceValidateExceptions; |
38 |
import org.gvsig.tools.persistence.spi.PersistentContextServices; |
|
37 | 39 |
|
38 | 40 |
/** |
39 | 41 |
* <p> |
... | ... | |
165 | 167 |
*/ |
166 | 168 |
public PersistentState getState(Object obj, boolean collectAllErrors) throws PersistenceException; |
167 | 169 |
|
170 |
public PersistentState getState(Object obj, boolean collectAllErrors, MutableInt referenceCounter) throws PersistenceException; |
|
171 |
|
|
168 | 172 |
/** |
169 | 173 |
* <p> |
170 | 174 |
* Instantiates an object from a persistent state. The PersistentState |
... | ... | |
573 | 577 |
|
574 | 578 |
public PersistentContext getNewContext(); |
575 | 579 |
|
580 |
public PersistentContext getNewContext(MutableInt referenceCounter); |
|
581 |
|
|
576 | 582 |
} |
Also available in: Unified diff