lumis.upgrade
Interface IUpgradeManager

Package class diagram package IUpgradeManager
All Known Implementing Classes:
UpgradeManager

public interface IUpgradeManager

The upgrade manager interface.

Since:
4.0.0

Method Summary
 BuildConfig executeNextPendingBuild(SessionConfig sessionConfig, ITransaction transaction)
          Executes the next pending build.
 BuildConfig getCurrentBuildInfo(ITransaction transaction)
          Get the current build information
 String getNextBuild(String userSessionId, String buildNumber, String buildSequence, ITransaction transaction)
          Deprecated. this method may change during a future refactor.
 void markUpgradesDone(SessionConfig sessionConfig, ITransaction transaction)
          Marks all pending upgrades as done.
 void rebuildLumisAdministration(SessionConfig sessionConfig, ITransaction transaction)
           
 void setBuildStatus(SessionConfig sessionConfig, BuildConfig buildConfig, String buildStatus, String userResponse, ITransaction transaction)
          Deprecated. this method may change during a future refactor.
 

Method Detail

getNextBuild

@Deprecated
String getNextBuild(String userSessionId,
                               String buildNumber,
                               String buildSequence,
                               ITransaction transaction)
                    throws ManagerException,
                           PortalException
Deprecated. this method may change during a future refactor.

Gets next build node

Parameters:
userSessionId -
buildNumber -
buildSequence -
transaction -
Throws:
ManagerException
PortalException

setBuildStatus

@Deprecated
void setBuildStatus(SessionConfig sessionConfig,
                               BuildConfig buildConfig,
                               String buildStatus,
                               String userResponse,
                               ITransaction transaction)
                    throws PortalException
Deprecated. this method may change during a future refactor.

Sets build status

Parameters:
sessionConfig -
buildConfig -
buildStatus -
userResponse -
transaction -
Throws:
PortalException

markUpgradesDone

void markUpgradesDone(SessionConfig sessionConfig,
                      ITransaction transaction)
                      throws ManagerException,
                             PortalException
Marks all pending upgrades as done.

Parameters:
sessionConfig - the user session information.
transaction - the transaction for persistence access.
Throws:
ManagerException
PortalException

executeNextPendingBuild

BuildConfig executeNextPendingBuild(SessionConfig sessionConfig,
                                    ITransaction transaction)
                                    throws PortalException
Executes the next pending build.

Parameters:
sessionConfig - the user session information.
transaction - the transaction for persistence access.
Returns:
the build executed, or null if there was no pending build to be executed.
Throws:
UpgradeException - if an exception was thrown during the build execution.
PortalException
Since:
4.0.5

rebuildLumisAdministration

void rebuildLumisAdministration(SessionConfig sessionConfig,
                                ITransaction transaction)
                                throws ManagerException,
                                       PortalException
Throws:
ManagerException
PortalException

getCurrentBuildInfo

BuildConfig getCurrentBuildInfo(ITransaction transaction)
                                throws ManagerException,
                                       PortalException
Get the current build information

Parameters:
transaction -
Returns:
Throws:
ManagerException
PortalException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.