Class FilteredSession
java.lang.Object
ca.phon.app.session.FilteredSession
- All Implemented Interfaces:
SessionSPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addParticipant
(int idx, Participant participant) Add participant at given indexvoid
addParticipant
(Participant participant) Add a new participantvoid
Add a new transcribervoid
addUserTier
(int idx, TierDescription tierDescription) void
addUserTier
(TierDescription tierDescription) Add a user tiervoid
deleteTierAlignmentRules
(String tier1, String tier2) Get list of blind tier namesGet the corpusgetDate()
Get the transcript dateGet the list of (unmodifiable) languages (if any) for the sessionGet/Set the media file locationGet the metadatagetName()
Get the transcript namegetParticipant
(int idx) Get the participant at the given indexint
Get the number of participantsint
getParticipantIndex
(Participant participant) Get the index of the given participantgetSystemTierParameters
(SystemTierType systemTier) Get tier parameters for system tiergetTierAlignmentRules
(String tier1, String tier2) getTiers()
Get list of all tiers including system tiersGet the tier viewGet the timeline object which is the collection of all timeline tiers.getTranscriber
(int i) Get thei
th transcriber.getTranscriber
(String username) Get transcriber for the specified usernameint
Get the number of transcribersGet the transcript object which is the collection of all comments, gems and records.getUserTier
(int idx) Get user tier for the specified index.int
Number of user-defined tiers for this sessionvoid
putSystemTierParam
(SystemTierType systemTier, String key, String value) Set tier parameter for system tiervoid
putTierAlignmentRules
(TierAlignmentRules tierAlignmentRules) void
removeParticipant
(int idx) Remove a participantvoid
removeParticipant
(Participant participant) Remove a participant.void
removeTranscriber
(int i) Remove thei
th transcribervoid
Remove a transcribervoid
removeTranscriber
(String username) removeUserTier
(int idx) Remove user tierremoveUserTier
(TierDescription tierDescription) void
setBlindTiers
(List<String> blindTiers) Set list of blind tier namesvoid
Set the corpusvoid
Get the transcript datevoid
setLanguages
(List<Language> languages) Set the list of languages for the sessionvoid
setMediaLocation
(String mediaLocation) Media locationvoid
Set the transcript namevoid
setTierView
(List<TierViewItem> view) Set tier view
-
Constructor Details
-
FilteredSession
-
-
Method Details
-
getName
Description copied from interface:SessionSPI
Get the transcript name- Specified by:
getName
in interfaceSessionSPI
-
getDate
Description copied from interface:SessionSPI
Get the transcript date- Specified by:
getDate
in interfaceSessionSPI
-
getLanguages
Description copied from interface:SessionSPI
Get the list of (unmodifiable) languages (if any) for the session- Specified by:
getLanguages
in interfaceSessionSPI
-
setLanguages
Description copied from interface:SessionSPI
Set the list of languages for the session- Specified by:
setLanguages
in interfaceSessionSPI
- Parameters:
languages
-
-
getMediaLocation
Description copied from interface:SessionSPI
Get/Set the media file location- Specified by:
getMediaLocation
in interfaceSessionSPI
-
getTierView
Description copied from interface:SessionSPI
Get the tier view- Specified by:
getTierView
in interfaceSessionSPI
- Returns:
- tier view (unmodifiable)
-
setTierView
Description copied from interface:SessionSPI
Set tier view- Specified by:
setTierView
in interfaceSessionSPI
- Parameters:
view
-
-
getTiers
Description copied from interface:SessionSPI
Get list of all tiers including system tiers- Specified by:
getTiers
in interfaceSessionSPI
- Returns:
- list of all tiers including system tiers and user defined tiers
-
getSystemTierParameters
Description copied from interface:SessionSPI
Get tier parameters for system tier- Specified by:
getSystemTierParameters
in interfaceSessionSPI
- Parameters:
systemTier
-- Returns:
- unmodifiable tier params for given system tier
-
putSystemTierParam
Description copied from interface:SessionSPI
Set tier parameter for system tier- Specified by:
putSystemTierParam
in interfaceSessionSPI
- Parameters:
systemTier
-key
-value
-
-
getUserTierCount
public int getUserTierCount()Description copied from interface:SessionSPI
Number of user-defined tiers for this session- Specified by:
getUserTierCount
in interfaceSessionSPI
-
getUserTier
Description copied from interface:SessionSPI
Get user tier for the specified index.- Specified by:
getUserTier
in interfaceSessionSPI
- Parameters:
idx
-- Returns:
- tier description
-
removeUserTier
Description copied from interface:SessionSPI
Remove user tier- Specified by:
removeUserTier
in interfaceSessionSPI
- Parameters:
idx
-
-
removeUserTier
- Specified by:
removeUserTier
in interfaceSessionSPI
-
addUserTier
Description copied from interface:SessionSPI
Add a user tier- Specified by:
addUserTier
in interfaceSessionSPI
-
addUserTier
- Specified by:
addUserTier
in interfaceSessionSPI
-
getTierAlignmentRules
- Specified by:
getTierAlignmentRules
in interfaceSessionSPI
-
getTierAlignmentRules
- Specified by:
getTierAlignmentRules
in interfaceSessionSPI
-
putTierAlignmentRules
- Specified by:
putTierAlignmentRules
in interfaceSessionSPI
-
deleteTierAlignmentRules
- Specified by:
deleteTierAlignmentRules
in interfaceSessionSPI
-
getBlindTiers
Description copied from interface:SessionSPI
Get list of blind tier names- Specified by:
getBlindTiers
in interfaceSessionSPI
- Returns:
- blind tier names
-
setBlindTiers
Description copied from interface:SessionSPI
Set list of blind tier names- Specified by:
setBlindTiers
in interfaceSessionSPI
-
getTranscriberCount
public int getTranscriberCount()Description copied from interface:SessionSPI
Get the number of transcribers- Specified by:
getTranscriberCount
in interfaceSessionSPI
-
getTranscriber
Description copied from interface:SessionSPI
Get transcriber for the specified username- Specified by:
getTranscriber
in interfaceSessionSPI
- Parameters:
username
-- Returns:
-
getTranscriber
Description copied from interface:SessionSPI
Get thei
th transcriber.- Specified by:
getTranscriber
in interfaceSessionSPI
- Parameters:
i
-- Returns:
-
removeTranscriber
public void removeTranscriber(int i) Description copied from interface:SessionSPI
Remove thei
th transcriber- Specified by:
removeTranscriber
in interfaceSessionSPI
- Parameters:
i
-
-
getMetadata
Description copied from interface:SessionSPI
Get the metadata- Specified by:
getMetadata
in interfaceSessionSPI
- Returns:
- Metadata
-
getParticipantCount
public int getParticipantCount()Description copied from interface:SessionSPI
Get the number of participants- Specified by:
getParticipantCount
in interfaceSessionSPI
- Returns:
- the number of participants
-
addParticipant
Description copied from interface:SessionSPI
Add a new participant- Specified by:
addParticipant
in interfaceSessionSPI
- Parameters:
participant
-
-
addParticipant
Description copied from interface:SessionSPI
Add participant at given index- Specified by:
addParticipant
in interfaceSessionSPI
- Parameters:
idx
-participant
-
-
getParticipant
Description copied from interface:SessionSPI
Get the participant at the given index- Specified by:
getParticipant
in interfaceSessionSPI
- Parameters:
idx
-- Returns:
- the specified participant
-
getParticipantIndex
Description copied from interface:SessionSPI
Get the index of the given participant- Specified by:
getParticipantIndex
in interfaceSessionSPI
- Returns:
- index of participant or -1 if not found
-
setName
Description copied from interface:SessionSPI
Set the transcript name- Specified by:
setName
in interfaceSessionSPI
-
setDate
Description copied from interface:SessionSPI
Get the transcript date- Specified by:
setDate
in interfaceSessionSPI
-
setMediaLocation
Description copied from interface:SessionSPI
Media location- Specified by:
setMediaLocation
in interfaceSessionSPI
-
addTranscriber
Description copied from interface:SessionSPI
Add a new transcriber- Specified by:
addTranscriber
in interfaceSessionSPI
-
removeTranscriber
Description copied from interface:SessionSPI
Remove a transcriber- Specified by:
removeTranscriber
in interfaceSessionSPI
-
removeTranscriber
- Specified by:
removeTranscriber
in interfaceSessionSPI
-
removeParticipant
Description copied from interface:SessionSPI
Remove a participant.- Specified by:
removeParticipant
in interfaceSessionSPI
- Parameters:
participant
-
-
removeParticipant
public void removeParticipant(int idx) Description copied from interface:SessionSPI
Remove a participant- Specified by:
removeParticipant
in interfaceSessionSPI
- Parameters:
idx
-
-
getTranscript
Description copied from interface:SessionSPI
Get the transcript object which is the collection of all comments, gems and records.- Specified by:
getTranscript
in interfaceSessionSPI
- Returns:
- transcript object
-
getTimeline
Description copied from interface:SessionSPI
Get the timeline object which is the collection of all timeline tiers.- Specified by:
getTimeline
in interfaceSessionSPI
- Returns:
- timeline object
-
getCorpus
Description copied from interface:SessionSPI
Get the corpus- Specified by:
getCorpus
in interfaceSessionSPI
-
setCorpus
Description copied from interface:SessionSPI
Set the corpus- Specified by:
setCorpus
in interfaceSessionSPI
-
getFilter
-
getDelegate
-