RefyItemsHelper
The RefyItemsHelper
class is useful to manage all the RefyItem database operations
Author
N7ghtm4r3 - Tecknobit
Inheritors
Types
Link copied to clipboard
interface AttachmentsManagementWorkflow
The
AttachmentsManagementWorkflow
interface useful to manage the workflow to attach or detach items from containers such LinksCollection or com.tecknobit.refycore.records.TeamLink copied to clipboard
interface BatchQuery
The
BatchQuery
interface to manage the batch queries to insert or delete items in batchProperties
Link copied to clipboard
entityManager
entity manager helperLink copied to clipboard
RELATIONSHIP_VALUES_SLICE
query part to insert in the join table new rowLink copied to clipboard
ROUND_BRACKET
round bracket characterLink copied to clipboard
SINGLE_QUOTE
single quote characterLink copied to clipboard
TUPLE_VALUES_SLICE
query part to insert in the join table new rowFunctions
Link copied to clipboard
Link copied to clipboard
private open fun <I> assembleInsertBatchQuery(insertQuery: String, valuesSlice: String, values: Collection<I>): Query
Method to assemble the batch query to insert attachments
Link copied to clipboard
Link copied to clipboard
protected open fun <I> executeInsertBatch(insertQuery: String, valuesSlice: String, values: Collection<I>, batchQuery: RefyItemsHelper.BatchQuery)
Method to execute a batch query to insert attachments
Link copied to clipboard
Method used to get an item if the user is authorized
Link copied to clipboard
protected open fun manageAttachments(workflow: RefyItemsHelper.AttachmentsManagementWorkflow, itemId: String, ids: List<String>)
protected open fun manageAttachments(workflow: RefyItemsHelper.AttachmentsManagementWorkflow, valuesSlice: String, itemId: String, ids: List<String>, batchQuery: RefyItemsHelper.BatchQuery)
Method to manage the attachments of an item to a container