public class LegacyTopiaIdFactory extends Object implements TopiaIdFactory
TopiaIdFactory with Topia 2.x and before ids.
Suitable if you already have a database and your application need
to generate ids like the old ones.| Constructor and Description |
|---|
LegacyTopiaIdFactory() |
| Modifier and Type | Method and Description |
|---|---|
Class |
getClassName(String topiaId)
Extrait la classe du topiaId.
|
<E extends TopiaEntity> |
newTopiaId(Class<E> entityClass,
TopiaEntity topiaEntity) |
public <E extends TopiaEntity> String newTopiaId(Class<E> entityClass, TopiaEntity topiaEntity)
newTopiaId in interface TopiaIdFactorypublic Class getClassName(String topiaId) throws TopiaNotFoundException
getClassName in interface TopiaIdFactorytopiaId - TopiaNotFoundExceptionCopyright © 2004–2013 CodeLutin. All rights reserved.