ilog.rules.res.model

Interface IlrRepositoryFactory

  • All Superinterfaces:
    java.io.Serializable


    public interface IlrRepositoryFactory
    extends java.io.Serializable
    The IlrRepositoryFactory interface represents the entry point for the management repository.
    Since:
    7.0
    • Method Detail

      • createRepository

        IlrMutableRepository createRepository()
        Creates a new repository.
        Returns:
        The new repository.
      • createRuleApp

        IlrMutableRuleAppInformation createRuleApp(java.lang.String name,
                                                 IlrVersion version)
                                                   throws IlrFormatException
        Creates a RuleApp with a specific name and version number. This RuleApp is not linked to a repository.

        The creation date of this RuleApp is the current date.

        Throws:
        IlrFormatException - if one of the parameters is incorrectly formatted.
        Parameters:
        name - The RuleApp name.
        version - The RuleApp version number.
        Returns:
        A new RuleApp.
      • createRuleApp

        IlrMutableRuleAppInformation createRuleApp(java.lang.String name,
                                                 IlrVersion version,
                                                 java.util.Date creationDate)
                                                   throws IlrFormatException
        Creates a RuleApp with a specific name, version number, and date. This RuleApp is not linked to a repository.
        Throws:
        IlrFormatException - if one of the parameters is incorrectly formatted.
        Parameters:
        name - The RuleApp name.
        version - The RuleApp version number.
        creationDate - The creation date of the RuleApp.
        Returns:
        A new RuleApp.
      • createRuleApp

        IlrMutableRuleAppInformation createRuleApp(IlrMutableRuleAppInformation ruleApp)
        Creates a copy of a RuleApp. All attributes of ruleApp are duplicated. However, the returned RuleApp is not linked to a repository.
        Parameters:
        ruleApp - The RuleApp to copy.
        Returns:
        A new RuleApp.
      • createRuleset

        IlrMutableRulesetArchiveInformation createRuleset(java.lang.String name,
                                                        IlrVersion version)
                                                          throws IlrFormatException
        Creates a ruleset with a specific name and version number. This ruleset is not linked to a RuleApp.

        The creation date of this ruleset is the current date.

        Throws:
        IlrFormatException - if one of the parameters is incorrectly formatted.
        Parameters:
        name - The ruleset name.
        version - The ruleset version number.
        Returns:
        A new ruleset.
      • createRuleset

        IlrMutableRulesetArchiveInformation createRuleset(java.lang.String name,
                                                        IlrVersion version,
                                                        java.util.Date creationDate)
                                                          throws IlrFormatException
        Creates a ruleset with a specific name, version number, and date. This ruleset is not linked to a RuleApp.
        Throws:
        IlrFormatException - if one of the parameters is incorrectly formatted.
        Parameters:
        name - The ruleset name.
        version - The ruleset version.
        creationDate - The creation date of the ruleset.
        Returns:
        A new ruleset.
      • unmodifiableRepository

        IlrRepository unmodifiableRepository(IlrMutableRepository repository)
        Returns a read-only view of a mutable repository.
        Parameters:
        repository - The mutable repository.
        Returns:
        A read-only view of repository.
      • unmodifiableRuleApps

        java.util.Set<IlrRuleAppInformation> unmodifiableRuleApps(java.util.Set<IlrMutableRuleAppInformation> ruleApps)
        Returns a read-only view of a Set of mutable RuleApps.
        Parameters:
        ruleApps - The Set of mutable RuleApps.
        Returns:
        A read-only view of ruleApps.

© Copyright IBM Corp. 1987, 2020