public interface IBuffer extends BufferTypes, ChainConfigurator
BufferTypes.IEntry, BufferTypes.LoadState| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(BufferTypes.IEntry entry) |
void |
addEntry(Serializable id,
Serializable entityId,
Object entity,
BufferTypes.LoadState loadState,
IBaseQueryPattern<?> pattern) |
void |
eraseRelations(Serializable deletedId,
Serializable relationId,
Serializable nodeId) |
Collection<BufferTypes.IEntry> |
getAllEntries() |
<T> T |
getByEntityId(Serializable entityId,
Class<T> type)
Load Entity defined by entityId, in some cases it matches the entityId.
|
<T> T |
getById(Serializable id,
Class<T> type)
Load Entity defined by Id.
|
<T> T |
getCompleteByEntityId(Serializable entityId,
Class<T> type) |
BufferTypes.IEntry |
getEntry(Object entity) |
void |
removeEntry(BufferTypes.IEntry entry) |
void |
removeEntry(Object entity) |
void |
updateEntry(Archive archive,
UpdatedEntryContainer container) |
setupChainManager<T> T getById(Serializable id, Class<T> type)
T - Object of typeid - Serializabletype - of ClassObject of the requested class<T> T getByEntityId(Serializable entityId, Class<T> type)
T - Object of typeentityId - Serializabletype - of ClassObject of the requested class<T> T getCompleteByEntityId(Serializable entityId, Class<T> type)
void addEntry(BufferTypes.IEntry entry)
void addEntry(Serializable id, Serializable entityId, Object entity, BufferTypes.LoadState loadState, IBaseQueryPattern<?> pattern)
void updateEntry(Archive archive, UpdatedEntryContainer container) throws Exception
Exceptionvoid removeEntry(BufferTypes.IEntry entry)
void removeEntry(Object entity)
void eraseRelations(Serializable deletedId, Serializable relationId, Serializable nodeId)
BufferTypes.IEntry getEntry(Object entity)
Collection<BufferTypes.IEntry> getAllEntries()
Copyright © 2020–2022 RunedUniverse. All rights reserved.