- API
- Work with apps
- Configuration object for bulk permanent deletion of app items
- Getting started [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
- Manage types
- Global context and isolation
- Manage apps
- Batch actions with app items
- Manage external services
- Scripts in widgets
- Web components
- Access permissions
- Getting started with processes
- Getting started with signatures
- Getting started with file previews
- Getting started with the organizational chart
- Getting started with users and groups
-
Getting started with the
Table data type -
Getting started with the
Category data type - Dynamic event type calculation
- Typical use cases
-
API
- Object types
- Data types
- Global constants
-
Work with apps
- ApplicationBatchDeleteBuilder
- ApplicationBatchHardDeleteBuilder
- ApplicationBatchSaveBuilder
- ApplicationBatchSaver
- ApplicationBatchSetStatusBuilder
- ApplicationBatchUpdateBuilder
- ApplicationBatchUpdater
- ApplicationBatcher
- ApplicationFieldOperand
- ApplicationFieldProjectionCapable
- ApplicationSearch
- ApplicationSearchWithProjection
- ApplicationTypeFieldOperand
- ApplicationsBatchSaveBuilder
- ApplicationsBatchSaver
- ApplicationsBatcher
- ApplicationsService
- BaseFieldOperand
- BaseGlobalFilters
- ComparableFieldOperand
- ContextOperand
- DirectoriesSearch
- DocflowSettings
- FieldArrayOperand
- FieldOperand
- FilesSearch
- FolderSettings
- GlobalFilters
- GlobalFiltersWithWhere
- LineApplicationFieldOperand
- MailMessageSearch
- MoneyFieldOperand
- NomenclatureRegistrationSettings
- OrganisationStructureSearch
- PhoneFieldOperand
- ProcessInstanceSearch
- ProcessInstanceTaskSearch
- RefItemFieldOperand
- RegistrationSettings
- ReminderSearch
- ReplacementRulesSearch
- ReplacementSearch
- ReportSearch
- ResetSettings
- Search
- SerialData
- SerialSettings
- SignatureSettings
- StatusHistorySearch
- StringFieldOperand
- TDocTemplate
- TFolder
- TNomenclature
- TNomenclatureDirectory
- TSettings
- UpdateOperations
- UserGroupSearch
- UserSearch
- FieldSelection
- TApplicationTypeFilter
- Web requests
- Access permissions
- Document flow
- Live Chats
- “Code” widget
- Signatures
- Business calendars
- Integration with IP telephony
- Integration with email marketing services
- Company configuration metadata
- Activity stream metadata
Configuration object for bulk permanent deletion of app items
The object enables basic configuration of bulk hard deletion. To bulk delete app items with the option to restore them, use ApplicationBatchDeleteBuilder.
Type parameters
TFull: ItemData
Hierarchy
Methods
all
The method performs a bulk hard delete.
Returns the number of items actually deleted according to ApplicationBatchHardDeleteBuilder.size, starting from ApplicationBatchHardDeleteBuilder.from. By default, the number of items to delete is limited to 10 records. If you need to delete more items, use the ApplicationBatchHardDeleteBuilder.size method.
const searchResults = await Application.batch() .hardDelete() .where ((f, g) => g.and ( f.__deletedAt.neq(null), f.str.eq(null) )) .all();Returns Promise<number>
from
The method allows you to skip a specified number of items to be deleted.
Parameters
n: number
Returns this
size
The method allows you to set a limit on the number of items to be deleted.
Parameters
n: number
Returns this
sort
The method allows sorting the items to be deleted.
To sort the results by multiple parameters, you can call the method several times.
Parameters
field: keyof TFull
Optional ascending: undefined | false | true
Returns this
where
The method allows you to set a filter for the items to be deleted from the collection.
Parameters
fc: FilterClosure<TFull>
Returns this
The method allows you to set a filter for the items to be deleted from the collection.
Parameters
eql: EqlQuery
Optional params: EqlParams
Returns this
Methods
Feedback sent successfully
Thank you for your input