| Package | Description |
|---|---|
| com.holonplatform.core.beans | |
| com.holonplatform.core.datastore | |
| com.holonplatform.core.datastore.bulk | |
| com.holonplatform.core.property | |
| com.holonplatform.core.query |
| Modifier and Type | Method and Description |
|---|---|
default PropertyBox |
BeanPropertySet.read(PropertyBox propertyBox,
T instance)
Read the property values from given bean instance into the given
PropertyBox, using given
propertyBox property set. |
default <T> PropertyBox |
BeanIntrospector.read(PropertyBox propertyBox,
T instance)
Read the property values from given bean instance into the given
PropertyBox, using given
propertyBox property set. |
PropertyBox |
BeanPropertySet.read(PropertyBox propertyBox,
T instance,
boolean ignoreMissing)
Read the property values from given bean instance into the given
PropertyBox, using given
propertyBox property set. |
default <T> PropertyBox |
BeanIntrospector.read(PropertyBox propertyBox,
T instance,
boolean ignoreMissing)
Read the property values from given bean instance into the given
PropertyBox, using given
propertyBox property set. |
default PropertyBox |
BeanPropertySet.read(T instance)
Read the property values from given bean instance into a
PropertyBox with this property set. |
| Modifier and Type | Method and Description |
|---|---|
default PropertyBox |
BeanPropertySet.read(PropertyBox propertyBox,
T instance)
Read the property values from given bean instance into the given
PropertyBox, using given
propertyBox property set. |
default <T> PropertyBox |
BeanIntrospector.read(PropertyBox propertyBox,
T instance)
Read the property values from given bean instance into the given
PropertyBox, using given
propertyBox property set. |
PropertyBox |
BeanPropertySet.read(PropertyBox propertyBox,
T instance,
boolean ignoreMissing)
Read the property values from given bean instance into the given
PropertyBox, using given
propertyBox property set. |
default <T> PropertyBox |
BeanIntrospector.read(PropertyBox propertyBox,
T instance,
boolean ignoreMissing)
Read the property values from given bean instance into the given
PropertyBox, using given
propertyBox property set. |
default T |
BeanPropertySet.write(PropertyBox propertyBox,
T instance)
Write the property values contained into given
PropertyBox into given bean instance. |
default <T> T |
BeanIntrospector.write(PropertyBox propertyBox,
T instance)
Write the property values contained into given
PropertyBox into given bean instance. |
T |
BeanPropertySet.write(PropertyBox propertyBox,
T instance,
boolean ignoreMissing)
Write the property values contained into given
PropertyBox into given bean instance. |
default <T> T |
BeanIntrospector.write(PropertyBox propertyBox,
T instance,
boolean ignoreMissing)
Write the property values contained into given
PropertyBox into given bean instance. |
| Modifier and Type | Method and Description |
|---|---|
PropertyBox |
Datastore.refresh(DataTarget<?> target,
PropertyBox propertyBox)
Refresh a
PropertyBox, updating all its model properties to current value in datastore and using given
target to denote persistent entity of datastore |
| Modifier and Type | Method and Description |
|---|---|
Datastore.OperationResult |
Datastore.delete(DataTarget<?> target,
PropertyBox propertyBox,
Datastore.WriteOption... options)
Remove a persistent element from datastore, using given
target to denote persistent entity to delete
and given PropertyBox to provide key property values |
Datastore.OperationResult |
Datastore.insert(DataTarget<?> target,
PropertyBox propertyBox,
Datastore.WriteOption... options)
Insert a
PropertyBox using given target to denote persistent entity of datastore. |
PropertyBox |
Datastore.refresh(DataTarget<?> target,
PropertyBox propertyBox)
Refresh a
PropertyBox, updating all its model properties to current value in datastore and using given
target to denote persistent entity of datastore |
Datastore.OperationResult |
Datastore.save(DataTarget<?> target,
PropertyBox propertyBox,
Datastore.WriteOption... options)
Save a
PropertyBox using given target to denote persistent entity of datastore: insert data
if not exists, update it otherwise. |
Datastore.OperationResult |
Datastore.update(DataTarget<?> target,
PropertyBox propertyBox,
Datastore.WriteOption... options)
Update a
PropertyBox using given target to denote persistent entity of datastore. |
| Modifier and Type | Method and Description |
|---|---|
BulkInsert |
BulkInsert.add(PropertyBox propertyBox)
Add a
PropertyBox to insert. |
| Modifier and Type | Method and Description |
|---|---|
PropertyBox |
PropertyBox.Builder.build()
Build the
PropertyBox |
default PropertyBox |
PropertyBox.cloneBox()
Clone this PropertyBox, i.e. create a new PropertyBox with same property set of this box and copy all the
property values from this box to the newly created box.
|
default <P extends Property> |
PropertyBox.cloneBox(P... propertySet)
Clone this PropertyBox using given
propertySet, i.e. create a new PropertyBox and copy all given set
property values from this box to the newly created box. |
default <P extends Property> |
PropertyBox.cloneBox(PropertySet<P> propertySet)
Clone this PropertyBox using given
propertySet, i.e. create a new PropertyBox and copy all given set
property values from this box to the newly created box. |
static <P extends Property> |
PropertyBox.create(Iterable<P> properties)
Shorter method to create a PropertyBox with given
properties set. |
static <P extends Property> |
PropertyBox.create(P... properties)
Shorter method to create a PropertyBox with given
properties set. |
| Modifier and Type | Method and Description |
|---|---|
PropertyBox.Builder |
PropertyBox.Builder.copyValues(PropertyBox source)
Copy the given
propertyBox property values only for properties of the source PropertyBox that
have a matching with a property of the PropertyBox to build |
T |
PropertyValueProvider.getPropertyValue(PropertyBox propertyBox)
Gets the property value.
|
| Modifier and Type | Method and Description |
|---|---|
default <P extends Property> |
QueryResults.findOne(Iterable<P> properties)
Execute query and get an expected unique result as
PropertyBox using given properties as
projection. |
default Optional<PropertyBox> |
QueryResults.findOne(Property... properties)
Execute query and get an expected unique result as
PropertyBox using given properties as
projection. |
default Class<? extends PropertyBox> |
PropertySetProjection.getType() |
default <P extends Property> |
QueryResults.list(Iterable<P> properties)
|
default List<PropertyBox> |
QueryResults.list(Property... properties)
|
default <P extends Property> |
QueryResults.stream(Iterable<P> properties)
Execute query and get a
Stream of query results as PropertyBox using given
properties as projection. |
default Stream<PropertyBox> |
QueryResults.stream(Property... properties)
Execute query and get a
Stream of query results as PropertyBox using given
properties as projection. |
Copyright © 2017 The Holon Platform. All rights reserved.