class PendingVolumeImportController extends Controller

Traits

AuthorizesRequests
ValidatesRequests

Methods

bool
isAutomatedRequest(Request $request = null)

Determines if the request was done by an automated script (with API token or ajax).

RedirectResponse
fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

updateAnnotationLabels(UpdatePendingVolumeAnnotationLabels $request)

Choose annotation labels for import.

updateFileLabels(UpdatePendingVolumeFileLabels $request)

Choose file labels for import.

updateLabelMap(UpdatePendingVolumeLabelMap $request)

Match metadata labels with database labels.

updateUserMap(UpdatePendingVolumeUserMap $request)

Match metadata users with database users.

storeImport(StorePendingVolumeImport $request)

Perform the metadata annotation and/or file label import.

Details

in Controller at line 21
bool isAutomatedRequest(Request $request = null)

Determines if the request was done by an automated script (with API token or ajax).

Parameters

Request $request

Return Value

bool

in Controller at line 15
protected RedirectResponse fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

Return Value

RedirectResponse

at line 45
updateAnnotationLabels(UpdatePendingVolumeAnnotationLabels $request)

Choose annotation labels for import.

at line 91
updateFileLabels(UpdatePendingVolumeFileLabels $request)

Choose file labels for import.

Parameters

UpdatePendingVolumeFileLabels $request

at line 134
updateLabelMap(UpdatePendingVolumeLabelMap $request)

Match metadata labels with database labels.

Parameters

UpdatePendingVolumeLabelMap $request

at line 177
updateUserMap(UpdatePendingVolumeUserMap $request)

Match metadata users with database users.

Parameters

UpdatePendingVolumeUserMap $request

at line 201
storeImport(StorePendingVolumeImport $request)

Perform the metadata annotation and/or file label import.

Parameters

StorePendingVolumeImport $request