|
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 | |
---|---|
void |
dispose()
Destroy all memory allocated for object and release from RMI |
java.util.List |
getDependentRepositories(java.lang.String repositoryID)
Gets a list of any dependent repositories that may exist the specified repository. |
java.lang.String |
getRepositoryIDFromName(java.lang.String name)
Get the id for a repository given the repository name |
java.lang.String |
getRepositoryName(java.lang.String repositoryID)
Gets the name of a repository given its id. |
java.lang.String |
getRepositoryType(java.lang.String repositoryID)
Gets the type of a repository given the repository id. |
java.util.List |
getUsedByRepositories(java.lang.String repositoryID)
Gets a list of repositories that use the specified repository. |
boolean |
hasDependentRepositories(java.lang.String repositoryID)
Returns true if the given repository has any dependent repositories |
boolean |
isCustomType(java.lang.String repositoryID)
Returns true if the repository is a Custom repository |
boolean |
isDependentRepository(java.lang.String repositoryID)
Returns true if the given repository is a dependent repository. |
boolean |
isFoundationType(java.lang.String repositoryID)
Returns true if the repository is a Foundation repository |
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 |