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: 23925 $ $Date: 2020-06-25 10:52:10 -0300 (Thu, 25 Jun 2020) $
-
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_CHANNEL_ASSOCIATION
static String
COMPONENT_DETAILS
static String
COMPONENT_MESSAGE_DETAILS
static String
COMPONENT_RESOLVE
static String
MODULE_ADD
static String
MODULE_DEPLOY
static String
MODULE_INTERACTIVE_UPDATE
static String
MODULE_RESOLVE
static String
MODULE_SUBMIT
static String
MODULE_UNDEPLOY
static String
MODULE_UPDATE
static String
PACKAGE_DEPLOY
static String
PROJECT_ADD
static 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 String
addNewModule()
protected void
generateEclipseIntegrationFiles(String modulePath, IFile moduleAbsolutePath, String moduleName)
protected void
generateModuleMavenFiles(String modulePath, IFile moduleAbsolutePath, String moduleName, String moduleId)
boolean
isLiveModule(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 String PACKAGE_DEPLOY
- See Also:
- Constant Field Values
-
MODULE_DEPLOY
public static final String MODULE_DEPLOY
- See Also:
- Constant Field Values
-
MODULE_ADD
public static final String MODULE_ADD
- See Also:
- Constant Field Values
-
PROJECT_ADD
public static final String PROJECT_ADD
- See Also:
- Constant Field Values
-
MODULE_UPDATE
public static final String MODULE_UPDATE
- See Also:
- Constant Field Values
-
MODULE_INTERACTIVE_UPDATE
public static final String MODULE_INTERACTIVE_UPDATE
- See Also:
- Constant Field Values
-
MODULE_UNDEPLOY
public static final String MODULE_UNDEPLOY
- See Also:
- Constant Field Values
-
MODULE_RESOLVE
public static final String MODULE_RESOLVE
- See Also:
- Constant Field Values
-
COMPONENT_RESOLVE
public static final String COMPONENT_RESOLVE
- See Also:
- Constant Field Values
-
COMPONENT_DETAILS
public static final String COMPONENT_DETAILS
- See Also:
- Constant Field Values
-
COMPONENT_MESSAGE_DETAILS
public static final String COMPONENT_MESSAGE_DETAILS
- See Also:
- Constant Field Values
-
MODULE_SUBMIT
public static final String MODULE_SUBMIT
- See Also:
- Constant Field Values
-
COMPONENT_CHANNEL_ASSOCIATION
public static final String COMPONENT_CHANNEL_ASSOCIATION
- See Also:
- Constant Field Values
-
RESET_DEPLOY
public static final 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(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 String addNewModule() throws PortalException, PortalObjectAlreadyExistsException
-
generateModuleMavenFiles
protected void generateModuleMavenFiles(String modulePath, IFile moduleAbsolutePath, String moduleName, String moduleId) throws PortalException
- Throws:
PortalException
-
-