StoreProjectLargoSession
class StoreProjectLargoSession extends StoreLargoSession
Properties
bool | $force | The force request attribute. |
from StoreLargoSession |
array | $dismissedImageAnnotations | The dismissed_image_annotations request attribute. |
from StoreLargoSession |
array | $changedImageAnnotations | The changed_image_annotations request attribute. |
from StoreLargoSession |
array | $dismissedVideoAnnotations | The dismissed_video_annotations request attribute. |
from StoreLargoSession |
array | $changedVideoAnnotations | The changed_video_annotations request attribute. |
from StoreLargoSession |
bool | $emptyRequest | Specifies whether the request is empty. |
from StoreLargoSession |
Project | $project | The project to store the Largo session for. |
|
Collection | $volumes | The volumes that are associated with the image annotations that should be changed. |
Methods
Determine if the user is authorized to make this request.
Get a list of unique annotation IDs that are either dismissed or changed.
Check if all given image annotations belong to the given volumes.
Check if all given video annotations belong to the given volumes.
Returns the IDs of all label trees that must be available to apply the changes.
Configure the validator instance.
Get the IDs of the image volumes that are associated with the referenced image annotations.
Get the IDs of the video volumes that are associated with the referenced video annotations.
Details
at line 30
bool
authorize()
Determine if the user is authorized to make this request.
in
StoreLargoSession at line 73
array
rules()
Get the validation rules that apply to the request.
in
StoreLargoSession at line 92
protected array
getAffectedAnnotations(array $dismissed, array $changed)
Get a list of unique annotation IDs that are either dismissed or changed.
in
StoreLargoSession at line 113
protected bool
imageAnotationsBelongToVolumes(array $annotations, array $volumes)
Check if all given image annotations belong to the given volumes.
in
StoreLargoSession at line 129
protected bool
videoAnotationsBelongToVolumes(array $annotations, array $volumes)
Check if all given video annotations belong to the given volumes.
in
StoreLargoSession at line 144
protected array
getRequiredLabelTrees(array $changed)
Returns the IDs of all label trees that must be available to apply the changes.
at line 57
void
withValidator(Validator $validator)
Configure the validator instance.
at line 121
protected array
getAffectedImageVolumes(array $annotations)
Get the IDs of the image volumes that are associated with the referenced image annotations.
at line 137
protected array
getAffectedVideoVolumes(array $annotations)
Get the IDs of the video volumes that are associated with the referenced video annotations.