Skip to content

ISelection

Namespace: VideoCataloger

Type: Interface

Current selection in the application.

Definition

public interface ISelection

Methods

Method Description
GetSelectedVideos() Get a list of the currently selected video ids.
SetSelectedVideos(List) Set the selected videos in the program.
SetSelectedVideo(long) Select one video in the catalog window.
SetNoSelectedVideo() Set no selected video in the video catalog window.
GetSelectedPlaylist() Get the currently selected playlist. null if no selected playlist
SetSelectedPlaylist(long) Set the currently selected playlist.
SetSelectedPlaylistClip(int) Set the currently selected playlist clip assuming a playlist is selected.
GetSelectedBin() Get the currently selected Bin. null if no selected bin
SetSelectedBin(long) Set the currently selected bin.
GetSelectedActor() Get the currently selected actor. null if no selected actor
SetSelectedActor(long) Set the currently selected Actor.
GetSelectedThumbnails() Get a list of the currently selected thumbnail ids.
SetSelectedThumbnails(List) Set the selected thumbnails in the program.
SetSelectedThumbnail(long) Select one thumbnail in the catalog window.
SetSelectedThumbnail(long) Select one thumbnail in the catalog window.

GetSelectedVideos

Get a list of the currently selected video ids.

List<long> GetSelectedVideos()

Returns: Collections.Generic.List{Int64} - A list with video ids of the currently selected videos in the catalog window. An emty list if there is no selection.


SetSelectedVideos

Set the selected videos in the program.

void SetSelectedVideos(List<long> new_selection)

Parameters:

Name Type Description
new_selection Collections.Generic.List{Int64} List with video ids

SetSelectedVideo

Select one video in the catalog window.

void SetSelectedVideo(long video_id)

Parameters:

Name Type Description
video_id Int64 Video id for the video to be selected

SetNoSelectedVideo

Set no selected video in the video catalog window.

void SetNoSelectedVideo()

GetSelectedPlaylist

Get the currently selected playlist. null if no selected playlist

VideoPlaylist GetSelectedPlaylist()

Returns: VideoCataloger.RemoteCatalogService.VideoPlaylist - Currently selected Playlist.


SetSelectedPlaylist

Set the currently selected playlist.

void SetSelectedPlaylist(long playlist_id)

Parameters:

Name Type Description
playlist_id Int64 Playlist id for the playlist to be selected

SetSelectedPlaylistClip

Set the currently selected playlist clip assuming a playlist is selected.

void SetSelectedPlaylistClip(int clip_id)

Parameters:

Name Type Description
clip_id Int32 clip to select

GetSelectedBin

Get the currently selected Bin. null if no selected bin

Bin GetSelectedBin()

Returns: VideoCataloger.RemoteCatalogService.Bin - Currently selected Bin.


SetSelectedBin

Set the currently selected bin.

void SetSelectedBin(long bin_id)

Parameters:

Name Type Description
bin_id Int64 bin id for the Bin to be selected

GetSelectedActor

Get the currently selected actor. null if no selected actor

Actor GetSelectedActor()

Returns: VideoCataloger.RemoteCatalogService.Actor - Currently selected Actor.


SetSelectedActor

Set the currently selected Actor.

void SetSelectedActor(long actor_id)

Parameters:

Name Type Description
actor_id Int64 actor id for the selected actor

GetSelectedThumbnails

Get a list of the currently selected thumbnail ids.

List<long> GetSelectedThumbnails()

Returns: Collections.Generic.List{Int64} - A list with video ids of the currently selected thumbnails. An emty list if there is no selection.


SetSelectedThumbnails

Set the selected thumbnails in the program.

void SetSelectedThumbnails(List<long> new_selection)

Parameters:

Name Type Description
new_selection Collections.Generic.List{Int64} List with thumbnai ids

SetSelectedThumbnail

Select one thumbnail in the catalog window.

void SetSelectedThumbnail(long thumbnail_id)

Parameters:

Name Type Description
thumbnail_id Int64 Thumbnail id for the video to be selected

SetSelectedThumbnail

Select one thumbnail in the catalog window.

void SetSelectedThumbnail(long thumbnail_id)

Parameters:

Name Type Description
thumbnail_id Int64 Thumbnail id for the video to be selected