Skip to content
Snippets Groups Projects
Commit f2d4af19 authored by Shanshan Jiang's avatar Shanshan Jiang
Browse files

update after telco 26.11.2012

parent 2f3f7f54
No related branches found
No related tags found
No related merge requests found
...@@ -11,60 +11,56 @@ import java.util.Map; ...@@ -11,60 +11,56 @@ import java.util.Map;
*/ */
public interface IDeployManager { public interface IDeployManager {
/** /**
* install a service for a user as specified in the .usrv file * install a service as specified in the .usrv file
* @param username * @param sessionKey: the sessionKey for the interaction obtained when uCC registers with uStore
* @param password * @param usrvfile: the link to download the .usrv file, serviceId from uStore is provided in .usrv file.
* @param usrvfile: the link to download the .usrv file
*/ */
public void install(String username, String password, URL usrvfile); public void install(String sessionKey, URL usrvfile);
/** /**
* update a service for a user as specified in the .usrv file * update a service as specified in the .usrv file
* @param username * @param sessionKey: the sessionKey for the interaction obtained when uCC registers with uStore
* @param password * @param usrvfile: the link to download the .usrv file, serviceId from uStore is provided in .usrv file.
* @param usrvfile: the link to download the .usrv file
*/ */
public void update(String username, String password, URL usrvfile); public void update(String username, String password, URL usrvfile);
/** /**
* uninstall a service * uninstall a service
* @param username * @param sessionKey: the sessionKey for the interaction obtained when uCC registers with uStore
* @param password
* @param serviceId: the uStore service id for the service to be uninstalled * @param serviceId: the uStore service id for the service to be uninstalled
* *
*/ */
public void uninstall(String username, String password, String serviceId, String serviceVersion); public void uninstall(String sessionKey, String serviceId);
/** /**
* get all installed services for a user * get all installed services
* @param username * @param sessionKey: the sessionKey for the interaction obtained when uCC registers with uStore
* @param password * @return Map<serviceId, serviceVersion>: the list of services with uStore service Id (and its version?)
* @return Map<serviceId, serviceVersion>: the list of services with uStore service Id and its version
*/ */
public Map<String, String> getInstalledServices(String username, String password); public Map<String, String> getInstalledServices(String sessionKey);
/** /**
* get the installed applications for a service * get the installed application units for a service
* @param username * @param sessionKey: the sessionKey for the interaction obtained when uCC registers with uStore
* @param password
* @param serviceId * @param serviceId
* @return Map<applicationId, appVersion>: the list of applications with their version * @return Map<bundleId, bundleVersion>: the list of application bundles with their version
*
*/ */
public Map<String, String> getInstalledApplications(String username, String password, String serviceId); public Map<String, String> getInstalledUnitsForService(String sessionKey, String serviceId);
/** /**
* get the AAL space profile * get the AAL space profile
* @return * @return
* TODO: decide what to return, whether to use AALSpaceCard or AALSpaceDescriptor as defined in * TODO: decide what to return, whether to use AALSpaceCard or AALSpaceDescriptor as defined in
* the mw.interfaces.aalspace * the mw.interfaces.aalspace.
* Suggest to return a list of properties of capabilities and functionalities in the form of <propertyName, propValue, criteria>
*/ */
public List getAALSpaceProfile(); public List getAALSpaceProfile();
/** /**
* *
* @param username * @param sessionKey: the sessionKey for the interaction obtained when uCC registers with uStore
* @param password
* TODO: decide what to return, what info should be contained in a user profile * TODO: decide what to return, what info should be contained in a user profile
*/ */
public List getUserProfile(String username, String password); public List getUserProfile(String sessionKey);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment