public interface ISystemPolicy
extends com.webmethods.portal.bizPolicy.biz.IBizPolicy
Modifier and Type | Method and Description |
---|---|
List |
computeDependenciesFromXMLImport(IContext context,
String xmlLocation)
Returns a list of strings specifying the xtypes required in order
to import the xml
|
void |
createUserFolders(IContext context)
Create the users standard folders if they do not exist.
|
List |
importCoreComponents(IContext context,
com.webmethods.portal.system.IComponentProvider provider,
String configLocation)
This will import any core components defined in an existing location for a specific provider.
|
void |
shutdown(IContext context,
int status)
Initiates portal system shutdown
|
List |
xmlImport(IContext context,
Element configElement,
IURI parent)
Performs a bulk import of objects described by the configElement
Please refer to the XMLImport Mini-Spec for details.
|
List |
xmlMacro(IContext context,
IURI xmlTemplate,
Map properties)
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
|
List xmlImport(IContext context, Element configElement, IURI parent) throws com.webmethods.portal.bizPolicy.BizException
context
- the context from which to create dataconfigElement
- the config element which describes the data.parent
- the URI describing where to start. Maybe NULLcom.webmethods.portal.bizPolicy.BizException
XMLImport
List xmlMacro(IContext context, IURI xmlTemplate, Map properties) throws com.webmethods.portal.bizPolicy.BizException
com.webmethods.portal.bizPolicy.BizException
XMLImport
void createUserFolders(IContext context) throws com.webmethods.portal.bizPolicy.BizException
context
- com.webmethods.portal.bizPolicy.BizException
List importCoreComponents(IContext context, com.webmethods.portal.system.IComponentProvider provider, String configLocation) throws com.webmethods.portal.bizPolicy.BizException
context
- the context from which to create dataprovider
- component provider to re-initializeconfigLocation
- optional - the location to find the config files...IComponent
scom.webmethods.portal.bizPolicy.BizException
List computeDependenciesFromXMLImport(IContext context, String xmlLocation) throws com.webmethods.portal.bizPolicy.BizException
xmlLocation
- location of the xmlFilecom.webmethods.portal.bizPolicy.BizException
void shutdown(IContext context, int status) throws PortalException
context
- status
- PortalException