Links
Collections
Service
The LinksCollectionsHelper
class is
useful to manage all the LinksCollection
database operations
Author
N7ghtm4r3 - Tecknobit
See also
EquinoxItemsHelper
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
collectionsRepository
instance for the collections repository
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
linksRepository
instance for
the links repository
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
teamsRepository
instance for
the teams repository
Functions
Link copied to clipboard
Method to attach the links with a
collection
Link copied to clipboard
protected open fun batchDelete(table: String, values: Collection<out Any>, columns: Array<@NotNull String>)
Link copied to clipboard
protected open fun <V> batchInsert( command: EquinoxItemsHelper.InsertCommand, table: String, batchQuery: EquinoxItemsHelper.BatchQuery<V>)
Link copied to clipboard
Link copied to clipboard
Method to delete a collection
Link copied to clipboard
Link copied to clipboard
open fun getAllUserCollections(userId: String, page: Int, pageSize: Int, keywords: Set<String>): PaginatedResponse<LinksCollection>
Method to get all the user's collections,
included the collections shared in the teams
Link copied to clipboard
Link copied to clipboard
open fun getCollectionTeams(collectionId: String, page: Int, pageSize: Int): PaginatedResponse<Team>
Method to get the teams where the collection
is shared
Link copied to clipboard
Method used to get an item if the user is
authorized
Link copied to clipboard
Method to get the user's owned collections
identifiers
Link copied to clipboard
open fun getUserOwnedCollections(userId: String, page: Int, pageSize: Int): PaginatedResponse<LinksCollection>
Method to get the user's owned collections
Link copied to clipboard
Method to remove a link from a collection
Link copied to clipboard
Method to remove a team from a collection
Link copied to clipboard
Method to manage the teams where the
collection is shared