Package ca.phon.session.impl
Class SessionFactoryImpl
java.lang.Object
ca.phon.session.impl.SessionFactoryImpl
- All Implemented Interfaces:
IPluginExtensionPoint<SessionFactorySPI>
,SessionFactorySPI
public class SessionFactoryImpl
extends Object
implements SessionFactorySPI, IPluginExtensionPoint<SessionFactorySPI>
Default implementation of a session factory.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate commentCreate a new media segmentCreate a new participant object.Create a new record.Create a new empty session.Session metadata<T> TierSPI<T>
createTier
(String name, Class<T> type, boolean grouped) Create a new tier object with the specified type.createTierDescription
(String name, boolean grouped, Class<?> type) Create tier description.createTierViewItem
(String name, boolean visible, String font, boolean locked) Create a tier display and ordering objectCreate a new transcriber object.Class<?>
Get type of extensionGet factory for extension point objects
-
Constructor Details
-
SessionFactoryImpl
public SessionFactoryImpl()
-
-
Method Details
-
createSession
Description copied from interface:SessionFactorySPI
Create a new empty session. Tier view- Specified by:
createSession
in interfaceSessionFactorySPI
- Returns:
- a new session impl
-
createRecord
Description copied from interface:SessionFactorySPI
Create a new record.- Specified by:
createRecord
in interfaceSessionFactorySPI
- Returns:
- a new empty record
-
createParticipant
Description copied from interface:SessionFactorySPI
Create a new participant object.- Specified by:
createParticipant
in interfaceSessionFactorySPI
- Returns:
- new participant object
-
createMediaSegment
Description copied from interface:SessionFactorySPI
Create a new media segment- Specified by:
createMediaSegment
in interfaceSessionFactorySPI
-
createTier
Description copied from interface:SessionFactorySPI
Create a new tier object with the specified type.- Specified by:
createTier
in interfaceSessionFactorySPI
- Returns:
- the new tier
-
createTierDescription
Description copied from interface:SessionFactorySPI
Create tier description.- Specified by:
createTierDescription
in interfaceSessionFactorySPI
- Returns:
- new tier description
-
createTranscriber
Description copied from interface:SessionFactorySPI
Create a new transcriber object.- Specified by:
createTranscriber
in interfaceSessionFactorySPI
- Returns:
- new transcriber
-
createTierViewItem
public TierViewItemSPI createTierViewItem(String name, boolean visible, String font, boolean locked) Description copied from interface:SessionFactorySPI
Create a tier display and ordering object- Specified by:
createTierViewItem
in interfaceSessionFactorySPI
- Returns:
-
createComment
Description copied from interface:SessionFactorySPI
Create comment- Specified by:
createComment
in interfaceSessionFactorySPI
- Returns:
- new comment impl
-
createSessionMetadata
Description copied from interface:SessionFactorySPI
Session metadata- Specified by:
createSessionMetadata
in interfaceSessionFactorySPI
- Returns:
-
getExtensionType
Description copied from interface:IPluginExtensionPoint
Get type of extension- Specified by:
getExtensionType
in interfaceIPluginExtensionPoint<SessionFactorySPI>
-
getFactory
Description copied from interface:IPluginExtensionPoint
Get factory for extension point objects- Specified by:
getFactory
in interfaceIPluginExtensionPoint<SessionFactorySPI>
-