|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.phraseanet.business.template.TemplateHome
public final class TemplateHome
This class provides instances management methods (create, find, ...) for Template objects
| Method Summary | |
|---|---|
static Template |
create(Template template)
Create an instance of the Template class |
static List<Template> |
findAll()
Load the data of all the Template objects and returns them in form of a collection |
static Template |
findByPrimaryKey(String strMediaType)
Returns an instance of a Template whose identifier is specified in parameter |
static void |
remove(int nTemplateId)
Remove the Template whose identifier is specified in parameter |
static Template |
update(Template template)
Update of the Template data specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Template create(Template template)
template - The instance of the Template which contains the informations to store
public static Template update(Template template)
template - The instance of the Template which contains the data to store
public static void remove(int nTemplateId)
nTemplateId - The Template Idpublic static Template findByPrimaryKey(String strMediaType)
strMediaType - The Template media type
public static List<Template> findAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||