|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUpdateService
Update Service Interface
| Field Summary | |
|---|---|
static int |
STATUS_CRITICAL_UPDATE
|
static int |
STATUS_NO_UPDATE
|
static int |
STATUS_REGULAR_UPDATE
|
| Method Summary | |
|---|---|
void |
checkUpdate(java.util.Collection<fr.paris.lutece.portal.service.plugin.Plugin> listPlugins)
Check for updates and update the status |
void |
deployPlugin(java.lang.String strPluginName,
java.lang.String strVersion)
Deploy a plugin (downloaded => deploy) |
void |
downloadPlugin(java.lang.String strPluginName,
java.lang.String strVersion)
Download the plugin package |
void |
downloadPluginUpgrade(java.lang.String strPluginName,
java.lang.String strVersion,
java.lang.String strVersionFrom)
Download the plugin package |
java.util.List<NewInfos> |
getNewPluginsInfos(java.util.Collection<fr.paris.lutece.portal.service.plugin.Plugin> listPlugins)
Gets available plugins not already installed |
int |
getStatus()
Returns the updater status : (no update available, regular updates available or critical updates available. |
java.util.List<UpdateInfos> |
getUpdateInfos(java.util.Collection<fr.paris.lutece.portal.service.plugin.Plugin> listPlugins)
Gets available update for a list of plugins |
| Field Detail |
|---|
static final int STATUS_NO_UPDATE
static final int STATUS_REGULAR_UPDATE
static final int STATUS_CRITICAL_UPDATE
| Method Detail |
|---|
void downloadPlugin(java.lang.String strPluginName,
java.lang.String strVersion)
throws UpdaterDownloadException
strPluginName - The plugin namestrVersion - The plugin version
UpdaterDownloadException - If an exception occurs during download
void downloadPluginUpgrade(java.lang.String strPluginName,
java.lang.String strVersion,
java.lang.String strVersionFrom)
throws UpdaterDownloadException
strPluginName - The plugin namestrVersion - The new plugin versionstrVersionFrom - The current plugin version
UpdaterDownloadException - If an exception occurs during downloadjava.util.List<UpdateInfos> getUpdateInfos(java.util.Collection<fr.paris.lutece.portal.service.plugin.Plugin> listPlugins)
listPlugins - The list of plugins
java.util.List<NewInfos> getNewPluginsInfos(java.util.Collection<fr.paris.lutece.portal.service.plugin.Plugin> listPlugins)
listPlugins - The list of installed plugins
int getStatus()
void checkUpdate(java.util.Collection<fr.paris.lutece.portal.service.plugin.Plugin> listPlugins)
listPlugins - The list of installed plugins
void deployPlugin(java.lang.String strPluginName,
java.lang.String strVersion)
strPluginName - The plugin namestrVersion - The update version
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||