com.ibm.dbb.repository

Interface Collection

    • Method Detail

      • copy

        Collection copy(java.lang.String newName)
                 throws ConnectionException
        Create a copy of this collection with the specified name
        Parameters:
        newName - Name of new collection
        Returns:
        new collection
        Throws:
        ConnectionException - an exception occurred
      • getName

        java.lang.String getName()
        Return the name of the Collection
        Returns:
        the name
      • setName

        void setName(java.lang.String name)
        Set the name of the Collection
        Parameters:
        name - the name of the collection
      • getLogicalFile

        LogicalFile getLogicalFile(java.lang.String file)
                            throws ConnectionException
        Return a logical file for a source file
        Parameters:
        file - optional source file
        Returns:
        the logical file
        Throws:
        ConnectionException - an exception occurred
      • getLogicalFiles

        java.util.List<LogicalFile> getLogicalFiles(java.lang.String logicalName)
                                             throws ConnectionException
        Return a list of logical dependency for a program
        Parameters:
        logicalName - the name of the program
        Returns:
        the list of logical dependencies
        Throws:
        ConnectionException - an exception occurred
      • getLogicalFiles

        java.util.List<LogicalFile> getLogicalFiles(LogicalDependency logicalDependency)
                                             throws ConnectionException
        Get all logical dependencies that match a given logical dependency
        Parameters:
        logicalDependency - the logical dependency whose criteria is used to find matching dependencies
        Returns:
        the list of matching logical dependencies
        Throws:
        ConnectionException - an exception occurred
      • deleteLogicalFile

        void deleteLogicalFile(java.lang.String file)
                        throws ConnectionException
        Delete a logical file for a given source file
        Parameters:
        file - the source file
        Throws:
        ConnectionException - an exception occurred

<IBM Copyright © 2018 IBM Corp. All Rights Reserved.