public interface ISystemMechanics extends IMechanics
Modifier and Type | Field and Description |
---|---|
static int |
IMPORT_CORE_COMPONENTS_STATE |
Modifier and Type | Method and Description |
---|---|
List<String> |
computeDependenciesFromXMLImport(String xmlLocation)
Returns a list of strings specifying the xtypes required in order
to import the xml
|
List<String> |
computeDependenciesFromXMLImport(String xmlLocation,
IDependencyFileLocator dependencyFileLocator)
Returns a list of strings specifying the xtypes required in order
to import the xml
|
void |
fireSystemPropertyEvent(String key,
String oldValue,
String value)
Fires an System Property event.
|
List<IComponent> |
importCoreComponents(IComponentProvider componentProvider,
IThingID userId,
String configLocation)
This will import any components defined in an existing location for a specific provider.
|
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
static final int IMPORT_CORE_COMPONENTS_STATE
List<IComponent> importCoreComponents(IComponentProvider componentProvider, IThingID userId, String configLocation) throws PortalException
componentProvider
- the IComponentProvider
userId
- the current userconfigLocation
- optional - the location to find the config files...IComponent
sPortalException
List<String> computeDependenciesFromXMLImport(String xmlLocation) throws PortalException
xmlLocation
- the location of the xml filePortalException
com.webmethods.portal.bizPolicy.command.system.xml.XMLImport
List<String> computeDependenciesFromXMLImport(String xmlLocation, IDependencyFileLocator dependencyFileLocator) throws PortalException
xmlLocation
- the location of the xml filePortalException
com.webmethods.portal.bizPolicy.command.system.xml.XMLImport
void fireSystemPropertyEvent(String key, String oldValue, String value) throws PortalException
key
- the name of the system propertyoldValue
- the previous valuevalue
- the new valuePortalException
- if the userId is invalid.