public interface ISystemPolicy extends IBizPolicy
Modifier and Type | Method and Description |
---|---|
List<String> |
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<IComponent> |
importCoreComponents(IContext context,
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<IURI> |
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<IURI> |
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
|
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
List<IURI> xmlImport(IContext context, Element configElement, IURI parent) throws BizException
context
- the context from which to create dataconfigElement
- the config element which describes the data.parent
- the URI describing where to start. Maybe NULLBizException
com.webmethods.portal.bizPolicy.command.system.xml.XMLImport
List<IURI> xmlMacro(IContext context, IURI xmlTemplate, Map<?,?> properties) throws BizException
BizException
com.webmethods.portal.bizPolicy.command.system.xml.XMLImport
void createUserFolders(IContext context) throws BizException
context
- BizException
List<IComponent> importCoreComponents(IContext context, IComponentProvider provider, String configLocation) throws BizException
context
- the context from which to create dataprovider
- component provider to re-initializeconfigLocation
- optional - the location to find the config files...IComponent
sBizException
List<String> computeDependenciesFromXMLImport(IContext context, String xmlLocation) throws BizException
xmlLocation
- location of the xmlFileBizException
void shutdown(IContext context, int status) throws PortalException
context
- status
- PortalException