public class LinkDefinitionsClientImpl extends ApiClient implements LinkDefinitionsClient
baseUrl, httpClient, httpRequestHandler, objectMapper| Constructor and Description |
|---|
LinkDefinitionsClientImpl(String baseUrl,
kong.unirest.UnirestInstance httpClient,
com.laserfiche.api.client.httphandlers.HttpRequestHandler httpRequestHandler) |
| Modifier and Type | Method and Description |
|---|---|
EntryLinkTypeInfo |
getLinkDefinitionById(ParametersForGetLinkDefinitionById parameters)
- Returns a single link definition associated with the specified ID.
- Provide a link type ID and get the associated link definition. |
ODataValueContextOfIListOfEntryLinkTypeInfo |
getLinkDefinitions(ParametersForGetLinkDefinitions parameters)
- Returns the link definitions in the repository.
- Provide a repository ID and get a paged listing of link definitions available in the repository. |
void |
getLinkDefinitionsForEach(Function<ODataValueContextOfIListOfEntryLinkTypeInfo,Boolean> callback,
Integer maxPageSize,
ParametersForGetLinkDefinitions parameters)
Provides the functionality to iteratively (i.e.
|
ODataValueContextOfIListOfEntryLinkTypeInfo |
getLinkDefinitionsNextLink(String nextLink,
int maxPageSize)
Returns the next subset of the requested collection, using a nextlink url.
|
public LinkDefinitionsClientImpl(String baseUrl, kong.unirest.UnirestInstance httpClient, com.laserfiche.api.client.httphandlers.HttpRequestHandler httpRequestHandler)
public EntryLinkTypeInfo getLinkDefinitionById(ParametersForGetLinkDefinitionById parameters)
LinkDefinitionsClientgetLinkDefinitionById in interface LinkDefinitionsClientparameters - An object of type ParametersForGetLinkDefinitionById which encapsulates the parameters of getLinkDefinitionById method.EntryLinkTypeInfo The return valuepublic ODataValueContextOfIListOfEntryLinkTypeInfo getLinkDefinitions(ParametersForGetLinkDefinitions parameters)
LinkDefinitionsClientgetLinkDefinitions in interface LinkDefinitionsClientparameters - An object of type ParametersForGetLinkDefinitions which encapsulates the parameters of getLinkDefinitions method.ODataValueContextOfIListOfEntryLinkTypeInfo The return valuepublic ODataValueContextOfIListOfEntryLinkTypeInfo getLinkDefinitionsNextLink(String nextLink, int maxPageSize)
LinkDefinitionsClientgetLinkDefinitionsNextLink in interface LinkDefinitionsClientnextLink - A url that allows retrieving the next subset of the requested collection.maxPageSize - Optionally specify the maximum number of items to retrieve.ODataValueContextOfIListOfEntryLinkTypeInfo The return valuepublic void getLinkDefinitionsForEach(Function<ODataValueContextOfIListOfEntryLinkTypeInfo,Boolean> callback, Integer maxPageSize, ParametersForGetLinkDefinitions parameters)
LinkDefinitionsClientgetLinkDefinitions, and apply a function on the response of each iteration.getLinkDefinitionsForEach in interface LinkDefinitionsClientcallback - A delegate that will be called each time new data is retrieved. Returns false to stop receiving more data; returns true to be called again if there's more data.maxPageSize - Optionally specify the maximum number of items to retrieve.parameters - An object of type ParametersForGetLinkDefinitions which encapsulates the parameters of getLinkDefinitions method.Copyright © 2025. All rights reserved.