| Modifier and Type | Method and Description |
|---|---|
Optional<BundleDef> |
DefinitionCacheMapImpl.get(String profile) |
Optional<BundleDef> |
DefinitionCache.get(String profile) |
Optional<BundleDef> |
GmoCacheManager.getDefinition(String profile) |
| Modifier and Type | Method and Description |
|---|---|
void |
GmoCacheManager.addDefinition(String profile,
BundleDef def) |
void |
DefinitionCacheMapImpl.put(String profile,
BundleDef def) |
void |
DefinitionCache.put(String profile,
BundleDef def) |
| Modifier and Type | Method and Description |
|---|---|
BundleDef |
DefinitionBuilder.build() |
BundleDef |
DefinitionParser.parse() |
| Modifier and Type | Method and Description |
|---|---|
static DefinitionPrinter |
DefinitionPrinter.prettyPrinter(BundleDef def)
Creates pretty printer with support for better formatting.
|
static DefinitionPrinter |
DefinitionPrinter.standardPrinter(BundleDef def)
Creates standard printer without support for better formatting.
|
| Constructor and Description |
|---|
DefinitionPrinter(BundleDef def)
Deprecated.
this constructor will be hidden for external usage. Please use preferred static fabric methods.
|
| Modifier and Type | Method and Description |
|---|---|
String |
DaoConfig.bundleTable(BundleDef def) |
String |
DaoConfig.getBundleTable(BundleDef def)
returns Bundle Table name.
|
| Modifier and Type | Method and Description |
|---|---|
BundleHeader |
DynamicServiceImpl.fetchHeader(long id,
BundleDef def) |
BundleHeader |
DynamicDao.fetchHeader(long id,
BundleDef def)
fetch bundle header from bundle table:
--
select revision, created, updated, value [, extra1, extra2, ...]
|
BundleHeader |
DynamicService.fetchHeader(long id,
BundleDef def) |
Integer |
DynamicServiceImpl.findRevision(long bundleId,
BundleDef def) |
Integer |
DynamicDao.findRevision(long bundleId,
BundleDef def) |
Integer |
DynamicService.findRevision(long bundleId,
BundleDef def) |
| Modifier and Type | Method and Description |
|---|---|
static BundleData |
BundleHelper.buildBundleData(BundleDef def,
LobData lob) |
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 |
|---|---|
BundleDef |
BundleDef.add(String propertyName,
PropertyDef prop) |
BundleDef |
BundleDef.done() |
BundleDef |
BundleDef.done(Collection<EntityType> values) |
| Modifier and Type | Method and Description |
|---|---|
BundleDef |
Bundle.getDef()
Get bundle's definition.
|
| Constructor and Description |
|---|
Bundle(BundleDef def)
Basic constructor to use with definition.
|
Bundle(BundleDef def,
long id)
Shouldn't be used outside of Hyperon persistence engine.
|
Bundle(BundleDef def,
long id,
int revision)
Shouldn't be used outside of Hyperon persistence engine.
|
Bundle(BundleDef def,
long id,
int revision,
int expectedSize)
Shouldn't be used outside of Hyperon persistence engine.
|
| Modifier and Type | Method and Description |
|---|---|
static BundleDef |
HyperonPersistence.getBundleDef() |
static BundleDef |
HyperonPersistence.getDefaultBundleDef() |
BundleDef |
HyperonPersistence.getThreadBundleDef() |
| Modifier and Type | Method and Description |
|---|---|
static void |
HyperonPersistence.setDefaultBundleDef(BundleDef defaultBundleDef) |
void |
HyperonPersistence.setThreadBundleDef(BundleDef def) |
| Modifier and Type | Method and Description |
|---|---|
BundleDef |
SandboxConverter.createDef(Collection<GmoSandboxEntity> sandboxEntities) |
BundleDef |
SandboxConverter.createDef(GmoSandbox sandbox) |
BundleDef |
GmoSandboxLoader.getDefinition(String profile) |
BundleDef |
GmoSandboxLoader.getDefinition(String profile,
boolean extractAll,
boolean suggestedValues) |
| Modifier and Type | Method and Description |
|---|---|
GmoSandbox |
SandboxConverter.createSandbox(BundleDef def) |
GmoSandbox |
SandboxConverter.createSandbox(BundleDef def,
int sandboxId) |
| Modifier and Type | Method and Description |
|---|---|
BundleDef |
BundleServiceImpl.getDefinition(String profile) |
BundleDef |
BundleService.getDefinition(String profile)
Based on given profile, bundle definition will be fetched from current Hyperon Studio environment, to which Hyperon Persistence is connected.
|
BundleDef |
BundleDefLoader.loadFromDB(String profileCode) |
| Modifier and Type | Method and Description |
|---|---|
Bundle |
BundleServiceImpl.load(long id,
BundleDef def) |
Bundle |
BundleService.load(long id,
BundleDef def)
Retrieves a bundle based on given id and bundle definition.
|
Copyright © 2021. All rights reserved.