psdi.mbo

Class DomainInfoFactory

  • java.lang.Object
    • psdi.mbo.DomainInfoFactory
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      abstract java.util.List load(java.sql.Connection connection)
      Every domain type must implement this method in the appropriate concrete factory class.
      java.util.List load(java.sql.Connection connection, java.lang.String domainId) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DomainInfoFactory

        public DomainInfoFactory()
    • Method Detail

      • load

        public abstract java.util.List load(java.sql.Connection connection)
                                     throws MXException
        Every domain type must implement this method in the appropriate concrete factory class. This method is called by the data dictionary loader to load the domain type specific DomainInfo objects. This method must create a list of appropriate domain type specific DomainInfo objects and return them. For example, a valuelist type domain can have a ValueListDomainInfoFactory class that loads all valuelist domain information.
        Parameters:
        connection - a connection to be used to load the domain information
        Returns:
        a list of DomainInfo objects for a specific domain type.
        Throws:
        MXException - if fails to load domain information.
      • load

        public java.util.List load(java.sql.Connection connection,
                                   java.lang.String domainId)
                            throws MXException
        Throws:
        MXException