org.jtheque.core.managers.module.beans
Interface CollectionBasedModule


public interface CollectionBasedModule

A module based on collection choose. If a module implements this interface, the core will display a collection choose view and after the choose of the collection, the plugCollection method is called.

Author:
Baptiste Wicht

Method Summary
 boolean plugCollection(java.lang.String collection, java.lang.String password, boolean create)
          Plug a collection.
 

Method Detail

plugCollection

boolean plugCollection(java.lang.String collection,
                       java.lang.String password,
                       boolean create)
Plug a collection.

Parameters:
collection - The choosed collection.
password - The entered password.
create - Indicate if we must create the collection or only select it.
Returns:
true if the collection choose process has been good processed.


Copyright © 2009 JTheque. All Rights Reserved.