Form
Application form generator programmatically.
AND
_form.AND() : org.netuno.tritao.query.where.ConditionOperator
Description
Returns an AND conditional operator.
Return
( org.netuno.tritao.query.where.ConditionOperator )
Conditional operator.
OR
_form.OR() : org.netuno.tritao.query.where.ConditionOperator
Description
Returns an OR conditional operator.
Return
( org.netuno.tritao.query.where.ConditionOperator )
Conditional operator.
all
_form.all() : java.util.List
Return
( java.util.List )
contains
_form.contains(value: java.lang.Object) : RelationOperator
Description
Returns a relational operator that filters any occurrence that includes the given pattern.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
value | java.lang.Object | Conditional value. |
Return
( RelationOperator )
Relational operator.
create
_form.create(data: Values) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Values |
Return
( boolean )
createComponent
_form.createComponent(formId: int, data: Values) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formId | int | |
data | Values |
Return
( boolean )
_form.createComponent(formNameOrUid: string, data: Values) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formNameOrUid | string | |
data | Values |
Return
( boolean )
createComponentIfNotExists
_form.createComponentIfNotExists(formId: int, data: Values) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formId | int | |
data | Values |
Return
( boolean )
_form.createComponentIfNotExists(formNameOrUid: string, data: Values) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formNameOrUid | string | |
data | Values |
Return
( boolean )
createIfNotExists
_form.createIfNotExists(data: Values) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Values |
Return
( boolean )
different
_form.different(value: java.lang.Object) : RelationOperator
Description
Returns a relational operator that filters any occurrence that differs from the given pattern.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
value | java.lang.Object | Conditional value. |
Return
( RelationOperator )
Relational operator.
endsWith
_form.endsWith(value: java.lang.Object) : RelationOperator
Description
Returns a relational operator that filters any occurrence that ends with the given pattern.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
value | java.lang.Object | Conditional value. |
Return
( RelationOperator )
Relational operator.
field
_form.field(column: string) : Field
Description
Returns a field based on the given column.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
column | string | Column name. |
Return
( Field )
Objeto Field.
_form.field(column: string, elias: string) : Field
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
column | string | |
elias | string |
Return
( Field )
fields
_form.fields(fields: [Lorg.netuno.tritao.query.Field;[]) : java.util.List
Description
List of column-based fields to be returned in the query.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
fields | [Lorg.netuno.tritao.query.Field;[] | List of fields. |
Return
( java.util.List )
List of fields.
get
_form.get(id: int) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
id | int |
Return
( Values )
_form.get(nameOrUid: string) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
nameOrUid | string |
Return
( Values )
_form.get(data: Values) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Values |
Return
( Values )
getAllComponents
_form.getAllComponents(formId: int) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formId | int |
Return
( java.util.List )
_form.getAllComponents(formNameOrUid: string) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formNameOrUid | string |
Return
( java.util.List )
getComponent
_form.getComponent(formId: int, id: int) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formId | int | |
id | int |
Return
( Values )
_form.getComponent(formId: int, nameOrUid: string) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formId | int | |
nameOrUid | string |
Return
( Values )
_form.getComponent(formId: int, data: Values) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formId | int | |
data | Values |
Return
( Values )
_form.getComponent(formNameOrUid: string, id: int) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formNameOrUid | string | |
id | int |
Return
( Values )
_form.getComponent(formNameOrUid: string, nameOrUid: string) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formNameOrUid | string | |
nameOrUid | string |
Return
( Values )
_form.getComponent(formNameOrUid: string, data: Values) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formNameOrUid | string | |
data | Values |
Return
( Values )
greaterOrEqualsThan
_form.greaterOrEqualsThan(value: java.lang.Object) : RelationOperator
Description
Returns a relational operator that filters out any occurrence that is greater or equals than the given pattern.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
value | java.lang.Object | Conditional value. |
Return
( RelationOperator )
Relational operator.
greaterThan
_form.greaterThan(value: java.lang.Object) : RelationOperator
Description
Returns a relational operator that filters out any occurrence that is greater than the given pattern.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
value | java.lang.Object | Conditional value. |
Return
( RelationOperator )
Relational operator.
in
_form.in(values: Values) : RelationOperator
Description
Returns a relational operator that filters any occurrence that is equal to any of the given patterns.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
values | Values | Conditional values. |
Return
( RelationOperator )
Relational operator.
lessOrEqualsThan
_form.lessOrEqualsThan(value: java.lang.Object) : RelationOperator
Description
Returns a relational operator that filters out any occurrence that is less or equals than the given pattern.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
value | java.lang.Object | Conditional value. |
Return
( RelationOperator )
Relational operator.
lessThan
_form.lessThan(value: java.lang.Object) : RelationOperator
Description
Returns a relational operator that filters out any occurrence that is less than the given pattern.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
value | java.lang.Object | Conditional value. |
Return
( RelationOperator )
Relational operator.
link
_form.link(formLink: string) : Link
Description
Returns a relationship with a form.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formLink | string | Name of the form to be related. |
Return
( Link )
Objeto Link.
_form.link(formLink: string, where: Where) : Link
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formLink | string | |
where | Where |
Return
( Link )
_form.link(formLink: string, where: Where, link: Link) : Link
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formLink | string | |
where | Where | |
link | Link |
Return
( Link )
manyToOne
_form.manyToOne(tableName: string, column: string) : Relation
Description
Returns a new Many To One relationship.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
tableName | string | Table name. |
column | string | Column name. |
Return
( Relation )
Many To One relationship.
_form.manyToOne(tableName: string, column: string, where: Where) : Relation
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
tableName | string | |
column | string | |
where | Where |
Return
( Relation )
notNulls
_form.notNulls(formId: int) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formId | int |
Return
( java.util.List )
_form.notNulls(formNameOrUid: string) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formNameOrUid | string |
Return
( java.util.List )
oneToMany
_form.oneToMany(tableName: string, column: string) : Relation
Description
Returns a new One To Many relationship.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
tableName | string | Table name. |
column | string | Column name. |
Return
( Relation )
One To Many relationship.
_form.oneToMany(tableName: string, column: string, where: Where) : Relation
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
tableName | string | |
column | string | |
where | Where |
Return
( Relation )
pagination
_form.pagination(page: int, pageSize: int) : org.netuno.tritao.query.pagination.Pagination
Description
Returns the object for pagination configuration when using Query's page() method.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
page | int | Page number. |
pageSize | int | Number of elements per page. |
Return
( org.netuno.tritao.query.pagination.Pagination )
Objeto Pagination.
primaryKeys
_form.primaryKeys(formId: int) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formId | int |
Return
( java.util.List )
_form.primaryKeys(formNameOrUid: string) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formNameOrUid | string |
Return
( java.util.List )
query
_form.query(tableName: string) : Query
Description
Returns a new Query object ready to be configured.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
tableName | string | Table name. |
Return
( Query )
A new Query object
_form.query(tableName: string, where: Where) : Query
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
tableName | string | |
where | Where |
Return
( Query )
startsWith
_form.startsWith(value: java.lang.Object) : RelationOperator
Description
Returns a relational operator that filters any occurrence that starts with the given pattern.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
value | java.lang.Object | Conditional value. |
Return
( RelationOperator )
Relational operator.
where
_form.where(column: string, value: java.lang.Object) : Where
Description
Returns a new Where object ready to be configured.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
column | string | Column name. |
value | java.lang.Object | Conditional values. |
Return
( Where )
A new Where object
_form.where(column: string, value: RelationOperator) : Where
Description
Returns a new Where object ready to be configured.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
column | string | Column name. |
value | RelationOperator | Conditional values. |
Return
( Where )
A new Where object
_form.where(operator: org.netuno.tritao.query.where.ConditionOperator, column: string, value: java.lang.Object) : Where
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
operator | org.netuno.tritao.query.where.ConditionOperator | |
column | string | |
value | java.lang.Object |
Return
( Where )
_form.where(operator: org.netuno.tritao.query.where.ConditionOperator, column: string, relationOperator: RelationOperator) : Where
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
operator | org.netuno.tritao.query.where.ConditionOperator | |
column | string | |
relationOperator | RelationOperator |
Return
( Where )