| Modifier and Type | Method and Description |
|---|---|
Bundle |
ActionQueue.getBundle() |
| Modifier and Type | Method and Description |
|---|---|
ActionQueue |
ActionQueuePreparer.prepare(Bundle current,
Bundle snapshot) |
| Constructor and Description |
|---|
ActionQueue(Bundle bundle) |
| Modifier and Type | Method and Description |
|---|---|
Bundle |
MapBundleCache.get(long id) |
Bundle |
EhcacheBundleCache.get(long id) |
Bundle |
BundleCache.get(long id)
get Bundle with given
id from cache |
Bundle |
GmoCacheManager.getBundle(long id) |
| Modifier and Type | Method and Description |
|---|---|
void |
GmoCacheManager.addBundle(Bundle bundle) |
void |
MapBundleCache.put(Bundle bundle) |
void |
EhcacheBundleCache.put(Bundle bundle) |
void |
BundleCache.put(Bundle bundle)
add bundle to cache
|
| Modifier and Type | Method and Description |
|---|---|
String |
DaoConfig.bundleTable(Bundle bundle) |
String |
DaoConfig.getBundleTable(Bundle bundle)
returns Bundle Table name.
|
| Modifier and Type | Method and Description |
|---|---|
static Bundle |
BundleHelper.merge(BundleDef def,
BundleHeader header,
LobData lob,
List<Tuple> tuples)
Reconstruct bundle from
- header fields [header]
- unmarshalled entity fragments [lob]
- unmarshalled root fragment [lob]
- refs [lob]
- database records [tuples]
|
| Modifier and Type | Method and Description |
|---|---|
static PersistenceMarker |
PersistenceMarker.mark(Bundle b)
scans bundle and mark all properties persistent or transient,
transient entities are collected in [transientProperties] collection
|
| Modifier and Type | Method and Description |
|---|---|
LobData |
BundleMarshaller.getLobData(Bundle b)
Extract minimum information from bundle [b] needed to reconstruct it
when combined with database externalized columns.
|
String |
BundleMarshaller.marshall(Bundle bundle) |
| Modifier and Type | Method and Description |
|---|---|
Bundle |
Bundle.add(String name,
Property prop)
Adds given
property under provided name. |
Bundle |
Property.bundle()
Same as
Property.getBundle() |
Bundle |
Bundle.deepcopy()
Same as
deepcopy(boolean), but with flag set to true. |
Bundle |
Bundle.deepcopy(boolean resetIds)
Creates new bundle instance with copied:
all bundle data
internal fields
references
It applies to all nested properties within bundle root.
|
Bundle |
Property.getBundle()
Gets bundle root.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EntityProperty.setBundle(Bundle bundle)
Sets bundle for property.
|
| Modifier and Type | Method and Description |
|---|---|
Bundle |
HyperonEntity.getBundle() |
Bundle |
HyperonBundle.unproxy() |
| Modifier and Type | Method and Description |
|---|---|
Bundle |
BundleServiceImpl.create() |
Bundle |
BundleService.create()
Creates bundle for the first time, based on default profile.
|
Bundle |
BundleServiceImpl.create(String profile) |
Bundle |
BundleService.create(String profile)
Creates bundle for the first time, based on given profile.
|
Bundle |
BundleServiceImpl.load(long id) |
Bundle |
BundleService.load(long id)
Retrieves a bundle based on given id for default profile.
|
Bundle |
BundleServiceImpl.load(long id,
BundleDef def) |
Bundle |
BundleService.load(long id,
BundleDef def)
Retrieves a bundle based on given id and bundle definition.
|
Bundle |
BundleServiceImpl.load(long id,
String profile) |
Bundle |
BundleService.load(long id,
String profile)
Retrieves a bundle based on given id and profile.
|
| Modifier and Type | Method and Description |
|---|---|
BundleDiff |
BundleServiceImpl.diff(Bundle bundle) |
BundleDiff |
BundleService.diff(Bundle next)
Compares given bundle with initial version of the same bundle(by id).
|
BundleDiff |
DiffHelper.diff(Bundle prev,
Bundle next) |
BundleDiff |
BundleServiceImpl.diff(Bundle prev,
Bundle next) |
BundleDiff |
BundleService.diff(Bundle prev,
Bundle next)
Compares two different bundles and stores the result of comparison in
BundleDiff object. |
void |
BundleServiceImpl.persist(Bundle bundle) |
void |
BundleService.persist(Bundle bundle)
Saves bundle in tables using database connection defined with
HyperonPersistenceFactory. |
| Modifier and Type | Method and Description |
|---|---|
SyncActions |
BundleSynchronizer.diff(Bundle prev,
Bundle next) |
| Constructor and Description |
|---|
SyncData(Bundle bundle) |
Copyright © 2021. All rights reserved.