org.jtheque.films
Class FilmsModule

java.lang.Object
  extended by org.jtheque.films.FilmsModule
All Implemented Interfaces:
org.jtheque.core.managers.module.beans.CollectionBasedModule, IFilmsModule

@Module(id="jtheque-films-module",
        i18n="classpath:org/jtheque/films/i18n/films",
        version="1.4.2",
        core="2.0.2",
        jarFile="jtheque-films-module-1.4.2.jar",
        updateURL="http://jtheque.developpez.com/public/versions/FilmsModule.versions")
public final class FilmsModule
extends Object
implements org.jtheque.core.managers.module.beans.CollectionBasedModule, IFilmsModule

A JTheque Module for managing films.

Author:
Baptiste Wicht

Constructor Summary
FilmsModule(org.jtheque.primary.view.impl.choice.ChoiceAction[] choiceActions, org.jtheque.core.managers.view.able.components.TabComponent[] tabComponents, org.jtheque.primary.view.impl.sort.Sorter[] sorters, org.jtheque.core.managers.view.impl.components.config.ConfigTabComponent[] configTabComponents)
          Construct a new FilmsModule.
 
Method Summary
 boolean chooseCollection(String collection, String password, boolean create)
           
 org.jtheque.core.managers.feature.Feature getActorsFeature()
          Return the actors feature.
 Configuration getConfiguration()
          Return the configuration of the module.
 org.jtheque.core.managers.feature.Feature getFilmsFeature()
          Return the films feature.
 org.jtheque.core.managers.feature.Feature getRealizersFeature()
          Return the realizers feature.
 void plug()
          Plug the module.
 void plugCollection()
           
 void prePlug()
          Pre plug the module.
 void unplug()
          Un plug the module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilmsModule

public FilmsModule(org.jtheque.primary.view.impl.choice.ChoiceAction[] choiceActions,
                   org.jtheque.core.managers.view.able.components.TabComponent[] tabComponents,
                   org.jtheque.primary.view.impl.sort.Sorter[] sorters,
                   org.jtheque.core.managers.view.impl.components.config.ConfigTabComponent[] configTabComponents)
Construct a new FilmsModule.

Parameters:
choiceActions - The choice actions of the module.
tabComponents - The tab components of the module.
sorters - The sorters of the module.
configTabComponents - The config tab components.
Method Detail

prePlug

@PrePlug
public void prePlug()
Pre plug the module.


plug

@Plug
public void plug()
Plug the module.


chooseCollection

public boolean chooseCollection(String collection,
                                String password,
                                boolean create)
Specified by:
chooseCollection in interface org.jtheque.core.managers.module.beans.CollectionBasedModule

plugCollection

public void plugCollection()
Specified by:
plugCollection in interface org.jtheque.core.managers.module.beans.CollectionBasedModule

unplug

@UnPlug
public void unplug()
Un plug the module.


getConfiguration

public Configuration getConfiguration()
Description copied from interface: IFilmsModule
Return the configuration of the module.

Specified by:
getConfiguration in interface IFilmsModule
Returns:
The configuration of the module.

getFilmsFeature

public org.jtheque.core.managers.feature.Feature getFilmsFeature()
Description copied from interface: IFilmsModule
Return the films feature.

Specified by:
getFilmsFeature in interface IFilmsModule
Returns:
The feature for films.

getActorsFeature

public org.jtheque.core.managers.feature.Feature getActorsFeature()
Description copied from interface: IFilmsModule
Return the actors feature.

Specified by:
getActorsFeature in interface IFilmsModule
Returns:
The feature for actors.

getRealizersFeature

public org.jtheque.core.managers.feature.Feature getRealizersFeature()
Description copied from interface: IFilmsModule
Return the realizers feature.

Specified by:
getRealizersFeature in interface IFilmsModule
Returns:
The feature for realizers.


Copyright © 2010 JTheque. All Rights Reserved.