prapi

package
v0.0.0-...-7a64e88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2026 License: AGPL-3.0 Imports: 32 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddOwnerRestriction

func AddOwnerRestriction(queryBuilder *cqlbuilder.QueryBuilder, symbol string, side pr_db.PatronRequestSide) (*cqlbuilder.QueryBuilder, error)

Types

type ActionTaskProcessor

type ActionTaskProcessor interface {
	ProcessInvokeActionTask(ctx common.ExtendedContext, event events.Event) (events.Event, error)
}

type PatronRequestApiHandler

type PatronRequestApiHandler struct {
	// contains filtered or unexported fields
}

func NewPrApiHandler

func NewPrApiHandler(prRepo pr_db.PrRepo, eventBus events.EventBus,
	eventRepo events.EventRepo, tenantResolver *tenant.TenantResolver, iso18626Handler handler.Iso18626HandlerInterface, limitDefault int32) PatronRequestApiHandler

func (*PatronRequestApiHandler) DeletePatronRequestsId

func (*PatronRequestApiHandler) DeleteTemplatesId

func (*PatronRequestApiHandler) GetPatronRequests

func (*PatronRequestApiHandler) GetPatronRequestsId

func (*PatronRequestApiHandler) GetPatronRequestsIdActions

func (a *PatronRequestApiHandler) GetPatronRequestsIdActions(w http.ResponseWriter, r *http.Request, id string, params proapi.GetPatronRequestsIdActionsParams)

func (*PatronRequestApiHandler) GetPatronRequestsIdEvents

func (a *PatronRequestApiHandler) GetPatronRequestsIdEvents(w http.ResponseWriter, r *http.Request, id string, params proapi.GetPatronRequestsIdEventsParams)

func (*PatronRequestApiHandler) GetPatronRequestsIdItems

func (a *PatronRequestApiHandler) GetPatronRequestsIdItems(w http.ResponseWriter, r *http.Request, id string, params proapi.GetPatronRequestsIdItemsParams)

func (*PatronRequestApiHandler) GetPatronRequestsIdNotifications

func (a *PatronRequestApiHandler) GetPatronRequestsIdNotifications(w http.ResponseWriter, r *http.Request, id string, params proapi.GetPatronRequestsIdNotificationsParams)

func (*PatronRequestApiHandler) GetPatronRequestsPrefill

func (*PatronRequestApiHandler) GetStateModelBatchActions

func (*PatronRequestApiHandler) GetStateModelCapabilities

func (*PatronRequestApiHandler) GetStateModelModelsModel

func (a *PatronRequestApiHandler) GetStateModelModelsModel(w http.ResponseWriter, r *http.Request, model string, params proapi.GetStateModelModelsModelParams)

func (*PatronRequestApiHandler) GetStateModelTemplates

func (*PatronRequestApiHandler) GetTemplates

func (*PatronRequestApiHandler) GetTemplatesId

func (*PatronRequestApiHandler) GetTemplatesPlaceholders

func (a *PatronRequestApiHandler) GetTemplatesPlaceholders(w http.ResponseWriter, _ *http.Request)

func (*PatronRequestApiHandler) PostPatronRequests

func (*PatronRequestApiHandler) PostPatronRequestsIdAction

func (a *PatronRequestApiHandler) PostPatronRequestsIdAction(w http.ResponseWriter, r *http.Request, id string, params proapi.PostPatronRequestsIdActionParams)

func (*PatronRequestApiHandler) PostPatronRequestsIdNotifications

func (a *PatronRequestApiHandler) PostPatronRequestsIdNotifications(w http.ResponseWriter, r *http.Request, id string, params proapi.PostPatronRequestsIdNotificationsParams)

func (*PatronRequestApiHandler) PostPatronRequestsIdTerminate

func (a *PatronRequestApiHandler) PostPatronRequestsIdTerminate(w http.ResponseWriter, r *http.Request, id string, params proapi.PostPatronRequestsIdTerminateParams)

func (*PatronRequestApiHandler) PostTemplates

func (*PatronRequestApiHandler) PostTemplatesPreview

func (*PatronRequestApiHandler) PutPatronRequestsId

func (*PatronRequestApiHandler) PutPatronRequestsIdInternalNote

func (a *PatronRequestApiHandler) PutPatronRequestsIdInternalNote(w http.ResponseWriter, r *http.Request, id string, params proapi.PutPatronRequestsIdInternalNoteParams)

func (*PatronRequestApiHandler) PutPatronRequestsIdNotificationsNotificationIdReceipt

func (a *PatronRequestApiHandler) PutPatronRequestsIdNotificationsNotificationIdReceipt(w http.ResponseWriter, r *http.Request, id string, notificationId string, params proapi.PutPatronRequestsIdNotificationsNotificationIdReceiptParams)

func (*PatronRequestApiHandler) PutTemplatesId

func (*PatronRequestApiHandler) SetActionTaskProcessor

func (a *PatronRequestApiHandler) SetActionTaskProcessor(actionTaskProcessor ActionTaskProcessor)

func (*PatronRequestApiHandler) SetAutoActionRunner

func (a *PatronRequestApiHandler) SetAutoActionRunner(autoActionRunner prservice.AutoActionRunner)

func (*PatronRequestApiHandler) SetPickupLocationValidator

func (a *PatronRequestApiHandler) SetPickupLocationValidator(validator PickupLocationValidator)

func (*PatronRequestApiHandler) SetPrefillProvider

func (a *PatronRequestApiHandler) SetPrefillProvider(provider PrefillProvider)

SetPrefillProvider wires the read-only catalog service.

func (*PatronRequestApiHandler) SetRequestIdPrefixResolver

func (a *PatronRequestApiHandler) SetRequestIdPrefixResolver(resolver RequestIdPrefixResolver)

type PickupLocationValidator

type PickupLocationValidator interface {
	ValidateRequesterPickupLocation(ctx common.ExtendedContext, pr pr_db.PatronRequest) error
}

type PrefillProvider

type PrefillProvider interface {
	Prefill(common.ExtendedContext, string, catalog.LookupParams) (prservice.Prefill, error)
}

PrefillProvider supplies catalog metadata for the authorized requester.

type RequestIdPrefixResolver

type RequestIdPrefixResolver interface {
	RequestIdPrefix(ctx common.ExtendedContext, requesterSymbol string) (string, error)
}

RequestIdPrefixResolver chooses the prefix for request IDs generated for a requester.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL