Package | Description |
---|---|
fr.liglab.adele.icasa.access | |
fr.liglab.adele.icasa.dependency.manager |
Modifier and Type | Method and Description |
---|---|
AccessRight[] |
AccessManager.getAccessRight(String applicationId)
Get the right access of an application.
|
AccessRight |
AccessManager.getAccessRight(String applicationId,
String deviceId)
Get the right access of an application to use a specified device.
|
AccessRight |
AccessManager.getAccessRightFromId(Long policyId)
Get an access right.
|
AccessRight[] |
AccessManager.getAllAccessRight()
Get all the defined access right
The returned object will be synchronized by the Access Manager to
maintain updated the access right.
|
AccessRight |
AccessManager.getPlatformAccessRight(String deviceId)
Get the right access of platform to use a specified device.
|
AccessRight |
AccessManager.setDeviceAccess(String applicationId,
String deviceId,
DeviceAccessPolicy right)
Set the right access for an application to use a device.
|
AccessRight |
AccessManager.setMethodAccess(String applicationId,
String deviceId,
Method method,
MemberAccessPolicy accessRight)
Set the right access for an application to use a given device.
|
AccessRight |
AccessManager.setMethodAccess(String applicationId,
String deviceId,
String methodName,
MemberAccessPolicy accessRight)
Set the right access for an application to use a given device.
|
Modifier and Type | Method and Description |
---|---|
void |
AccessRightManagerListener.onAccessRightAdded(AccessRight accessRight)
Callback called when a new AccessRight has been added to the AccessManager.
|
void |
AccessRightListener.onAccessRightModified(AccessRight accessRight)
Method called when the right to access the device has been modified.
|
void |
AccessRightListener.onMethodAccessRightModified(AccessRight accessRight,
String methodName)
Method called when the access right to a specific method has been modified.
|
Modifier and Type | Method and Description |
---|---|
AccessRight |
DeviceDependency.getAccessRight(String deviceId) |
Modifier and Type | Method and Description |
---|---|
void |
DeviceDependency.addAccessRight(String deviceId,
AccessRight accessRight) |
void |
DeviceDependency.onAccessRightModified(AccessRight accessRight) |
void |
DeviceDependency.onMethodAccessRightModified(AccessRight accessRight,
String methodName) |
Copyright © 2012-2013 ADELE Research Group. All Rights Reserved.