public interface IInstallPolicy
extends com.webmethods.portal.bizPolicy.biz.IBizPolicy
Modifier and Type | Field and Description |
---|---|
static int |
INSTALL_FLAG_FIRE_EVENTS
Flag indicates that invalidation events needs to be fired during install
|
static int |
INSTALL_FLAG_REGISTER_COMPONENT
Flag indicates that installed component needs to be registered
|
static int |
INSTALL_FLAG_REMOTE_DEPLOYMENT
Flag that indicates remote deployment from Designer
|
static int |
INSTALL_SUPPRESS_LANGUAGE_PACK_DEPLOYMENT
Flag indicates that Language Pack installation should not be performed.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getSupportedComponentTypes(IContext context)
Returns supported component type that can be installed into the system
|
void |
installBootstrapComponentsWithDependencies(IContext context,
String components)
Deploys a bootstrap component with dependencies
|
IURI |
installComponent(IContext context,
String componentLocation) |
IURI |
installComponent(IContext context,
String componentLocation,
boolean register)
Installs a component from a given location
|
IURI |
installComponent(IContext context,
String componentLocation,
int flags)
Installs a component from a given location
|
void |
installComponents(IContext context,
String folderLocation)
Installs all components from a given folder
|
void |
syncDeployFolder(IContext context,
boolean flushCache)
Runs deploy folder sync
|
void |
uninstallComponent(IContext context,
IURI componentUri) |
void |
uninstallComponent(IContext context,
IURI componentUri,
boolean unregister)
Uninstalled previously installed component
|
void |
uninstallComponent(IContext context,
String componentLocation) |
void |
uninstallComponent(IContext context,
String componentLocation,
boolean unregister)
Uninstalled previously installed component
|
static final int INSTALL_FLAG_REMOTE_DEPLOYMENT
static final int INSTALL_FLAG_REGISTER_COMPONENT
static final int INSTALL_FLAG_FIRE_EVENTS
static final int INSTALL_SUPPRESS_LANGUAGE_PACK_DEPLOYMENT
IURI installComponent(IContext context, String componentLocation, int flags) throws com.webmethods.portal.bizPolicy.BizException
context
- current contextcomponentLocation
- the location of the component deployment filecom.webmethods.portal.bizPolicy.BizException
IURI installComponent(IContext context, String componentLocation, boolean register) throws com.webmethods.portal.bizPolicy.BizException
context
- current contextcomponentLocation
- the location of the component deployment filecom.webmethods.portal.bizPolicy.BizException
IURI installComponent(IContext context, String componentLocation) throws com.webmethods.portal.bizPolicy.BizException
com.webmethods.portal.bizPolicy.BizException
void uninstallComponent(IContext context, IURI componentUri, boolean unregister) throws com.webmethods.portal.bizPolicy.BizException
context
- current contextcomponentUri
- the component uricom.webmethods.portal.bizPolicy.BizException
void uninstallComponent(IContext context, IURI componentUri) throws com.webmethods.portal.bizPolicy.BizException
com.webmethods.portal.bizPolicy.BizException
void uninstallComponent(IContext context, String componentLocation, boolean unregister) throws com.webmethods.portal.bizPolicy.BizException
context
- current contextcomponentLocation
- the location of the component deployment filecom.webmethods.portal.bizPolicy.BizException
void uninstallComponent(IContext context, String componentLocation) throws com.webmethods.portal.bizPolicy.BizException
com.webmethods.portal.bizPolicy.BizException
void installComponents(IContext context, String folderLocation) throws com.webmethods.portal.bizPolicy.BizException
context
- current contextfolderLocation
- the folder with components to installcom.webmethods.portal.bizPolicy.BizException
String[] getSupportedComponentTypes(IContext context) throws com.webmethods.portal.bizPolicy.BizException
com.webmethods.portal.bizPolicy.BizException
void syncDeployFolder(IContext context, boolean flushCache) throws com.webmethods.portal.bizPolicy.BizException
context
- com.webmethods.portal.bizPolicy.BizException
void installBootstrapComponentsWithDependencies(IContext context, String components) throws com.webmethods.portal.bizPolicy.BizException
components
- context
- com.webmethods.portal.bizPolicy.BizException