com.sap.portal.mdm.connectivity

Class AbstractAppRequestHandler

java.lang.Object
  extended by com.sap.portal.mdm.connectivity.AbstractAppRequestHandler

public abstract class AbstractAppRequestHandler
extends Object

Extend this abstract class to implement handleing of application installation, uninstallation and installation status requests in your MDM system.


Constructor Summary
AbstractAppRequestHandler()
           
 
Method Summary
abstract  AppStatus getAppStatus(AppProperties appIDAttributes, DeviceInfo deviceInfo, com.sap.security.api.IUser user)
          Invoked in an MDM system when a user requests the installation status of a mobile application
abstract  void installApp(AppProperties appIDAttributes, DeviceInfo deviceInfo, com.sap.security.api.IUser user)
          Invoked in an MDM system when a user requests to install a new mobile application.
abstract  void uninstallApp(AppProperties appIDAttributes, DeviceInfo deviceInfo, com.sap.security.api.IUser user)
          Invoked in an MDM system when a user requests to uninstall a mobile application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAppRequestHandler

public AbstractAppRequestHandler()
Method Detail

installApp

public abstract void installApp(AppProperties appIDAttributes,
                                DeviceInfo deviceInfo,
                                com.sap.security.api.IUser user)
Invoked in an MDM system when a user requests to install a new mobile application.

Parameters:
appID - the ID of the requested application
deviceInfo - the mobile device information
user - the user who requested to install the application

uninstallApp

public abstract void uninstallApp(AppProperties appIDAttributes,
                                  DeviceInfo deviceInfo,
                                  com.sap.security.api.IUser user)
Invoked in an MDM system when a user requests to uninstall a mobile application.

Parameters:
appID - the ID of the installed application
deviceInfo - the mobile device information
user - the user who requested to uninstall the application

getAppStatus

public abstract AppStatus getAppStatus(AppProperties appIDAttributes,
                                       DeviceInfo deviceInfo,
                                       com.sap.security.api.IUser user)
Invoked in an MDM system when a user requests the installation status of a mobile application

Parameters:
appID - the ID of the installed application
deviceInfo - the mobile device information
user - the user who requested the installation status check
Returns:
AppStatus An AppStatus enum value representing the installation status


Copyright 2013 SAP AG Complete Copyright Notice