Knopflerfish OSGi 5.2.0

org.knopflerfish.service.um.useradmin
Interface BackEndControl


public interface BackEndControl

Service that can be used to load the user admin with contents from a back end system, save the user admin's current contents to the back end system and get the subscription for this service gateway from the back end system.

First and foremost, this service is an internal service that the bundle um_ui_sg uses to communicate with the back-end. The interface is likely to change in future releases of the user management component.

Version:
$Revision: 1.1.1.1 $
Author:
Gatespace AB

Method Summary
 java.lang.String getSubscription()
          Deprecated. the subscription is now communicated as the service property "subscription", getSubscription still works though.
 void load()
          Load the user admin with contents form the back end system.
 void save()
          Save the user admin's current contents to the back end system.
 

Method Detail

load

void load()
          throws BackEndException
Load the user admin with contents form the back end system. All data currently in the user admin is overwritten.

Throws:
java.lang.SecurityException - If a security manager exists and the caller does not have the UserAdminPermission with name admin.
BackEndException

save

void save()
          throws BackEndException
Save the user admin's current contents to the back end system. All user management data in the back end system for this gateway's subscription is overwritten.

Throws:
java.lang.SecurityException - If a security manager exists and the caller does not have the UserAdminPermission with name admin.
BackEndException

getSubscription

java.lang.String getSubscription()
Deprecated. the subscription is now communicated as the service property "subscription", getSubscription still works though.

Get the subscription for this service gateway.

Returns:
the subscription for this service gateway.

Knopflerfish OSGi 5.2.0