|
||||||||||
| 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.TemplateDAO
public final class TemplateDAO
This class provides Data Access methods for Account objects
| Constructor Summary | |
|---|---|
TemplateDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nTemplateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(Template template,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Template |
load(String strMediaType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the Template from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
List<Template> |
selectTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the Templates and returns them as a List |
void |
store(Template template,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplateDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(Template template,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ITemplateDAOtemplate - instance of the Template object to insertplugin - The plugin
public Template load(String strMediaType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ITemplateDAOstrMediaType - The media typeplugin - The plugin
public void delete(int nTemplateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ITemplateDAOnTemplateId - The identifier of the Templateplugin - The plugin
public void store(Template template,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ITemplateDAOtemplate - The reference of the Templateplugin - The pluginpublic List<Template> selectTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTemplatesList in interface ITemplateDAOplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||