|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface MdRepositoryUtil
The interface defining the utility class for retrieving repository information.
| Field Summary | |
|---|---|
static java.lang.String |
CUSTOM_REPOS
Custom repository type |
static java.lang.String |
FOUNDATION_REPOS
Foundation repository type |
static java.lang.String |
PROJECT_REPOS
Project repository type |
| Method Summary | |
|---|---|
abstract void |
dispose()
Destroy all memory allocated for object and release from RMI |
abstract java.util.List |
getDependentRepositories(java.lang.String repositoryID)
Gets a list of any dependent repositories that may exist the specified repository. |
abstract java.lang.String |
getRepositoryIDFromName(java.lang.String name)
Get the id for a repository given the repository name |
abstract java.lang.String |
getRepositoryName(java.lang.String repositoryID)
Gets the name of a repository given its id. |
abstract java.lang.String |
getRepositoryType(java.lang.String repositoryID)
Gets the type of a repository given the repository id. |
abstract java.util.List |
getUsedByRepositories(java.lang.String repositoryID)
Gets a list of repositories that use the specified repository. |
abstract boolean |
hasDependentRepositories(java.lang.String repositoryID)
Returns true if the given repository has any dependent repositories |
abstract boolean |
isCustomType(java.lang.String repositoryID)
Returns true if the repository is a Custom repository |
abstract boolean |
isDependentRepository(java.lang.String repositoryID)
Returns true if the given repository is a dependent repository. |
abstract boolean |
isFoundationType(java.lang.String repositoryID)
Returns true if the repository is a Foundation repository |
abstract boolean |
isProjectType(java.lang.String repositoryID)
Returns true if the repository is a Project repository |
| Field Detail |
|---|
static final java.lang.String FOUNDATION_REPOS
static final java.lang.String CUSTOM_REPOS
static final java.lang.String PROJECT_REPOS
| Method Detail |
|---|
void dispose()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getRepositoryType(java.lang.String repositoryID)
throws MdException,
java.rmi.RemoteException
null is returned if the repository type cannot be found.
repositoryID - the repository id
MdException
java.rmi.RemoteException
java.lang.String getRepositoryIDFromName(java.lang.String name)
throws MdException,
java.rmi.RemoteException
name - the name of the repository
MdException
java.rmi.RemoteException
java.lang.String getRepositoryName(java.lang.String repositoryID)
throws MdException,
java.rmi.RemoteException
repositoryID - the repository id
MdException
java.rmi.RemoteException
java.util.List getDependentRepositories(java.lang.String repositoryID)
throws MdException,
java.rmi.RemoteException
repositoryID - the repository id
MdException
java.rmi.RemoteException
java.util.List getUsedByRepositories(java.lang.String repositoryID)
throws MdException,
java.rmi.RemoteException
repositoryID - the repository id
MdException
java.rmi.RemoteException
boolean isDependentRepository(java.lang.String repositoryID)
throws MdException,
java.rmi.RemoteException
repositoryID - the repository id
MdException
java.rmi.RemoteException
boolean hasDependentRepositories(java.lang.String repositoryID)
throws MdException,
java.rmi.RemoteException
repositoryID - the repository id
MdException
java.rmi.RemoteException
boolean isFoundationType(java.lang.String repositoryID)
throws MdException,
java.rmi.RemoteException
repositoryID - the repository id
MdException
java.rmi.RemoteException
boolean isCustomType(java.lang.String repositoryID)
throws MdException,
java.rmi.RemoteException
repositoryID - the repository id
MdException
java.rmi.RemoteException
boolean isProjectType(java.lang.String repositoryID)
throws MdException,
java.rmi.RemoteException
repositoryID - the repository id
MdException
java.rmi.RemoteException
|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||