public interface StoredApplicationService extends Service, ApplicationStorageController
Stored application services can be created by applications that have a permission to store applications for an organisation_id.
Stored application services are uniquely identified within the terminal by the combination of the organisation_id and service_id.
| Modifier and Type | Method and Description |
|---|---|
Locator |
getLocator()
Gets the locator for this stored application service.
|
String |
getName()
Returns the name of the stored application service as defined
when the stored application service was created.
|
int |
getOrganisationId()
Return the organisation id of this stored application service
|
int |
getServiceId()
Return the service id of this stored application service
|
ServiceInformationType |
getServiceInformationType()
Returns the service information format of this object.
|
ServiceType |
getServiceType()
Returns the type of this service.
|
boolean |
hasMultipleInstances()
Indicates whether the service represented by this
Service is available on multiple transports.
|
boolean |
isSelectable()
Test whether this service is selectable.
|
void |
removeService()
Remove the whole stored application service
from the terminal.
|
SIRequest |
retrieveDetails(SIRequestor requestor)
This method retrieves additional information about the service.
|
getStoredAppIDs, getVersionNumber, remove, remove, store, store, store, storeint getOrganisationId()
int getServiceId()
Locator getLocator()
Locator or a subclass. It is not required to
be an instance of any other public locator class in the platform
(e.g. DvbLocator).getLocator in interface ServiceServiceDetailsString getName()
ServiceInformationType getServiceInformationType()
ServiceInformationType.UNKNOWN.ServiceType getServiceType()
StoredApplicationServiceType.STORED_APPLICATION_SERVICE.getServiceType in interface Serviceboolean hasMultipleInstances()
hasMultipleInstances in interface Servicevoid removeService()
throws UserRejectedInstallException
If there are any applications installed in the stored application service, then the application calling this method should be prepared for the platform consulting the end user of the MHP terminal for permission to remove the stored service.
The platform shall not prompt the user for permission if no applications are installed in the service.
If the end user is asked and does not give permission to remove the service, none of the applications in the service shall be removed.
SecurityException - if the caller does not have an
ApplicationStoragePermission
with action "deleteService" and an organisation_id which
matches that of this service. Also thrown if the caller does
not have ApplicationStoragePermission with action
"removeService" for the organisation IDs of every application
installed in this service.UserRejectedInstallException - If the user chose not to
remove the applications in the service.SIRequest retrieveDetails(SIRequestor requestor)
SIRequestFailureType
DATA_UNAVAILABLE.retrieveDetails in interface Servicerequestor - The SIRequestor to be notified when this
operation completes.Locator,
ServiceDetailsboolean isSelectable()
Copyright © 2012 code4tv.com. All Rights Reserved.