Where Am I? Class Hierarchy All Classes All Fields and Methods

Interface com.ibm.ivj.util.base.Repository

public interface Repository

This interface defines the behavior of a VisualAge for Java repository. Typically, a repository reference is obtained by calling Workspace.getCurrentRepository()


Method Index

getName()
Returns the repository name.
getPackageCount()
Returns the number of packages contained in the repository.
getPackageEditions(String)
Returns all editions of the named package
getPackageNames()
Returns the names of packages stored in the repository.
getProjectCount()
Returns the number of projects contained in the repository.
getProjectEditions(String)
Returns all editions of the named project
getProjectNames()
Returns the names of projects stored in the repository.
isCurrentRepository()
Indicates this is a current repository associated with a workspace

Methods

getName
 public abstract String getName()
Returns the repository name. The format of the string name is not specified, although typically it will be a concatenation of the server name and repository file name on the server. For the current repository a null string is returned.

Returns:
java.lang.String string name of the repository library, or null for current repository
getPackageCount
 public abstract long getPackageCount() throws IvjException
Returns the number of packages contained in the repository. Note, this number does not represent the total of all the editions of all the packages

Returns:
long package count
getPackageEditions
 public abstract PackageEdition[] getPackageEditions(String name) throws IvjException
Returns all editions of the named package

Parameters:
name - java.lang.String
Returns:
com.ibm.ivj.util.base.PackageEdition[] or null if none found
getPackageNames
 public abstract String[] getPackageNames() throws IvjException
Returns the names of packages stored in the repository. A name is returned if at least one edition of the named package exists in the repository.

Returns:
java.lang.String[]
getProjectCount
 public abstract long getProjectCount() throws IvjException
Returns the number of projects contained in the repository. Note, this number does NOT represent the total of all the editions of all the projects

Returns:
long
getProjectEditions
 public abstract ProjectEdition[] getProjectEditions(String name) throws IvjException
Returns all editions of the named project

Parameters:
name - java.lang.String
Returns:
com.ibm.ivj.util.base.ProjectEdition[] or null if none found
getProjectNames
 public abstract String[] getProjectNames() throws IvjException
Returns the names of projects stored in the repository. A name is returned if at least one edition of the named project exists in the repository.

Returns:
java.lang.String[]
isCurrentRepository
 public abstract boolean isCurrentRepository() throws IvjException
Indicates this is a current repository associated with a workspace

Returns:
boolean

Where Am I? Class Hierarchy All Classes All Fields and Methods