Criterion
From LogicalDOC Community Wiki
Jump to navigationJump to search
The search criterion
| Property | Type | Nullable | Comment |
| field | String | no | the criterion field. It can be: "id", "title", "object", "type", "coverage", "customId", "version", "publisher", "creator", "recipient", "source", "sourceid", "sourceAuthor", "sourceDate", "fileSize", "lastModified", "date", "creation", "filename", "rating", "tags" |
| composition | String | no | the criterion composition. It is always 'and' |
| operator | String | no | the criterion operator. It can be: "equals", "notequal", "contains", "notcontains", "greaterthan", "lessthan" |
| type | Integer | no | the criterion value type, 0 = String, 1 = Integer, 2 = Double, 3 = Date |
| stringValue | String | yes | the criterion value as string |
| dateValue | Date | yes | the criterion value as date |
| longValue | long | yes | the criterion value as long |
| doubleValue | double | yes | the criterion value as double |