Package org.cxbox.core.dao.impl
Class AbstractAnySourceBaseDAO<E>
java.lang.Object
org.cxbox.core.dao.impl.AbstractAnySourceBaseDAO<E>
- All Implemented Interfaces:
AnySourceBaseDAO<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassociate(BusinessComponent bc, String parentId, List<String> childs) longКорректная реализация по умолчанию, но не эффективная по производительности.Should be used to explicitly update/create in anySource system by custom actionGet from First Level Cache or from anySource system (if cache is empty)setWithFirstLevelCache(BusinessComponent bc, E entity) Put to First Level CacheMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cxbox.core.dao.AnySourceBaseDAO
create, delete, getByIdIgnoringFirstLevelCache, getId, getList, setId, update
-
Constructor Details
-
AbstractAnySourceBaseDAO
public AbstractAnySourceBaseDAO()
-
-
Method Details
-
generateId
- Specified by:
generateIdin interfaceAnySourceBaseDAO<E>
-
count
Корректная реализация по умолчанию, но не эффективная по производительности. Рекомендуется использовать свою реализацию- Specified by:
countin interfaceAnySourceBaseDAO<E>
-
getById
Description copied from interface:AnySourceBaseDAOGet from First Level Cache or from anySource system (if cache is empty)- Specified by:
getByIdin interfaceAnySourceBaseDAO<E>
-
setWithFirstLevelCache
Description copied from interface:AnySourceBaseDAOPut to First Level Cache- Specified by:
setWithFirstLevelCachein interfaceAnySourceBaseDAO<E>
-
flush
Description copied from interface:AnySourceBaseDAOShould be used to explicitly update/create in anySource system by custom action- Specified by:
flushin interfaceAnySourceBaseDAO<E>
-
associate
- Specified by:
associatein interfaceAnySourceBaseDAO<E>
-