|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProductRepositoryInterface
| Method Summary | |
|---|---|
long |
getCurrentVersion(java.lang.String name)
Retrieves the current version number for the given product. |
ProductConfiguration |
getProductConfiguration(java.lang.String productName)
Retrieve the product configuration for the given product name. |
java.net.URL |
getProductInstaller(java.lang.String name)
Retrieves the URL to the ANT script for installing the product represented by the given unique name. |
java.lang.String[] |
getProductNames()
List the products in the repository. |
boolean |
isCurrentVersion(java.lang.String name,
long versionId)
Used to check that the version of a product is the most recent version. |
void |
remoteProductConfiguration(java.lang.String productName)
|
void |
setProductConfiguration(java.lang.String productName,
ProductConfiguration productConfiguration)
Add or update a product configuration in the product repository. |
long |
setProductInstaller(java.lang.String name,
java.net.URL antURL)
Sets the install procedure for a given product in the repository. |
| Method Detail |
|---|
void setProductConfiguration(java.lang.String productName,
ProductConfiguration productConfiguration)
throws java.rmi.RemoteException
productName - productConfiguration -
java.rmi.RemoteException
void remoteProductConfiguration(java.lang.String productName)
throws java.rmi.RemoteException
java.rmi.RemoteException
ProductConfiguration getProductConfiguration(java.lang.String productName)
throws java.rmi.RemoteException
productName - The name of the product to retrieve.
java.rmi.RemoteException
java.lang.String[] getProductNames()
throws java.rmi.RemoteException
java.rmi.RemoteException
long setProductInstaller(java.lang.String name,
java.net.URL antURL)
throws java.rmi.RemoteException
name - The unique name of the product the installer is for.antURL - The URL to the ANT script used to install the product.
java.rmi.RemoteException
boolean isCurrentVersion(java.lang.String name,
long versionId)
throws java.rmi.RemoteException
name - The name of the product to check the version against.versionId - The versionId to check against.
java.rmi.RemoteException
java.net.URL getProductInstaller(java.lang.String name)
throws java.rmi.RemoteException
name - The unique name of the product.
java.rmi.RemoteException
long getCurrentVersion(java.lang.String name)
throws java.rmi.RemoteException
name - The unique name of the product.
java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||