Class DeploymentProcessActionHandler
- java.lang.Object
-
- lumis.doui.processaction.ProcessActionHandler<Source<?>>
-
- lumis.service.portalmanagement.deployment.DeploymentProcessActionHandler
-
- All Implemented Interfaces:
IProcessActionHandler
,IParameters
public class DeploymentProcessActionHandler extends ProcessActionHandler<Source<?>>
Implements operations for the deployment service.- Since:
- 7.1.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COMPONENT_CHANNEL_ASSOCIATION
static java.lang.String
COMPONENT_DETAILS
static java.lang.String
COMPONENT_MESSAGE_DETAILS
static java.lang.String
COMPONENT_RESOLVE
static java.lang.String
MODULE_ADD
static java.lang.String
MODULE_DEPLOY
static java.lang.String
MODULE_INTERACTIVE_UPDATE
static java.lang.String
MODULE_RESOLVE
static java.lang.String
MODULE_SUBMIT
static java.lang.String
MODULE_UNDEPLOY
static java.lang.String
MODULE_UPDATE
static java.lang.String
PACKAGE_DEPLOY
static java.lang.String
PROJECT_ADD
static java.lang.String
RESET_DEPLOY
-
Fields inherited from class lumis.doui.processaction.ProcessActionHandler
douiContext, id, localizationManager, parameters, processActionContainer, processActionNode, RESPONSE_TYPE_CLOSE_WINDOW, RESPONSE_TYPE_HYPERLINK, RESPONSE_TYPE_MESSAGE, RESPONSE_TYPE_POPUP_INTERFACE, RESPONSE_TYPE_PREVIEW, RESPONSE_TYPE_REFRESH_PARENT, RESPONSE_TYPE_REQUEST_PROCESS_ACTION_CONFIRMATION_MESSAGE, RESPONSE_TYPE_REQUEST_PROCESS_ACTION_CONFIRMATION_PROCESS_ACTION_ID, RESPONSE_TYPE_RUN_JAVASCRIPT, RESPONSE_TYPE_SET_REQUEST_ATTRIBUTES, RESPONSE_TYPE_SET_REQUEST_PARAMETERS, RESPONSE_TYPE_SET_RESPONSE_PARAMETERS, RESPONSE_TYPE_STANDARD_COMMIT, RESPONSE_TYPE_STANDARD_EMBEDDED, RESPONSE_TYPE_STANDARD_POPUP, RESPONSE_TYPE_VALIDATE_PROCESS_ACTION_ON_RENDER, sessionConfig, source, sourceContainer, transaction
-
-
Constructor Summary
Constructors Constructor Description DeploymentProcessActionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
addNewModule()
protected void
generateEclipseIntegrationFiles(java.lang.String modulePath, IFile moduleAbsolutePath, java.lang.String moduleName)
protected void
generateModuleMavenFiles(java.lang.String modulePath, IFile moduleAbsolutePath, java.lang.String moduleName, java.lang.String moduleId)
boolean
isLiveModule(java.lang.String moduleId)
Verify if current module identifier is saved as live module.void
processAction()
Executes the process action.-
Methods inherited from class lumis.doui.processaction.ProcessActionHandler
addDefaultResponse, addResponseParameter, checkServiceInstancePermission, checkServiceInstancePermission, containsParameter, getId, getParameter, getParameter, getResource, getServiceInterfaceHyperLink, getUrl, init, localize, processHyperLinkResponse, processPopupInterfaceResponse, resolveFieldValueNode, setParameter
-
-
-
-
Field Detail
-
PACKAGE_DEPLOY
public static final java.lang.String PACKAGE_DEPLOY
- See Also:
- Constant Field Values
-
MODULE_DEPLOY
public static final java.lang.String MODULE_DEPLOY
- See Also:
- Constant Field Values
-
MODULE_ADD
public static final java.lang.String MODULE_ADD
- See Also:
- Constant Field Values
-
PROJECT_ADD
public static final java.lang.String PROJECT_ADD
- See Also:
- Constant Field Values
-
MODULE_UPDATE
public static final java.lang.String MODULE_UPDATE
- See Also:
- Constant Field Values
-
MODULE_INTERACTIVE_UPDATE
public static final java.lang.String MODULE_INTERACTIVE_UPDATE
- See Also:
- Constant Field Values
-
MODULE_UNDEPLOY
public static final java.lang.String MODULE_UNDEPLOY
- See Also:
- Constant Field Values
-
MODULE_RESOLVE
public static final java.lang.String MODULE_RESOLVE
- See Also:
- Constant Field Values
-
COMPONENT_RESOLVE
public static final java.lang.String COMPONENT_RESOLVE
- See Also:
- Constant Field Values
-
COMPONENT_DETAILS
public static final java.lang.String COMPONENT_DETAILS
- See Also:
- Constant Field Values
-
COMPONENT_MESSAGE_DETAILS
public static final java.lang.String COMPONENT_MESSAGE_DETAILS
- See Also:
- Constant Field Values
-
MODULE_SUBMIT
public static final java.lang.String MODULE_SUBMIT
- See Also:
- Constant Field Values
-
COMPONENT_CHANNEL_ASSOCIATION
public static final java.lang.String COMPONENT_CHANNEL_ASSOCIATION
- See Also:
- Constant Field Values
-
RESET_DEPLOY
public static final java.lang.String RESET_DEPLOY
- See Also:
- Constant Field Values
-
-
Method Detail
-
processAction
public void processAction() throws PortalException
Description copied from interface:IProcessActionHandler
Executes the process action.This method may execute the process action based on the parameters and node specifications passed to it earlier.
- Throws:
PortalException
-
isLiveModule
public boolean isLiveModule(java.lang.String moduleId)
Verify if current module identifier is saved as live module.- Parameters:
moduleId
- the current module identifier- Returns:
- true if module is saved as live module. false if no module with the given identifier was found or is not saved as live module.
- Since:
- 8.0.0
-
addNewModule
protected java.lang.String addNewModule() throws PortalException, PortalObjectAlreadyExistsException
-
generateModuleMavenFiles
protected void generateModuleMavenFiles(java.lang.String modulePath, IFile moduleAbsolutePath, java.lang.String moduleName, java.lang.String moduleId) throws PortalException
- Throws:
PortalException
-
generateEclipseIntegrationFiles
protected void generateEclipseIntegrationFiles(java.lang.String modulePath, IFile moduleAbsolutePath, java.lang.String moduleName)
-
-