Interface ISystemPolicy

All Superinterfaces:
IBizPolicy, IComponent, IInitializable, ISystemHandler

public interface ISystemPolicy extends IBizPolicy
System wide available Policies
  • Method Details

    • xmlImport

      List<IURI> xmlImport(IContext context, Element configElement, IURI parent) throws BizException
      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 data
      configElement - 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

      List<IURI> xmlMacro(IContext context, IURI xmlTemplate, Map<?,?> properties) throws BizException
      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

      void createUserFolders(IContext context) throws BizException
      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 data
      provider - component provider to re-initialize
      configLocation - optional - the location to find the config files...
      Returns:
      a list of all imported IComponents
      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

      void shutdown(IContext context, int status) throws PortalException
      Initiates portal system shutdown
      Parameters:
      context -
      status -
      Throws:
      PortalException