public interface IInstallPolicy extends 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
|
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
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 BizException
context
- current contextcomponentLocation
- the location of the component deployment fileBizException
IURI installComponent(IContext context, String componentLocation, boolean register) throws BizException
context
- current contextcomponentLocation
- the location of the component deployment fileBizException
IURI installComponent(IContext context, String componentLocation) throws BizException
BizException
void uninstallComponent(IContext context, IURI componentUri, boolean unregister) throws BizException
context
- current contextcomponentUri
- the component uriBizException
void uninstallComponent(IContext context, IURI componentUri) throws BizException
BizException
void uninstallComponent(IContext context, String componentLocation, boolean unregister) throws BizException
context
- current contextcomponentLocation
- the location of the component deployment fileBizException
void uninstallComponent(IContext context, String componentLocation) throws BizException
BizException
void installComponents(IContext context, String folderLocation) throws BizException
context
- current contextfolderLocation
- the folder with components to installBizException
String[] getSupportedComponentTypes(IContext context) throws BizException
BizException
void syncDeployFolder(IContext context, boolean flushCache) throws BizException
context
- BizException
void installBootstrapComponentsWithDependencies(IContext context, String components) throws BizException
components
- context
- BizException