Interface ISystemMechanics
- All Superinterfaces:
IComponent
,IInitializable
,IMechanics
,ISystemHandler
Some system type mechanics
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncomputeDependenciesFromXMLImport
(String xmlLocation) Returns a list of strings specifying the xtypes required in order to import the xmlcomputeDependenciesFromXMLImport
(String xmlLocation, IDependencyFileLocator dependencyFileLocator) Returns a list of strings specifying the xtypes required in order to import the xmlvoid
fireSystemPropertyEvent
(String key, String oldValue, String value) Fires an System Property event.importCoreComponents
(IComponentProvider componentProvider, IThingID userId, String configLocation) This will import any components defined in an existing location for a specific provider.Methods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
-
Field Details
-
IMPORT_CORE_COMPONENTS_STATE
static final int IMPORT_CORE_COMPONENTS_STATE- See Also:
-
-
Method Details
-
importCoreComponents
List<IComponent> importCoreComponents(IComponentProvider componentProvider, IThingID userId, String configLocation) throws PortalException This will import any components defined in an existing location for a specific provider.- Parameters:
componentProvider
- theIComponentProvider
userId
- the current userconfigLocation
- optional - the location to find the config files...- Returns:
- a list of all imported
IComponent
s - Throws:
PortalException
-
computeDependenciesFromXMLImport
Returns a list of strings specifying the xtypes required in order to import the xml- Parameters:
xmlLocation
- the location of the xml file- Throws:
PortalException
- See Also:
-
XMLImport
-
computeDependenciesFromXMLImport
List<String> computeDependenciesFromXMLImport(String xmlLocation, IDependencyFileLocator dependencyFileLocator) throws PortalException Returns a list of strings specifying the xtypes required in order to import the xml- Parameters:
xmlLocation
- the location of the xml file- Throws:
PortalException
- See Also:
-
XMLImport
-
fireSystemPropertyEvent
Fires an System Property event.- Parameters:
key
- the name of the system propertyoldValue
- the previous valuevalue
- the new value- Throws:
PortalException
- if the userId is invalid.
-