public class RecordProxySet extends Object
Constructor and Description |
---|
RecordProxySet() |
Modifier and Type | Method and Description |
---|---|
static void |
addProxySetToUse(RecordProxySetHolder proxySet) |
ListHolder |
createLazySpreadingProxies(ExecutionContext ctx,
Object... records)
Creates change proxies on record holders.
|
ListHolder |
createLazySpreadingProxies(ExecutionContext ctx,
RecordProxySetHolder proxySet,
Object... records)
Creates change proxies on record holders.
|
RecordHolder |
createLazySpreadingProxy(ExecutionContext ctx,
Object record)
Creates change proxy on record holder.
|
RecordHolder |
createLazySpreadingProxy(ExecutionContext ctx,
RecordProxySetHolder proxySet,
Object record)
Creates change proxy on record holder.
|
CollectionHolder |
createProxies(ExecutionContext ctx,
CollectionHolder collection,
ListHolder properties)
Creates change proxy on each record holder in the collection.
|
CollectionHolder |
createProxies(ExecutionContext ctx,
CollectionHolder collection,
Property... properties)
Creates change proxy on each record holder in the collection.
|
CollectionHolder |
createProxies(ExecutionContext ctx,
RecordProxySetHolder proxySet,
CollectionHolder collection,
Property... properties)
Creates change proxy on each record holder in the collection.
|
RecordHolder |
createProxy(ExecutionContext ctx,
Object record,
ListHolder properties)
Creates change proxy on this record holder.
|
RecordHolder |
createProxy(ExecutionContext ctx,
Object record,
Property... properties)
Creates change proxy on this record holder.
|
RecordHolder |
createProxy(ExecutionContext ctx,
RecordProxySetHolder proxySet,
RecordHolder record,
Property... properties)
Creates change proxy on this record holder.
|
RecordHolder |
createProxy(ExecutionContext ctx,
RecordProxySetHolder proxySet,
Type type)
Creates new change proxy of the record type.
|
RecordHolder |
createProxy(ExecutionContext ctx,
Type type)
Creates new change proxy of the record type.
|
void |
createProxyOfProperties(ExecutionContext ctx,
RecordHolder record,
Property... properties)
Creates proxies of properties of the record.
|
void |
createProxyOfPropertiesEmptyToAll(ExecutionContext ctx,
RecordProxySetHolder proxySet,
RecordHolder record,
Property... properties)
Creates proxies of properties of the record.
|
static RecordProxySetHolder |
getCommonProxySet() |
static RecordProxySetHolder |
getProxySetToUse() |
ListHolder |
merge(ExecutionContext ctx,
Boolean checkConflicts)
Merges all proxies for the proxy set to their proxied records.
|
ListHolder |
merge(ExecutionContext ctx,
Boolean checkConflicts,
RecordProxySetHolder proxySet)
Merges all proxies for the proxy set to their proxied records.
|
static void |
removeProxySetToUse(RecordProxySetHolder proxySet) |
static void |
setCommonProxySet(RecordProxySetHolder proxySet) |
public static void setCommonProxySet(RecordProxySetHolder proxySet)
public static RecordProxySetHolder getCommonProxySet()
public static void addProxySetToUse(RecordProxySetHolder proxySet)
public static void removeProxySetToUse(RecordProxySetHolder proxySet)
public static RecordProxySetHolder getProxySetToUse()
public RecordHolder createProxy(ExecutionContext ctx, RecordProxySetHolder proxySet, RecordHolder record, Property... properties) throws ErrorException
ctx
- proxySet
- record
- properties
- ErrorException
public RecordHolder createProxy(ExecutionContext ctx, Object record, Property... properties) throws ErrorException
RecordProxySetHolder
ctx
- record
- properties
- ErrorException
public RecordHolder createProxy(ExecutionContext ctx, Object record, ListHolder properties) throws ErrorException
RecordProxySetHolder
ctx
- record
- properties
- ErrorException
public void createProxyOfPropertiesEmptyToAll(ExecutionContext ctx, RecordProxySetHolder proxySet, RecordHolder record, Property... properties) throws ErrorException
ctx
- proxySet
- record
- properties
- ErrorException
public void createProxyOfProperties(ExecutionContext ctx, RecordHolder record, Property... properties) throws ErrorException
RecordProxySetHolder
ctx
- record
- properties
- ErrorException
public RecordHolder createProxy(ExecutionContext ctx, RecordProxySetHolder proxySet, Type type) throws ErrorException
ctx
- proxySet
- type
- ErrorException
public RecordHolder createProxy(ExecutionContext ctx, Type type) throws ErrorException
RecordProxySetHolder
ctx
- type
- ErrorException
public CollectionHolder createProxies(ExecutionContext ctx, RecordProxySetHolder proxySet, CollectionHolder collection, Property... properties) throws ErrorException
ctx
- proxySet
- collection
- properties
- ErrorException
public CollectionHolder createProxies(ExecutionContext ctx, CollectionHolder collection, Property... properties) throws ErrorException
RecordProxySetHolder
ctx
- collection
- properties
- ErrorException
public CollectionHolder createProxies(ExecutionContext ctx, CollectionHolder collection, ListHolder properties) throws ErrorException
RecordProxySetHolder
ctx
- collection
- properties
- ErrorException
public RecordHolder createLazySpreadingProxy(ExecutionContext ctx, RecordProxySetHolder proxySet, Object record) throws ErrorException
RecordProxySetHolder
ctx
- proxySet
- record
- ErrorException
public RecordHolder createLazySpreadingProxy(ExecutionContext ctx, Object record) throws ErrorException
RecordProxySetHolder
ctx
- record
- ErrorException
public ListHolder createLazySpreadingProxies(ExecutionContext ctx, RecordProxySetHolder proxySet, Object... records) throws ErrorException
RecordProxySetHolder
ctx
- proxySet
- records
- ErrorException
public ListHolder createLazySpreadingProxies(ExecutionContext ctx, Object... records) throws ErrorException
RecordProxySetHolder
ctx
- records
- ErrorException
public ListHolder merge(ExecutionContext ctx, Boolean checkConflicts, RecordProxySetHolder proxySet) throws OptimisticLockException, ErrorException
ctx
- checkConflicts
- proxySet
- OptimisticLockException
ErrorException
public ListHolder merge(ExecutionContext ctx, Boolean checkConflicts) throws OptimisticLockException, ErrorException
RecordProxySetHolder
ctx
- checkConflicts
- OptimisticLockException
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.