Uses of Interface
org.nuiton.topia.persistence.TopiaEntity
Packages that use TopiaEntity
Package
Description
This package contains most of the needed contracts when using ToPIA.
Events used for ToPIA services.
Package to define metadata over
TopiaEntity.-
Uses of TopiaEntity in org.nuiton.topia.persistence
Classes in org.nuiton.topia.persistence with type parameters of type TopiaEntityModifier and TypeClassDescriptionclassHqlAndParametersBuilder<E extends TopiaEntity>A builder to create syntactically correct HQL and associated parameters given properties or after various constraint adds.interfaceTopiaDao<E extends TopiaEntity>This contract represents the common operations any Dao should be able to provide as API.interfaceAdditional contract that aggregate bothTopiaQueryBuilderAddCriteriaStepandTopiaQueryBuilderRunQueryStepcontracts.interfaceTopiaQueryBuilderAddCriteriaStep<E extends TopiaEntity>Represents a step when building a query to add a constraint.interfaceTopiaQueryBuilderRunQueryStep<E extends TopiaEntity>This interface represents different common operations that a user may do after a query is defined (using theTopiaQueryBuilderAddCriteriaStep) There are different methods according to the supposed existence or uniqueness of the result.interfaceA subset ofTopiaQueryBuilderRunQueryStepfor certain API methods that should not allow findAll.Subinterfaces of TopiaEntity in org.nuiton.topia.persistenceModifier and TypeInterfaceDescriptioninterfaceFields in org.nuiton.topia.persistence with type parameters of type TopiaEntityModifier and TypeFieldDescriptionprotected Collection<TopiaEntity>DepthEntityVisitor.alreadyExploredCache of already explored entities.protected List<TopiaEntity>HorizontalEntityVisitor.alreadyExploredCache used to remember entity during exploration.protected List<TopiaEntity>HorizontalEntityVisitor.toVisitEntitiesEntity to be visited later.Methods in org.nuiton.topia.persistence with type parameters of type TopiaEntityModifier and TypeMethodDescription<E extends TopiaEntity>
voidDelete into this TopiaContext an entities created by another TopiaContextstatic <E extends TopiaEntity>
com.google.common.base.Predicate<E>TopiaEntities.entityHasId(String id) static <E extends TopiaEntity>
ETopiaEntities.findByTopiaId(Iterable<E> entities, String id) <E extends TopiaEntity>
ETopiaPersistenceContext.findByTopiaId(String topiaId) RetrieveTopiaEntityusing its uniquetopiaId.<R extends TopiaEntity>
List<R>TopiaDao.findUsages(Class<R> type, E entity) Find usages of the givenentityin the entities of the giventype.<E extends TopiaEntity>
Class<E>TopiaIdFactory.getClassName(String topiaId) <T extends TopiaEntity>
Class<T>TopiaApplicationContext.getContractClass(Class<T> klass) <E extends TopiaEntity>
TopiaDao<E>Get Dao for specified class.<E extends TopiaEntity,D extends TopiaDao<E>>
DGet Dao for specified class.<E extends TopiaEntity>
TTopiaEntityEnumProvider.getEntityEnum(Class<E> type) Method that returns the TopiaEntityEnum corresponding to the given entity's class.<T extends TopiaEntity>
Class<T>TopiaApplicationContext.getImplementationClass(Class<T> klass) static <E extends TopiaEntity>
com.google.common.base.Function<E,String> TopiaEntities.getTopiaIdFunction()Function to obtaingetTopiaId()from any entity.<E extends TopiaEntity>
StringTopiaIdFactory.newTopiaId(Class<E> entityClass, String randomPart) Builds a new topiaId for the given entity type and the given random part.<E extends TopiaEntity>
StringTopiaIdFactory.newTopiaId(Class<E> entityClass, TopiaEntity topiaEntity) Generates a new topiaId for the given entity type and the given entity.Methods in org.nuiton.topia.persistence that return types with arguments of type TopiaEntityModifier and TypeMethodDescriptionMap<Class<? extends TopiaEntity>,List<? extends TopiaEntity>> TopiaDao.findAllUsages(E entity) Find all usages of the givenentity.Map<Class<? extends TopiaEntity>,List<? extends TopiaEntity>> TopiaDao.findAllUsages(E entity) Find all usages of the givenentity.TopiaDao.getAggregate(E entity) TopiaEntityContextable.getAggregate()Deprecated.from 3.0, method will be moved to entity's generated Dao (cf http://nuiton.org/issues/2776)TopiaDao.getComposite(E entity) TopiaEntityContextable.getComposite()Deprecated.from 3.0, method will be moved to entity's generated Dao(cf http://nuiton.org/issues/2776)Class<? extends TopiaEntity>TopiaEntityEnum.getContract()Class<? extends TopiaEntity>[]TopiaApplicationContext.getContractClasses()Class<? extends TopiaEntity>TopiaEntityEnum.getImplementation()Note : this is a lazy accessor.Methods in org.nuiton.topia.persistence with parameters of type TopiaEntityModifier and TypeMethodDescriptionvoidTopiaPersistenceContext.delete(TopiaEntity entity) Delete into this TopiaContext an entity created by another TopiaContextvoidDepthEntityVisitor.end(TopiaEntity e) voidHorizontalEntityVisitor.end(TopiaEntity entity) voidTopiaEntityVisitor.end(TopiaEntity entity) Ends the visit of the given entity.<E extends TopiaEntity>
StringTopiaIdFactory.newTopiaId(Class<E> entityClass, TopiaEntity topiaEntity) Generates a new topiaId for the given entity type and the given entity.voidTopiaReplicationDestination.replicate(TopiaEntity entity) Must replicate given entity in current databasevoidDepthEntityVisitor.start(TopiaEntity e) voidHorizontalEntityVisitor.start(TopiaEntity entity) voidTopiaEntityVisitor.start(TopiaEntity entity) Start the visit of the given entity.voidTopiaPersistenceContext.update(TopiaEntity entity) Add into this TopiaContext an entity created by another TopiaContextvoidDepthEntityVisitor.visit(TopiaEntity e, String propertyName, Class<?> collectionType, Class<?> type, int index, Object value) voidDepthEntityVisitor.visit(TopiaEntity e, String propertyName, Class<?> collectionType, Class<?> type, Object value) voidDepthEntityVisitor.visit(TopiaEntity e, String propertyName, Class<?> type, Object value) voidHorizontalEntityVisitor.visit(TopiaEntity entity, String propertyName, Class<?> collectionType, Class<?> type, int index, Object value) voidHorizontalEntityVisitor.visit(TopiaEntity entity, String propertyName, Class<?> collectionType, Class<?> type, Object value) voidHorizontalEntityVisitor.visit(TopiaEntity entity, String propertyName, Class<?> type, Object value) voidTopiaEntityVisitor.visit(TopiaEntity entity, String propertyName, Class<?> collectionType, Class<?> type, int index, Object value) Visit a indexed value from a collection property for the given entity.voidTopiaEntityVisitor.visit(TopiaEntity entity, String propertyName, Class<?> collectionType, Class<?> type, Object value) Visit a collection property for the given entity.voidTopiaEntityVisitor.visit(TopiaEntity entity, String propertyName, Class<?> type, Object value) Visit a none indexed property for the given entity.Method parameters in org.nuiton.topia.persistence with type arguments of type TopiaEntityModifier and TypeMethodDescriptionbooleanTopiaEntityEnum.accept(Class<? extends TopiaEntity> klass) Test if a given type of entity is matching the contract of this entity. -
Uses of TopiaEntity in org.nuiton.topia.persistence.event
Classes in org.nuiton.topia.persistence.event with type parameters of type TopiaEntityModifier and TypeClassDescriptionclassTopiaEntitiesEvent<E extends TopiaEntity>TODO-fdesbois-20100507 : Need javadoc.Methods in org.nuiton.topia.persistence.event with type parameters of type TopiaEntityModifier and TypeMethodDescription<E extends TopiaEntity>
List<E>TopiaEntitiesVetoable.load(TopiaEntitiesEvent<E> event) Methods in org.nuiton.topia.persistence.event that return TopiaEntityMethods in org.nuiton.topia.persistence.event that return types with arguments of type TopiaEntityMethods in org.nuiton.topia.persistence.event with parameters of type TopiaEntityModifier and TypeMethodDescriptionbooleanTopiaTransactionEvent.isCreated(TopiaEntity entity) booleanTopiaTransactionEvent.isDeleted(TopiaEntity entity) booleanTopiaTransactionEvent.isLoaded(TopiaEntity entity) booleanTopiaTransactionEvent.isModification(TopiaEntity entity) booleanTopiaTransactionEvent.isRead(TopiaEntity entity) booleanTopiaTransactionEvent.isUpdated(TopiaEntity entity) booleanTopiaTransactionEvent.isWritten(TopiaEntity entity) Constructors in org.nuiton.topia.persistence.event with parameters of type TopiaEntityModifierConstructorDescriptionTopiaEntityEvent(TopiaPersistenceContext source, TopiaEntity entity, Object[] state) Constructor parameters in org.nuiton.topia.persistence.event with type arguments of type TopiaEntityModifierConstructorDescriptionTopiaTransactionEvent(TopiaPersistenceContext source, Map<TopiaEntity, EntityState> entities) -
Uses of TopiaEntity in org.nuiton.topia.persistence.internal
Classes in org.nuiton.topia.persistence.internal with type parameters of type TopiaEntityModifier and TypeClassDescriptionclassAbstractTopiaDao<E extends TopiaEntity>This class has the common methods usable for each Dao managed by Topia.static classAbstractTopiaDao.FindAllIterator<E extends TopiaEntity,O> static classstatic classClasses in org.nuiton.topia.persistence.internal that implement TopiaEntityFields in org.nuiton.topia.persistence.internal with type parameters of type TopiaEntityModifier and TypeFieldDescriptionprotected Map<Class<? extends TopiaEntity>,TopiaDao<? extends TopiaEntity>> AbstractTopiaPersistenceContext.daoCacheAlready loaded DAO cache within this persistence contextprotected Map<Class<? extends TopiaEntity>,TopiaDao<? extends TopiaEntity>> AbstractTopiaPersistenceContext.daoCacheAlready loaded DAO cache within this persistence contextprotected static final Map<String,Class<? extends TopiaEntity>> ShortTopiaIdFactory.ENTITY_CLASSESMethods in org.nuiton.topia.persistence.internal with type parameters of type TopiaEntityModifier and TypeMethodDescription<E extends TopiaEntity>
void<E extends TopiaEntity>
EAbstractTopiaPersistenceContext.findByTopiaId(String topiaId) protected <E extends TopiaEntity>
Class<E>ShortTopiaIdFactory.findClassName(String simpleClassName) <E extends TopiaEntity>
Class<E>FullyQualifiedNamePlusUuidTopiaIdFactory.getClassName(String topiaId) <E extends TopiaEntity>
Class<E>LegacyTopiaIdFactory.getClassName(String topiaId) <E extends TopiaEntity>
Class<E>ShortTopiaIdFactory.getClassName(String topiaId) <E extends TopiaEntity>
TopiaDao<E><E extends TopiaEntity,D extends TopiaDao<E>>
D<E extends TopiaEntity>
StringFullyQualifiedNamePlusUuidTopiaIdFactory.newTopiaId(Class<E> entityClass, String randomPart) <E extends TopiaEntity>
StringFullyQualifiedNamePlusUuidTopiaIdFactory.newTopiaId(Class<E> entityClass, TopiaEntity topiaEntity) <E extends TopiaEntity>
StringLegacyTopiaIdFactory.newTopiaId(Class<E> entityClass, String randomPart) <E extends TopiaEntity>
StringLegacyTopiaIdFactory.newTopiaId(Class<E> entityClass, TopiaEntity topiaEntity) <E extends TopiaEntity>
StringShortTopiaIdFactory.newTopiaId(Class<E> entityClass, String randomPart) <E extends TopiaEntity>
StringShortTopiaIdFactory.newTopiaId(Class<E> entityClass, TopiaEntity topiaEntity) <T extends TopiaEntity>
voidAbstractTopiaPersistenceContext.replicateEntities(TopiaReplicationDestination topiaReplicationDestination, List<T> entities) <T extends TopiaEntity>
voidAbstractTopiaPersistenceContext.replicateEntity(TopiaReplicationDestination topiaReplicationDestination, T entity) protected <O extends TopiaEntity>
List<O>AbstractTopiaDao.InnerTopiaQueryBuilderRunQueryStep.sortAccordingToIds(List<O> entities, List<String> idsList) This method can be used when it is not possible to sort entities in SQL/HQL.Methods in org.nuiton.topia.persistence.internal that return types with arguments of type TopiaEntityModifier and TypeMethodDescriptionprotected abstract Set<Class<? extends TopiaEntity>>AbstractTopiaApplicationContext.getImplementationClasses()Methods in org.nuiton.topia.persistence.internal with parameters of type TopiaEntityModifier and TypeMethodDescriptionvoidAbstractTopiaPersistenceContext.delete(TopiaEntity entity) <E extends TopiaEntity>
StringFullyQualifiedNamePlusUuidTopiaIdFactory.newTopiaId(Class<E> entityClass, TopiaEntity topiaEntity) <E extends TopiaEntity>
StringLegacyTopiaIdFactory.newTopiaId(Class<E> entityClass, TopiaEntity topiaEntity) <E extends TopiaEntity>
StringShortTopiaIdFactory.newTopiaId(Class<E> entityClass, TopiaEntity topiaEntity) voidAbstractTopiaPersistenceContext.replicate(TopiaEntity entity) voidAbstractTopiaPersistenceContext.update(TopiaEntity entity) Method parameters in org.nuiton.topia.persistence.internal with type arguments of type TopiaEntityModifier and TypeMethodDescriptionvoidAbstractTopiaApplicationContext.addTopiaEntityListener(Class<? extends TopiaEntity> entityClass, TopiaEntityListener listener) voidAbstractTopiaApplicationContext.addTopiaEntityVetoable(Class<? extends TopiaEntity> entityClass, TopiaEntityVetoable vetoable) voidAbstractTopiaApplicationContext.removeTopiaEntityListener(Class<? extends TopiaEntity> entityClass, TopiaEntityListener listener) voidAbstractTopiaApplicationContext.removeTopiaEntityVetoable(Class<? extends TopiaEntity> entityClass, TopiaEntityVetoable vetoable) -
Uses of TopiaEntity in org.nuiton.topia.persistence.internal.support
Fields in org.nuiton.topia.persistence.internal.support with type parameters of type TopiaEntityModifier and TypeFieldDescriptionprotected Map<TopiaEntity,EntityState> AbstractTopiaListenableSupport.transactionEntitiesMap to collect entities modifications during the current transactionMethods in org.nuiton.topia.persistence.internal.support with type parameters of type TopiaEntityModifier and TypeMethodDescription<E extends TopiaEntity>
List<E>TopiaFiresSupport.fireEntitiesLoad(TopiaJpaSupport context, List<E> entities) Notify entities listeners for load operation<T extends TopiaEntity>
voidHibernateTopiaReplicationSupport.replicateEntities(TopiaReplicationDestination topiaReplicationDestination, List<T> entities) <T extends TopiaEntity>
voidHibernateTopiaReplicationSupport.replicateEntity(TopiaReplicationDestination topiaReplicationDestination, T entity) Methods in org.nuiton.topia.persistence.internal.support with parameters of type TopiaEntityModifier and TypeMethodDescriptionvoidTopiaFiresSupport.fireOnPostCreate(TopiaPersistenceContext context, TopiaEntity entity, Object[] state) voidTopiaFiresSupport.fireOnPostDelete(TopiaPersistenceContext context, TopiaEntity entity, Object[] state) voidTopiaFiresSupport.fireOnPostLoad(TopiaPersistenceContext context, TopiaEntity entity, Object[] state) voidTopiaFiresSupport.fireOnPostRead(PropertyChangeSupport listeners, TopiaEntity entity, String propertyName, int index, Object value) voidTopiaFiresSupport.fireOnPostRead(PropertyChangeSupport listeners, TopiaEntity entity, String propertyName, Object value) voidTopiaFiresSupport.fireOnPostUpdate(TopiaPersistenceContext context, TopiaEntity entity, Object[] state) voidTopiaFiresSupport.fireOnPostWrite(PropertyChangeSupport listeners, TopiaEntity entity, String propertyName, int index, Object oldValue, Object newValue) voidTopiaFiresSupport.fireOnPostWrite(PropertyChangeSupport listeners, TopiaEntity entity, String propertyName, Object oldValue, Object newValue) voidTopiaFiresSupport.fireOnPreCreate(TopiaPersistenceContext context, TopiaEntity entity, Object[] state) voidTopiaFiresSupport.fireOnPreDelete(TopiaPersistenceContext context, TopiaEntity entity, Object[] state) voidTopiaFiresSupport.fireOnPreLoad(TopiaPersistenceContext context, TopiaEntity entity, Object[] state) voidTopiaFiresSupport.fireOnPreRead(VetoableChangeSupport vetoables, TopiaEntity entity, String propertyName, Object value) voidTopiaFiresSupport.fireOnPreUpdate(TopiaPersistenceContext context, TopiaEntity entity, Object[] state) voidTopiaFiresSupport.fireOnPreWrite(VetoableChangeSupport vetoables, TopiaEntity entity, String propertyName, Object oldValue, Object newValue) protected EntityStateTopiaFiresSupport.getEntityState(TopiaEntity entity) Get or create the entity state from theAbstractTopiaListenableSupport.transactionEntitiesmap.voidTopiaFiresSupport.notifyEntityCreated(TopiaEntity entity) Register an entity created during the current transaction.voidTopiaFiresSupport.notifyEntityDeleted(TopiaEntity entity) used to register objects deleted during transaction.voidTopiaFiresSupport.notifyEntityLoaded(TopiaEntity entity) Register an entity loaded during the current transaction.voidTopiaFiresSupport.notifyEntityRead(TopiaEntity entity) used to register objects loaded during transaction.voidTopiaFiresSupport.notifyEntityUpdated(TopiaEntity entity) used to register objects modified (update) during transaction.voidTopiaFiresSupport.notifyEntityWritten(TopiaEntity entity) used to register objects modified (setter) during transaction.voidHibernateTopiaReplicationSupport.replicate(TopiaEntity entity) Method parameters in org.nuiton.topia.persistence.internal.support with type arguments of type TopiaEntityModifier and TypeMethodDescriptionvoidAbstractTopiaListenableSupport.addTopiaEntityListener(Class<? extends TopiaEntity> entityClass, TopiaEntityListener listener) voidAbstractTopiaListenableSupport.addTopiaEntityVetoable(Class<? extends TopiaEntity> entityClass, TopiaEntityVetoable vetoable) voidAbstractTopiaListenableSupport.removeTopiaEntityListener(Class<? extends TopiaEntity> entityClass, TopiaEntityListener listener) voidAbstractTopiaListenableSupport.removeTopiaEntityVetoable(Class<? extends TopiaEntity> entityClass, TopiaEntityVetoable vetoable) -
Uses of TopiaEntity in org.nuiton.topia.persistence.legacy
Classes in org.nuiton.topia.persistence.legacy with type parameters of type TopiaEntityModifier and TypeClassDescriptionclassEntityListUpdator<P extends TopiaEntity,E extends TopiaEntity> A implementation ofListUpdatorforTopiaEntitytype.classEntityListUpdator<P extends TopiaEntity,E extends TopiaEntity> A implementation ofListUpdatorforTopiaEntitytype.Fields in org.nuiton.topia.persistence.legacy with type parameters of type TopiaEntityModifier and TypeFieldDescriptionprotected Map<String,Class<? extends TopiaEntity>> DBMapping.sequencesprotected Deque<TopiaEntity>Collector.CollectorVisitor.stackla pile des entites en cours de parcoursMethods in org.nuiton.topia.persistence.legacy with type parameters of type TopiaEntityModifier and TypeMethodDescriptionstatic <P extends TopiaEntity,E extends TopiaEntity>
EntityListUpdator<P,E> EntityListUpdator.newEntityListUpdator(Class<P> parentClass, Class<E> childClass, String propertyName) static <P extends TopiaEntity,E extends TopiaEntity>
EntityListUpdator<P,E> EntityListUpdator.newEntityListUpdator(Class<P> parentClass, Class<E> childClass, String propertyName) Methods in org.nuiton.topia.persistence.legacy that return TopiaEntityMethods in org.nuiton.topia.persistence.legacy that return types with arguments of type TopiaEntityModifier and TypeMethodDescriptionCollector.CollectorVisitor.getAlreadyExplored()protected Collection<TopiaEntity>Collector.getAlreadyExplored()protected Class<? extends TopiaEntity>Collector.getContractClass(TopiaEntity e) protected abstract Class<? extends TopiaEntity>DBMapping.getContractClass(Class<? extends TopiaEntity> entityClass) Collector.CollectorVisitor.getStack()protected Deque<TopiaEntity>Collector.getStack()Methods in org.nuiton.topia.persistence.legacy with parameters of type TopiaEntityModifier and TypeMethodDescriptionprotected voidCollector.after(Collector.CollectorVisitor visitor, TopiaEntity entity) protected abstract RCollector.afterAll(Collector.CollectorVisitor visitor, TopiaEntity... entities) protected voidCollector.before(Collector.CollectorVisitor visitor, TopiaEntity entity) protected voidCollector.beforeAll(Collector.CollectorVisitor visitor, TopiaEntity... entities) Collector.detect(TopiaEntity... entities) voidCollector.CollectorVisitor.end(TopiaEntity e) protected Class<? extends TopiaEntity>Collector.getContractClass(TopiaEntity e) protected voidCollector.onEnded(TopiaEntity e, boolean enter) protected booleanCollector.onEnding(TopiaEntity e) protected voidCollector.onStarted(TopiaEntity e, boolean enter) protected booleanCollector.onStarting(TopiaEntity e) protected voidCollector.onVisited(TopiaEntity e, String name, Class<?> collectionType, Class<?> type, int index, Object value, boolean enter) protected voidCollector.onVisited(TopiaEntity e, String name, Class<?> collectionType, Class<?> type, Object value, boolean enter) protected voidCollector.onVisited(TopiaEntity e, String name, Class<?> type, Object value, boolean enter) protected booleanCollector.onVisiting(TopiaEntity e, String name, Class<?> collectionType, Class<?> type, int index, Object value) protected booleanCollector.onVisiting(TopiaEntity e, String name, Class<?> collectionType, Class<?> type, Object value) protected booleanCollector.onVisiting(TopiaEntity e, String name, Class<?> type, Object value) voidCollector.CollectorVisitor.start(TopiaEntity e) voidCollector.CollectorVisitor.visit(TopiaEntity e, String name, Class<?> collectionType, Class<?> type, int index, Object value) voidCollector.CollectorVisitor.visit(TopiaEntity e, String name, Class<?> collectionType, Class<?> type, Object value) voidCollector.CollectorVisitor.visit(TopiaEntity e, String name, Class<?> type, Object value) Method parameters in org.nuiton.topia.persistence.legacy with type arguments of type TopiaEntityModifier and TypeMethodDescriptionprotected StringDBMapping.checkSequence(Class<? extends TopiaEntity> entityClass, String propertyName) voidDBMapping.createSequence(Class<? extends TopiaEntity> entityClass, String propertyName, TopiaSqlSupport ctxt) booleanDBMapping.existSequence(Class<? extends TopiaEntity> entityClass, String propertyName, TopiaSqlSupport ctxt) protected abstract Class<? extends TopiaEntity>DBMapping.getContractClass(Class<? extends TopiaEntity> entityClass) DBMapping.getCurrentValueFromSequence(Class<? extends TopiaEntity> entityClass, String propertyName, TopiaSqlSupport ctxt) protected StringDBMapping.getDBProperty(Class<? extends TopiaEntity> entityClass, String property) protected StringDBMapping.getDBTable(Class<? extends TopiaEntity> entityClass) DBMapping.getNextValueFromSequence(Class<? extends TopiaEntity> entityClass, String propertyName, TopiaSqlSupport ctxt) protected StringDBMapping.getSequenceSQL(String pattern, Class<? extends TopiaEntity> entityClass, String propertyName) voidDBMapping.updateSequence(Class<? extends TopiaEntity> entityClass, String propertyName, TopiaSqlSupport ctxt) -
Uses of TopiaEntity in org.nuiton.topia.persistence.metadata
Fields in org.nuiton.topia.persistence.metadata with type parameters of type TopiaEntityModifier and TypeFieldDescriptionprotected org.nuiton.util.beans.Binder<TopiaEntity,TopiaEntity> TableMeta.binderBinder used to copy entities (lazy loaded).protected org.nuiton.util.beans.Binder<TopiaEntity,TopiaEntity> TableMeta.binderBinder used to copy entities (lazy loaded).protected EntityOperator<TopiaEntity>AssociationMeta.operatorOperator of the source entity used to get / set associations.protected EntityOperator<TopiaEntity>TableMeta.operatorEntity operator used in generic algorithms.Methods in org.nuiton.topia.persistence.metadata that return TopiaEntityMethods in org.nuiton.topia.persistence.metadata that return types with arguments of type TopiaEntityModifier and TypeMethodDescriptionprotected org.nuiton.util.beans.Binder<TopiaEntity,TopiaEntity> TableMeta.getBinder()protected org.nuiton.util.beans.Binder<TopiaEntity,TopiaEntity> TableMeta.getBinder()AssociationMeta.getChilds(TopiaEntity entity) Class<? extends TopiaEntity>TableMeta.getEntityType()AssociationMeta.getOperator()TableMeta.getOperator()Methods in org.nuiton.topia.persistence.metadata with parameters of type TopiaEntityModifier and TypeMethodDescriptionvoidTableMeta.copy(TopiaEntity source, TopiaEntity target) AssociationMeta.getChilds(TopiaEntity entity) booleanAssociationMeta.isChildEmpty(TopiaEntity entity) TableMeta.prepareCreate(TopiaEntity bean, String topiaId) voidAssociationMeta.setChilds(TopiaEntity entity, Collection<TopiaEntity> childs) Method parameters in org.nuiton.topia.persistence.metadata with type arguments of type TopiaEntityModifier and TypeMethodDescriptionvoidAssociationMeta.setChilds(TopiaEntity entity, Collection<TopiaEntity> childs) -
Uses of TopiaEntity in org.nuiton.topia.persistence.support
Methods in org.nuiton.topia.persistence.support with type parameters of type TopiaEntityModifier and TypeMethodDescription<T extends TopiaEntity>
voidTopiaReplicationSupport.replicateEntities(TopiaReplicationDestination topiaReplicationDestination, List<T> entities) Makes a replication of some entities from this context to the given context without any entity modification.<T extends TopiaEntity>
voidTopiaReplicationSupport.replicateEntity(TopiaReplicationDestination topiaReplicationDestination, T entity) Replicate a given entity from this context to the given context.Method parameters in org.nuiton.topia.persistence.support with type arguments of type TopiaEntityModifier and TypeMethodDescriptionvoidTopiaListenableSupport.addTopiaEntityListener(Class<? extends TopiaEntity> entityClass, TopiaEntityListener listener) Register to the context a TopiaEntityListener about the given entity class.voidTopiaListenableSupport.addTopiaEntityVetoable(Class<? extends TopiaEntity> entityClass, TopiaEntityVetoable vetoable) Register to the context a TopiaEntityVetoable about the given entity class.voidTopiaListenableSupport.removeTopiaEntityListener(Class<? extends TopiaEntity> entityClass, TopiaEntityListener listener) Unregister the given TopiaEntityListener about the given entity class from the contextvoidTopiaListenableSupport.removeTopiaEntityVetoable(Class<? extends TopiaEntity> entityClass, TopiaEntityVetoable vetoable) Unregister the given TopiaEntityVetoable about the given entity class from the context -
Uses of TopiaEntity in org.nuiton.topia.persistence.util
Classes in org.nuiton.topia.persistence.util with type parameters of type TopiaEntityModifier and TypeClassDescriptionclassEntityOperator<B extends TopiaEntity>Un objet qui permet d'effecuter des operations de manipulation des donnees dans les entites du type donne.classTopiaEntityBinder<E extends TopiaEntity>ABinderdedicated toTopiaEntitydealing with technical values.classTopiaEntityMap<K extends TopiaEntityEnum,V extends TopiaEntity> A dictionnary ofTopiaEntityassociated to aTopiaEntityEnum.Fields in org.nuiton.topia.persistence.util declared as TopiaEntityModifier and TypeFieldDescriptionprotected ETopiaEntityBinder.emptyprotected TopiaEntity[]TopiaEntityRef.pathprotected TopiaEntityTopiaEntityRef.refthe entity refprotected TopiaEntityTopiaEntityRef.rootthe root entityMethods in org.nuiton.topia.persistence.util with type parameters of type TopiaEntityModifier and TypeMethodDescriptionstatic <E extends TopiaEntity>
DiffState.DiffStateMapTopiaEntityHelper.buildDifferentiel(List<E> referentiel, List<E> locale) Construit le dictionnaire des differences entre deux listes d'entites.static <E extends TopiaEntity>
voidTopiaEntityHelper.checkNotNullAndExistingEntity(String paramName, E bean) Teste si une entité possède un topiaId.static <E extends TopiaEntity>
voidTopiaEntityHelper.checkNotNullAndNoneExistingEntity(String paramName, E bean) Teste si une entité ne possède pas un topiaId.static <E extends TopiaEntity>
List<E>TopiaEntityHelper.getEntities(TopiaPersistenceContext srcCtxt, List<E> entityList, boolean canBeNull) static <E extends TopiaEntity>
ETopiaEntityHelper.getEntityByTopiaId(Collection<E> entities, String topiaId) Récupère une entité dans une liste d'entités à partir de songetTopiaId().static <E extends TopiaEntity>
ETopiaEntityHelper.getExistingEntity(TopiaDao<E> dao, String topiaId) Récupère une entité qui doit exister à partir de son id.static <E extends TopiaEntity>
EntityOperator<E>EntityOperatorStore.getOperator(TopiaEntityEnum contract) static <E extends TopiaEntity>
List<E>TopiaEntityHelper.retainEntities(Collection<E> list, List<String> topiaIds) Construit une list d'entite dont les ids sont tous dans la liste d'ids donnee.Methods in org.nuiton.topia.persistence.util that return TopiaEntityModifier and TypeMethodDescriptionstatic TopiaEntity[]TopiaEntityHelper.getEntities(TopiaPersistenceContext srcCtxt, String... entityList) TopiaEntityRef.getInvoker()TopiaEntityRef.getPath()TopiaEntityRef.getRef()TopiaEntityRef.getRoot()Methods in org.nuiton.topia.persistence.util that return types with arguments of type TopiaEntityModifier and TypeMethodDescriptionstatic Map<Class<? extends TopiaEntity>,List<TopiaEntity>> TopiaEntityHelper.detectEntities(TopiaEntityEnum[] contracts, Set<Class<? extends TopiaEntity>> types, TopiaEntity... entities) Collecte l'ensemble des entites (via un parcours en profondeur) avec un filtrage sur les types d'entites a retourner.static Map<Class<? extends TopiaEntity>,List<TopiaEntity>> TopiaEntityHelper.detectEntities(TopiaEntityEnum[] contracts, Set<Class<? extends TopiaEntity>> types, TopiaEntity... entities) Collecte l'ensemble des entites (via un parcours en profondeur) avec un filtrage sur les types d'entites a retourner.static SortedMap<TopiaEntity,List<TopiaEntityRef>> TopiaEntityHelper.detectReferences(TopiaEntityEnum[] contracts, String[] expressions, Collection<? extends TopiaEntity> entities) Collecte toutes les references d'un ensemble d'entites donnees par leur topiaId sur un ensemble d'entites donne.static SortedMap<TopiaEntity,List<TopiaEntityRef>> TopiaEntityHelper.detectReferences(TopiaEntityEnum[] contracts, String[] expressions, TopiaEntity entities) Collecte toutes les references d'un ensemble d'entites donnees par leur topiaId sur un ensemble d'entites donne.static Set<Class<? extends TopiaEntity>>TopiaEntityHelper.detectTypes(TopiaEntityEnum[] contracts, TopiaEntity... entities) Collecte l'ensemble des types d'entites (via un parcours en profondeur).static List<TopiaEntity>TopiaEntityHelper.filter(Collection<TopiaEntity> entities, Class<? extends TopiaEntity> filterClass) Filter a list of entities, and keep only the ones from a given type.static Class<? extends TopiaEntity>TopiaEntityHelper.getContractClass(TopiaEntityEnum[] contracts, Class<? extends TopiaEntity> klass) static Set<Class<? extends TopiaEntity>>TopiaEntityHelper.getContractClasses(TopiaEntityEnum[] contracts, Iterable<Class<? extends TopiaEntity>> klasses) static Class<? extends TopiaEntity>[]TopiaEntityHelper.getContracts(TopiaEntityEnum[] contracts) Ontenir l'ensemble des contrats d'entites a partir des descriptions d'entites.static List<? extends TopiaEntity>TopiaEntityHelper.getEntitiesList(TopiaPersistenceContext srcCtxt, String... entityList) static Set<Class<? extends TopiaEntity>>TopiaEntityHelper.getInterfaces(Class<? extends TopiaEntity> klass, Set<Class<? extends TopiaEntity>> klassInterfaces) static Comparator<TopiaEntity>TopiaEntityHelper.getTopiaIdComparator()static Set<Class<? extends TopiaEntity>>TopiaEntityHelper.retainContracts(TopiaEntityEnum[] contracts, Set<Class<? extends TopiaEntity>> classes) Filtre un ensemble de classes d'entites en ne conservant que les contrats des entites.Methods in org.nuiton.topia.persistence.util with parameters of type TopiaEntityModifier and TypeMethodDescriptionstatic voidTopiaEntityHelper.bindTechnical(TopiaEntity from, TopiaEntity dst) Bind les valeurs techniques depuis une entitée vers une autre.static Map<Class<? extends TopiaEntity>,List<TopiaEntity>> TopiaEntityHelper.detectEntities(TopiaEntityEnum[] contracts, Set<Class<? extends TopiaEntity>> types, TopiaEntity... entities) Collecte l'ensemble des entites (via un parcours en profondeur) avec un filtrage sur les types d'entites a retourner.static TopiaEntityIdsMapTopiaEntityHelper.detectEntityIds(TopiaEntityEnum[] contracts, Set<Class<? extends TopiaEntity>> types, TopiaEntity... entities) Collecte l'ensemble des ids d'entites (via un parcours en profondeur) avec un filtrage sur les types d'entites a retourner.static SortedMap<TopiaEntity,List<TopiaEntityRef>> TopiaEntityHelper.detectReferences(TopiaEntityEnum[] contracts, String[] expressions, TopiaEntity entities) Collecte toutes les references d'un ensemble d'entites donnees par leur topiaId sur un ensemble d'entites donne.static Set<Class<? extends TopiaEntity>>TopiaEntityHelper.detectTypes(TopiaEntityEnum[] contracts, TopiaEntity... entities) Collecte l'ensemble des types d'entites (via un parcours en profondeur).Method parameters in org.nuiton.topia.persistence.util with type arguments of type TopiaEntityModifier and TypeMethodDescriptionvoidTopiaEntityIdsMap.addIds(Class<? extends TopiaEntity> type, Iterable<String> ids) protected static voidTopiaEntityHelper.addInterface(Set<Class<? extends TopiaEntity>> interfaces, Class<? extends TopiaEntity> klass) protected static voidTopiaEntityHelper.addInterface(Set<Class<? extends TopiaEntity>> interfaces, Class<? extends TopiaEntity> klass) static Map<Class<? extends TopiaEntity>,List<TopiaEntity>> TopiaEntityHelper.detectEntities(TopiaEntityEnum[] contracts, Set<Class<? extends TopiaEntity>> types, TopiaEntity... entities) Collecte l'ensemble des entites (via un parcours en profondeur) avec un filtrage sur les types d'entites a retourner.static TopiaEntityIdsMapTopiaEntityHelper.detectEntityIds(TopiaEntityEnum[] contracts, Set<Class<? extends TopiaEntity>> types, TopiaEntity... entities) Collecte l'ensemble des ids d'entites (via un parcours en profondeur) avec un filtrage sur les types d'entites a retourner.static SortedMap<TopiaEntity,List<TopiaEntityRef>> TopiaEntityHelper.detectReferences(TopiaEntityEnum[] contracts, String[] expressions, Collection<? extends TopiaEntity> entities) Collecte toutes les references d'un ensemble d'entites donnees par leur topiaId sur un ensemble d'entites donne.static List<TopiaEntity>TopiaEntityHelper.filter(Collection<TopiaEntity> entities, Class<? extends TopiaEntity> filterClass) Filter a list of entities, and keep only the ones from a given type.static List<TopiaEntity>TopiaEntityHelper.filter(Collection<TopiaEntity> entities, Class<? extends TopiaEntity> filterClass) Filter a list of entities, and keep only the ones from a given type.static Class<? extends TopiaEntity>TopiaEntityHelper.getContractClass(TopiaEntityEnum[] contracts, Class<? extends TopiaEntity> klass) static Set<Class<? extends TopiaEntity>>TopiaEntityHelper.getContractClasses(TopiaEntityEnum[] contracts, Iterable<Class<? extends TopiaEntity>> klasses) static TopiaEntityEnumTopiaEntityHelper.getEntityEnum(Class<? extends TopiaEntity> klass, TopiaEntityEnum... contracts) static Set<Class<? extends TopiaEntity>>TopiaEntityHelper.getInterfaces(Class<? extends TopiaEntity> klass, Set<Class<? extends TopiaEntity>> klassInterfaces) static Set<Class<? extends TopiaEntity>>TopiaEntityHelper.getInterfaces(Class<? extends TopiaEntity> klass, Set<Class<? extends TopiaEntity>> klassInterfaces) static String[]TopiaEntityHelper.getTopiaIdArray(Collection<? extends TopiaEntity> entities) Construit un tableau des topiaId d'une liste donnée d'entités.TopiaEntityHelper.getTopiaIdList(Collection<? extends TopiaEntity> entities) Construit la liste des topiaId d'une liste donnée d'entités.static StringTopiaUtil.getTopiaIdPattern(Class<? extends TopiaEntity> klass) Compute the pattern to be used to capture a topia id for a given entity class.static Set<Class<? extends TopiaEntity>>TopiaEntityHelper.retainContracts(TopiaEntityEnum[] contracts, Set<Class<? extends TopiaEntity>> classes) Filtre un ensemble de classes d'entites en ne conservant que les contrats des entites.Constructors in org.nuiton.topia.persistence.util with parameters of type TopiaEntityModifierConstructorDescriptionTopiaEntityRef(TopiaEntity root, TopiaEntity ref, String accessorExpression, TopiaEntity[] path)