Package | Description |
---|---|
com.whitestein.lsps.engine |
The package contains common classes for LSPS expression interpretation.
|
com.whitestein.lsps.engine.dto.val | |
com.whitestein.lsps.engine.lang | |
com.whitestein.lsps.engine.tester |
Testing support for testing engine tasks.
|
com.whitestein.lsps.engine.validation | |
com.whitestein.lsps.lang |
This is the main package for the LSPS expression language.
|
com.whitestein.lsps.lang.exec |
All types in the language have their Java implementation class.
|
com.whitestein.lsps.stdlib.function |
Classes that implements functions defined
in the standard library.
|
com.whitestein.lsps.vaadin.ui | |
com.whitestein.lsps.vaadin.ui.components.table.dataset | |
com.whitestein.lsps.vaadin.util |
Modifier and Type | Method and Description |
---|---|
static Object |
HolderHelper.getPropertyValue(ModelProviderClientService modelProviderService,
String evaluationLevel,
RecordHolder recordHolder,
Property property)
Returns value of the property of the record in the evaluetion level.
|
static boolean |
HolderHelper.isPropertyChanged(RecordHolder recordHolder,
Property property)
Returns true if property is changed in the record.
|
Modifier and Type | Method and Description |
---|---|
Property |
ReferenceValue.getProperty() |
Property |
PropertyValue.toObject() |
Modifier and Type | Method and Description |
---|---|
List<Property> |
ReferenceValue.getAdditionalProperties() |
Modifier and Type | Method and Description |
---|---|
ReferenceHolder |
RecordNamespace.createReference(ReferenceType referenceType,
ReferenceExpression referenceExpression,
List<Property> properties,
ClosureOrigin origin) |
ReferenceHolder |
NoBaseContextNamespace.createReference(ReferenceType referenceType,
ReferenceExpression referenceExpression,
List<Property> properties,
ClosureOrigin origin) |
ReferenceHolder |
ContextNamespace.createReference(ReferenceType referenceType,
ReferenceExpression referenceExpression,
List<Property> properties,
ClosureOrigin origin) |
Modifier and Type | Method and Description |
---|---|
Property |
TestFunctionsImpl.getProperty(ExecutionContext ctx,
ReferenceHolder ref) |
Property |
TestFunctions.getProperty(ExecutionContext ctx,
ReferenceHolder ref) |
Modifier and Type | Method and Description |
---|---|
Object |
TestFunctionsImpl.getForeignKey(ExecutionContext ctx,
RecordHolder record,
Property property) |
Object |
TestFunctions.getForeignKey(ExecutionContext ctx,
RecordHolder record,
Property property) |
Modifier and Type | Method and Description |
---|---|
Collection<com.whitestein.lsps.model.validation.ConstraintModel> |
RecordValidator.getConstraints(RecordHolder record,
Property property)
Returns a collection of constraints defined on the given record (property).
|
List<Object> |
RecordValidator.validate(RecordHolder record,
Property property,
CollectionHolder tags,
MapHolder context)
Validates a given record.
|
Modifier and Type | Method and Description |
---|---|
Property |
ReferenceExpressionHolder.getProperty() |
Modifier and Type | Method and Description |
---|---|
List<Property> |
ReferenceExpressionHolder.getAdditionalProperties() |
Modifier and Type | Method and Description |
---|---|
ReferenceHolder |
MockNamespace.createReference(ReferenceType referenceType,
ReferenceExpression referenceExpression,
List<Property> properties,
ClosureOrigin origin) |
ReferenceHolder |
MockHolderFactory.createReference(ReferenceType referenceType,
ReferenceExpression referenceExpression,
List<Property> properties,
ClosureOrigin origin) |
ReferenceHolder |
HolderFactory.createReference(ReferenceType referenceType,
ReferenceExpression referenceExpression,
List<Property> properties,
ClosureOrigin origin)
Returns new reference corresponding to given reference expression.
|
Constructor and Description |
---|
ReferenceExpressionHolder(String id,
Namespace namespace,
ReferenceType referenceType,
ReferenceExpression referenceExpression,
List<Property> additionalProperties,
ClosureOrigin origin)
Creates new instance of
ReferenceExpressionHolder . |
Modifier and Type | Method and Description |
---|---|
Property |
Path.getFirst() |
Property |
Path.getLast() |
Property |
ReferenceHolder.getProperty()
Returns last referenced property if a property is referenced.
|
Modifier and Type | Method and Description |
---|---|
List<Property> |
ReferenceHolder.getAdditionalProperties()
Returns additional properties that are added to the referenced path.
|
List<Property> |
Path.getProperties()
Returns list of properties.
|
Constructor and Description |
---|
Path(Property... properties)
Creates new instances.
|
Constructor and Description |
---|
Path(List<Property> properties)
Creates new instances.
|
Modifier and Type | Method and Description |
---|---|
Property |
PropertyFunctions.getProperty(ExecutionContext ctx,
Type type,
String name)
Returns a property with a given name or
null
if there is no property with a given name. |
Modifier and Type | Method and Description |
---|---|
ListHolder |
ActionFunctionsImpl.createProxy(ExecutionContext ctx,
ListHolder collection,
Property... properties) |
ListHolder |
ActionFunctions.createProxy(ExecutionContext ctx,
ListHolder list,
Property... properties)
Creates a list of record proxies.
|
RecordHolder |
ActionFunctionsImpl.createProxy(ExecutionContext ctx,
Object record,
Property... properties) |
RecordHolder |
ActionFunctions.createProxy(ExecutionContext ctx,
Object record,
Property... properties)
Creates a change proxy on the record that keeps all changes.
|
SetHolder |
ActionFunctionsImpl.createProxy(ExecutionContext ctx,
SetHolder collection,
Property... properties) |
SetHolder |
ActionFunctions.createProxy(ExecutionContext ctx,
SetHolder set,
Property... properties)
Creates a set of record proxies.
|
void |
ActionFunctionsImpl.createProxyOfProperties(ExecutionContext ctx,
RecordHolder record,
Property... properties) |
void |
ActionFunctions.createProxyOfProperties(ExecutionContext ctx,
RecordHolder record,
Property... properties)
Creates change proxy for all object referenced by the propery and sets the proxy values to the property.
|
String |
LabelFunctions.getPropertyLabel(ExecutionContext ctx,
Property property)
Returns the label of the given property.
|
MapHolder |
PropertyFunctions.getPropertyMetadata(ExecutionContext ctx,
Property property)
Returns the property metadata.
|
String |
PropertyFunctions.getPropertyName(ExecutionContext ctx,
Property property)
Returns a property name (a name of the field or association).
|
RecordType |
PropertyFunctions.getPropertyRecordType(ExecutionContext ctx,
Property property)
Returns the record type in which this property is declared.
|
ReferenceHolder |
PropertyFunctions.getPropertyReference(ExecutionContext ctx,
ReferenceHolder reference,
Property... properties)
Returns the reference to the object defined by the last property parameter.
|
Type |
PropertyFunctions.getPropertyType(ExecutionContext ctx,
Property property)
Returns a property type.
|
Object |
PropertyFunctions.getPropertyValue(ExecutionContext ctx,
RecordHolder record,
Property property)
Returns the value of the given property of the given record object.
|
Object |
PropertyFunctions.setPropertyValue(ExecutionContext ctx,
RecordHolder record,
Property property,
Object value)
Sets the value of the given property of the given record object.
|
ListHolder |
ValidationFunctions.validate(ExecutionContext ctx,
CollectionHolder collection,
Property property,
CollectionHolder tags,
MapHolder context)
Validates a given collection of records.
|
ListHolder |
ValidationFunctions.validate(ExecutionContext ctx,
RecordHolder record,
Property property,
CollectionHolder tags,
MapHolder context)
Validates a given record.
|
Modifier and Type | Method and Description |
---|---|
Set<UIComponent> |
Bindings.get(RecordHolder record,
Property property)
Returns components which are displaying given record and given property.
|
Modifier and Type | Field and Description |
---|---|
Property |
GroupingDataset.PropertyGroup.property
The property, not null.
|
Constructor and Description |
---|
PathSort(Object columnId,
Property property) |
PropertyGroup(Property property) |
Modifier and Type | Method and Description |
---|---|
Variant<Property> |
Variant.property()
Casts the variant's value to a
Property . |
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.