|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.greetingscard.business.GreetingsCardTemplateHome
public final class GreetingsCardTemplateHome
This class provides instances management methods (create, find, ...) for GreetingsCardTemplate objects
| Method Summary | |
|---|---|
static void |
addDirectory(java.lang.String strDirName)
Add a new directory. |
static void |
addGreetingsCardTemplate(org.apache.commons.fileupload.FileItem fFile,
java.io.File fFileDest)
Add a new Greetings card Template |
static GreetingsCardTemplate |
create(GreetingsCardTemplate greetingsCardTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of an article GreetingsCardTemplate |
static java.util.Collection<GreetingsCardTemplate> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns GreetingsCardTemplate list |
static GreetingsCardTemplate |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of the article GreetingsCardTemplate whose identifier is specified in parameter |
static java.lang.String |
getPicture(java.lang.String pathDirectory,
java.lang.String strPluginName)
Get the picture of a greetings card template |
static void |
remove(int nIdGCT,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes the GreetingsCardTemplate instance whose identifier is specified in parameter |
static void |
removeDirectory(java.lang.String strDirName)
Remove a directory. |
static void |
removeGreetingsCardTemplate(java.lang.String strFile)
Remove a greetings card template |
static GreetingsCardTemplate |
update(GreetingsCardTemplate greetingsCardTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates of the GreetingsCardTemplate instance specified in parameter |
static void |
updateGreetingsCardTemplate(org.apache.commons.fileupload.FileItem fFileItem,
java.io.File fFileDest)
Update a greetings card template |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static GreetingsCardTemplate create(GreetingsCardTemplate greetingsCardTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
greetingsCardTemplate - An instance of the GreetingsCardTemplate which contains the informations to storeplugin - The plugin
public static GreetingsCardTemplate update(GreetingsCardTemplate greetingsCardTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
greetingsCardTemplate - An instance of the GreetingsCardTemplate which contains the informations to storeplugin - The plugin
public static void remove(int nIdGCT,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdGCT - The identifier of the article GreetingsCardTemplate to delete in the databaseplugin - The plugin
public static GreetingsCardTemplate findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The primary key of the article to find in the databaseplugin - The plugin
public static java.util.Collection<GreetingsCardTemplate> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The plugin
public static void addGreetingsCardTemplate(org.apache.commons.fileupload.FileItem fFile,
java.io.File fFileDest)
throws java.io.IOException
fFile - The source filefFileDest - The new file which will create
java.io.IOException - For file access exception
public static void updateGreetingsCardTemplate(org.apache.commons.fileupload.FileItem fFileItem,
java.io.File fFileDest)
throws java.io.IOException
fFileItem - The source filefFileDest - The new file which will update
java.io.IOException - For file access exceptionpublic static void removeGreetingsCardTemplate(java.lang.String strFile)
strFile - The name of the deleted filepublic static void addDirectory(java.lang.String strDirName)
strDirName - The name of the new directory.public static void removeDirectory(java.lang.String strDirName)
strDirName - The name of the directory.
public static java.lang.String getPicture(java.lang.String pathDirectory,
java.lang.String strPluginName)
throws fr.paris.lutece.util.filesystem.DirectoryNotFoundException
pathDirectory - The directory.strPluginName - The name of the plugin.
fr.paris.lutece.util.filesystem.DirectoryNotFoundException - if the directory does not exist.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||