Interface ISystemPolicy
- All Superinterfaces:
IBizPolicy
,IComponent
,IInitializable
,ISystemHandler
System wide available Policies
-
Method Summary
Modifier and TypeMethodDescriptioncomputeDependenciesFromXMLImport
(IContext context, String xmlLocation) Returns a list of strings specifying the xtypes required in order to import the xmlvoid
createUserFolders
(IContext context) Create the users standard folders if they do not exist.importCoreComponents
(IContext context, IComponentProvider provider, String configLocation) This will import any core components defined in an existing location for a specific provider.void
Initiates portal system shutdownPerforms a bulk import of objects described by the configElement Please refer to the XMLImport Mini-Spec for details.Performs a bulk import of objects described by the xml in the xmlTemplate, replacing the entities from the name value pairs in the properties mapMethods 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
-
Method Details
-
xmlImport
Performs a bulk import of objects described by the configElement Please refer to the XMLImport Mini-Spec for details.- Parameters:
context
- the context from which to create dataconfigElement
- the config element which describes the data.parent
- the URI describing where to start. Maybe NULL- Returns:
- a list of URI's describing what's been created
- Throws:
BizException
- See Also:
-
XMLImport
-
xmlMacro
Performs a bulk import of objects described by the xml in the xmlTemplate, replacing the entities from the name value pairs in the properties map- Throws:
BizException
- See Also:
-
XMLImport
-
createUserFolders
Create the users standard folders if they do not exist.- Parameters:
context
-- Throws:
BizException
-
importCoreComponents
List<IComponent> importCoreComponents(IContext context, IComponentProvider provider, String configLocation) throws BizException This will import any core components defined in an existing location for a specific provider.- Parameters:
context
- the context from which to create dataprovider
- component provider to re-initializeconfigLocation
- optional - the location to find the config files...- Returns:
- a list of all imported
IComponent
s - Throws:
BizException
-
computeDependenciesFromXMLImport
List<String> computeDependenciesFromXMLImport(IContext context, String xmlLocation) throws BizException Returns a list of strings specifying the xtypes required in order to import the xml- Parameters:
xmlLocation
- location of the xmlFile- Throws:
BizException
-
shutdown
Initiates portal system shutdown- Parameters:
context
-status
-- Throws:
PortalException
-