|
TANGO Java API ( TangORB-7.3.3.jar) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfr.esrf.TangoApi.Connection
fr.esrf.TangoApi.Database
public class Database
Class Description: This class is the main class for TANGO database API. The TANGO database is implemented as a TANGO device server. To access it, the user has the CORBA interface command_inout(). This expects and returns all parameters as ascii strings thereby making the database laborious to use for retreing device properties and information. In order to simplify this access, a high-level API has been implemented which hides the low-level formatting necessary to convert the command_inout() return values into binary values and all CORBA aspects of the TANGO. All data types are native java types e.g. simple types an arrays.
| Field Summary |
|---|
| Fields inherited from interface fr.esrf.TangoApi.ApiDefs |
|---|
ALL_ASYNCH, ATT_R, ATT_W, CALLBACK, CMD, D_TCP, D_UDP, FROM_ATTR, FROM_CMD, FROM_DBASE, FROM_IOR, LOGGING_DEBUG, LOGGING_ERROR, LOGGING_FATAL, LOGGING_INFO, LOGGING_OFF, LOGGING_WARN, MISC, NO_TIMEOUT, POLLING, protocol_name, PULL_CALLBACK, PUSH_CALLBACK, TACO, TANGO |
| Constructor Summary | |
|---|---|
Database()
Database access constructor. |
|
Database(java.lang.String devname)
Database constructor. |
|
Database(java.lang.String devname,
boolean check_access)
Connection constructor. |
|
Database(java.lang.String host,
java.lang.String port)
Database access constructor. |
|
Database(java.lang.String host,
java.lang.String port,
boolean auto_reconnect)
Database constructor. |
|
Database(java.lang.String devname,
java.lang.String param,
int src)
Connection constructor. |
|
Database(java.lang.String devname,
java.lang.String host,
java.lang.String port)
Connection constructor. |
|
| Method Summary | |
|---|---|
void |
add_device(DbDevInfo devinfo)
Add/update a device to the database |
void |
add_device(java.lang.String devname,
java.lang.String classname,
java.lang.String servname)
Add/update a device to the database |
void |
add_server(java.lang.String servname,
DbDevInfo[] devinfo)
Add a group of devices to the database. |
int |
checkAccessControl(java.lang.String devname)
Check Tango Access. |
void |
delete_attribute_alias(java.lang.String alias)
Query the database to delete alias for the specified attribute alias. |
void |
delete_class_attribute_property(java.lang.String name,
java.lang.String attname,
java.lang.String propname)
Delete a property for the specified object. |
void |
delete_class_attribute_property(java.lang.String name,
java.lang.String attname,
java.lang.String[] propnames)
Delete a list of properties for the specified object. |
void |
delete_class_property(java.lang.String name,
DbDatum[] properties)
Delete a list of properties for the specified object. |
void |
delete_class_property(java.lang.String name,
java.lang.String propname)
Delete a property for the specified object. |
void |
delete_class_property(java.lang.String name,
java.lang.String[] propnames)
Delete a list of properties for the specified object. |
void |
delete_device_alias(java.lang.String alias)
Query the database to delete alias for the specified device alias. |
void |
delete_device_attribute_property(java.lang.String devname,
DbAttribute attr)
Delete an list of attributes properties for the specified object. |
void |
delete_device_attribute_property(java.lang.String devname,
DbAttribute[] attr)
Delete a list of attributes properties for the specified object. |
void |
delete_device_attribute_property(java.lang.String devname,
java.lang.String attname,
java.lang.String propname)
Delete a property for the specified object. |
void |
delete_device_attribute_property(java.lang.String devname,
java.lang.String attname,
java.lang.String[] propnames)
Delete a list of properties for the specified object. |
void |
delete_device_attribute(java.lang.String devname,
java.lang.String attname)
Delete an attribute for the specified object. |
void |
delete_device_property(java.lang.String name,
DbDatum[] properties)
Delete a list of properties for the specified object. |
void |
delete_device_property(java.lang.String name,
java.lang.String propname)
Delete a property for the specified object. |
void |
delete_device_property(java.lang.String name,
java.lang.String[] propnames)
Delete a list of properties for the specified object. |
void |
delete_device(java.lang.String devname)
Delete the device of the specified name from the database |
void |
delete_property(java.lang.String name,
DbDatum[] properties)
Delete a list of properties for the specified object. |
void |
delete_property(java.lang.String name,
java.lang.String propname)
Delete a property for the specified object. |
void |
delete_property(java.lang.String name,
java.lang.String[] propnames)
Delete a list of properties for the specified object. |
void |
delete_server_info(java.lang.String servname)
Delete server information in databse. |
void |
delete_server(java.lang.String devname)
Delete the device server and its associated devices from the database. |
void |
export_device(DbDevExportInfo devinfo)
Update the export info fort this device in the database. |
void |
export_server(DbDevExportInfo[] devinfo)
Add a group of devices to the database. |
java.lang.String |
get_alias_device(java.lang.String alias)
Query the database a device for the specified alias. |
java.lang.String[] |
get_attribute_alias_list(java.lang.String wildcard)
Query the database for a list of aliases for the specified wildcard. |
java.lang.String |
get_attribute_alias(java.lang.String attname)
Query the database for a list of aliases for the specified attribute. |
java.lang.String[] |
get_class_attribute_list(java.lang.String classname,
java.lang.String wildcard)
Query the database for a attributes defined for a class. |
DbHistory[] |
get_class_attribute_property_history(java.lang.String classname,
java.lang.String attname,
java.lang.String propname)
Returns the history of the specified class attribute property. |
DbAttribute |
get_class_attribute_property(java.lang.String classname,
java.lang.String attname)
Query the database for a attribute properties for trhe specified class. |
DbAttribute[] |
get_class_attribute_property(java.lang.String classname,
java.lang.String[] attnames)
Query the database for a list of class attributes properties for the pecified object. |
java.lang.String |
get_class_for_device(java.lang.String devname)
|
java.lang.String[] |
get_class_inheritance_for_device(java.lang.String devname)
|
java.lang.String[] |
get_class_list(java.lang.String servname)
Query the database for a list of classes registred in the database. |
DbHistory[] |
get_class_property_history(java.lang.String classname,
java.lang.String propname)
Returns the history of the specified class property. |
java.lang.String[] |
get_class_property_list(java.lang.String classname,
java.lang.String wildcard)
Query the database for a list of class properties for the pecified object. |
DbDatum[] |
get_class_property(java.lang.String name,
DbDatum[] properties)
Query the database for a list of class properties for the pecified object. |
DbDatum |
get_class_property(java.lang.String name,
java.lang.String propname)
Query the database for a class property for the pecified object. |
DbDatum[] |
get_class_property(java.lang.String name,
java.lang.String[] propnames)
Query the database for a list of class properties for the pecified object. |
java.lang.String[] |
get_device_alias_list(java.lang.String wildcard)
Query the database for a list of aliases for the specified wildcard. |
java.lang.String |
get_device_alias(java.lang.String devname)
Query the database for an alias for the specified device. |
java.lang.String[] |
get_device_attribute_list(java.lang.String devname)
Query the database for a list of device attributes |
DbHistory[] |
get_device_attribute_property_history(java.lang.String devname,
java.lang.String attname,
java.lang.String propname)
Returns the history of the specified device attribute property. |
DbAttribute |
get_device_attribute_property(java.lang.String devname,
java.lang.String attname)
Query the database for device attribute property for the pecified object. |
DbAttribute[] |
get_device_attribute_property(java.lang.String devname,
java.lang.String[] attnames)
Query the database for a list of device attributes properties for the pecified object. |
java.lang.String[] |
get_device_class_list(java.lang.String servname)
Query the database for server devices and classes. |
java.lang.String[] |
get_device_domain(java.lang.String wildcard)
Query the database for a list of device domain names witch match the wildcard provided. |
java.lang.String[] |
get_device_exported_for_class(java.lang.String classname)
Query database for list of exported devices for the specified class name. |
java.lang.String[] |
get_device_exported(java.lang.String wildcard)
Query database for list of exported devices. |
java.lang.String[] |
get_device_family(java.lang.String wildcard)
Query the database for a list of device family names witch match the wildcard provided. |
DeviceInfo |
get_device_info(java.lang.String devname)
Query the database for the export and more info of the specified device. |
java.lang.String[] |
get_device_list(java.lang.String wildcard)
Query database for list of devices. |
java.lang.String[] |
get_device_member(java.lang.String wildcard)
Query the database for a list of device member names witch match the wildcard provided. |
java.lang.String[] |
get_device_name(java.lang.String servname,
java.lang.String classname)
Query the database for a list of devices served by the specified server and of the specified class. |
DbHistory[] |
get_device_property_history(java.lang.String devname,
java.lang.String propname)
Returns the history of the specified device property. |
java.lang.String[] |
get_device_property_list(java.lang.String devname,
java.lang.String wildcard)
Query the database for a list of device properties for the pecified object. |
DbDatum[] |
get_device_property(java.lang.String name,
DbDatum[] properties)
Query the database for a list of device properties for the pecified object. |
DbDatum |
get_device_property(java.lang.String name,
java.lang.String propname)
Query the database for a device property for the pecified object. |
DbDatum[] |
get_device_property(java.lang.String name,
java.lang.String[] propnames)
Query the database for a list of device properties for the pecified object. |
java.lang.String[] |
get_host_list()
Query the database for a list of host registred. |
java.lang.String[] |
get_host_list(java.lang.String wildcard)
Query the database for a list of host registred. |
java.lang.String[] |
get_host_server_list(java.lang.String hostname)
Query the database for a list of servers registred on the specified host. |
java.lang.String |
get_info()
Query the database for general info about the table in the database. |
java.lang.String[] |
get_instance_name_list(java.lang.String servname)
Query the database for a list of instance names registred for specified server name. |
java.lang.String[] |
get_object_list(java.lang.String wildcard)
Query the database for a list of object (ie non-device) for which properties are defiend. |
java.lang.String[] |
get_object_property_list(java.lang.String objname,
java.lang.String wildcard)
Query the database for a list of object (ie non-device) for which properties are defiend. |
DbHistory[] |
get_property_history(java.lang.String objname,
java.lang.String propname)
Returns the history of the specified object property. |
DbDatum[] |
get_property(java.lang.String name,
DbDatum[] properties)
Query the database for a list of object (ie non-device) properties for thr dpecified object. |
DbDatum |
get_property(java.lang.String name,
java.lang.String propname)
Query the database for an object (ie non-device) property for the pecified object. |
DbDatum[] |
get_property(java.lang.String name,
java.lang.String[] propnames)
Query the database for a list of object (ie non-device) properties for the pecified object. |
DbDatum |
get_property(java.lang.String name,
java.lang.String propname,
boolean forced)
Query the database for an object (ie non-device) property for the pecified object without access check (initilizing phase). |
java.lang.String[] |
get_server_class_list(java.lang.String servname)
Query the database for a list of classes instancied for a server. |
DbServInfo |
get_server_info(java.lang.String servname)
Query the database for server information. |
java.lang.String[] |
get_server_list()
Query the database for a list of servers registred in the database. |
java.lang.String[] |
get_server_list(java.lang.String wildcard)
Query the database for a list of servers registred in the database. |
java.lang.String[] |
get_server_name_list()
Query the database for a list of server names registred in the database. |
DevFailed |
getAccess_devfailed()
|
fr.esrf.TangoApi.AccessProxy |
getAccess_proxy()
|
IDatabaseDAO |
getDatabaseDAO()
|
java.lang.String[] |
getDevices(java.lang.String wildcard)
|
java.lang.String[] |
getServices(java.lang.String servicename,
java.lang.String instname)
Query database for specified services. |
DbDevImportInfo |
import_device(java.lang.String devname)
Query the database for the export info of the specified device. |
DbEventImportInfo |
import_event(java.lang.String channel_name)
Query the database for the export info of the specified event. |
boolean |
isAccess_checked()
|
boolean |
isCommandAllowed(java.lang.String classname,
java.lang.String cmd)
Check for specified class, the specified command is allowed. |
void |
put_attribute_alias(java.lang.String attname,
java.lang.String aliasname)
Set an alias for a attribute name |
void |
put_class_attribute_property(java.lang.String classname,
DbAttribute attr)
Insert or update a list of properties for the specified class attribute. |
void |
put_class_attribute_property(java.lang.String classname,
DbAttribute[] attr)
Insert or update a list of properties for the specified class attribute. |
void |
put_class_property(java.lang.String name,
DbDatum[] properties)
Insert or update a list of properties for the specified class. |
void |
put_device_alias(java.lang.String devname,
java.lang.String aliasname)
Set an alias for a device name |
void |
put_device_attribute_property(java.lang.String devname,
DbAttribute attr)
Insert or update a list of attribute properties for the specified device. |
void |
put_device_attribute_property(java.lang.String devname,
DbAttribute[] attr)
Insert or update a list of attribute properties for the specified device. |
void |
put_device_property(java.lang.String name,
DbDatum[] properties)
Insert or update a list of properties for the specified device The property names and their values are specified by the DbDatum array. |
void |
put_property(java.lang.String name,
DbDatum[] properties)
Insert or update a list of properties for the specified object The property names and their values are specified by the DbDatum array. |
void |
put_server_info(DbServInfo info)
Add/update server information in databse. |
void |
registerService(java.lang.String serviceName,
java.lang.String instanceName,
java.lang.String devname)
Register a device as a Tango service : ServiceName/InstanceName:DeviceName |
void |
setAccess_checked(boolean access_checked)
|
void |
setAccess_devfailed(DevFailed access_devfailed)
|
void |
setAccess_proxy(fr.esrf.TangoApi.AccessProxy access_proxy)
|
void |
setDatabaseDAO(IDatabaseDAO databaseDAO)
|
java.lang.String |
toString()
|
void |
unexport_device(java.lang.String devname)
Mark the specified server as unexported in the database. |
void |
unexport_server(java.lang.String devname)
Mark all devices exported for this device server as unexported. |
void |
unregisterService(java.lang.String serviceName,
java.lang.String instanceName,
java.lang.String devname)
Unregister a device as a Tango service : ServiceName/InstanceName:DeviceName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Database()
throws DevFailed
DevFailed - in case of environment not corectly set.
public Database(java.lang.String host,
java.lang.String port)
throws DevFailed
host - host where database is running.port - port for database connection.
DevFailed - in case of host or port not available
public Database(java.lang.String host,
java.lang.String port,
boolean auto_reconnect)
throws DevFailed
host - host where database is running.port - port for database connection.auto_reconnect - do not reconnect if false.
DevFailed
public Database(java.lang.String devname)
throws DevFailed
devname - name of the device to be imported.
DevFailed
public Database(java.lang.String devname,
boolean check_access)
throws DevFailed
devname - name of the device to be imported.check_access - set check_access value
DevFailed
public Database(java.lang.String devname,
java.lang.String param,
int src)
throws DevFailed
devname - name of the device to be imported.param - String parameter to import device.src - Source to import device (ior, dbase...)
DevFailed
public Database(java.lang.String devname,
java.lang.String host,
java.lang.String port)
throws DevFailed
devname - name of the device to be imported.host - host where database is running.port - port for database connection.
DevFailed| Method Detail |
|---|
public IDatabaseDAO getDatabaseDAO()
public void setDatabaseDAO(IDatabaseDAO databaseDAO)
public java.lang.String toString()
toString in class java.lang.Object
public java.lang.String get_info()
throws DevFailed
DevFailed
public java.lang.String[] get_host_list()
throws DevFailed
DevFailed
public java.lang.String[] get_host_list(java.lang.String wildcard)
throws DevFailed
wildcard - Wildcard char is '*' and matches wildvcard characters.
DevFailed
public java.lang.String[] get_server_class_list(java.lang.String servname)
throws DevFailed
servname - server name and instance name (ie.: Serial/i1).
DevFailed
public java.lang.String[] get_server_name_list()
throws DevFailed
DevFailed
public java.lang.String[] get_instance_name_list(java.lang.String servname)
throws DevFailed
servname - server name.
DevFailed
public java.lang.String[] get_server_list()
throws DevFailed
DevFailed
public java.lang.String[] get_server_list(java.lang.String wildcard)
throws DevFailed
wildcard - Wildcard char is '*' and matches wildvcard characters.
DevFailed
public java.lang.String[] get_host_server_list(java.lang.String hostname)
throws DevFailed
hostname - the specified host name.
DevFailed
public DbServInfo get_server_info(java.lang.String servname)
throws DevFailed
servname - The specified server name.
DevFailed
public void put_server_info(DbServInfo info)
throws DevFailed
info - Server information for the specified server in a DbServinfo
object.
DevFailed
public void delete_server_info(java.lang.String servname)
throws DevFailed
servname - Server name.
DevFailed
public void add_device(DbDevInfo devinfo)
throws DevFailed
devinfo - The device name, class and server specified in object.
DevFailed
public void add_device(java.lang.String devname,
java.lang.String classname,
java.lang.String servname)
throws DevFailed
devname - The device nameclassname - The class.servname - The server name.
DevFailed
public void delete_device(java.lang.String devname)
throws DevFailed
devname - The device name.
DevFailed
public DeviceInfo get_device_info(java.lang.String devname)
throws DevFailed
devname - The device name.
DevFailed
public java.lang.String[] get_device_list(java.lang.String wildcard)
throws DevFailed
wildcard - Wildcard char is '*' and matches wildvcard characters.
DevFailed
public DbDevImportInfo import_device(java.lang.String devname)
throws DevFailed
devname - The device name.
DevFailed
public void unexport_device(java.lang.String devname)
throws DevFailed
devname - The device name.
DevFailed
public void export_device(DbDevExportInfo devinfo)
throws DevFailed
devinfo - Device information to export.
DevFailed
public java.lang.String[] get_device_class_list(java.lang.String servname)
throws DevFailed
servname - The specified server name.
DevFailed
public java.lang.String[] get_device_name(java.lang.String servname,
java.lang.String classname)
throws DevFailed
servname - The server name.classname - The class name
DevFailed
public java.lang.String[] get_device_domain(java.lang.String wildcard)
throws DevFailed
wildcard - Wildcard char is '*' and matches wildvcard characters.
DevFailed
public java.lang.String[] get_device_family(java.lang.String wildcard)
throws DevFailed
wildcard - Wildcard char is '*' and matches wildvcard characters.
DevFailed
public java.lang.String[] get_device_member(java.lang.String wildcard)
throws DevFailed
wildcard - Wildcard char is '*' and matches wildvcard characters.
DevFailed
public void add_server(java.lang.String servname,
DbDevInfo[] devinfo)
throws DevFailed
servname - Server name for these devices.devinfo - Devices and server information.
DevFailed
public void delete_server(java.lang.String devname)
throws DevFailed
devname - the device name.
DevFailed
public void export_server(DbDevExportInfo[] devinfo)
throws DevFailed
devinfo - Devices and server information.
DevFailed
public void unexport_server(java.lang.String devname)
throws DevFailed
devname - the device name.
DevFailed
public java.lang.String[] get_object_list(java.lang.String wildcard)
throws DevFailed
wildcard - wildcard (* matches any charactere).
DevFailed
public java.lang.String[] get_object_property_list(java.lang.String objname,
java.lang.String wildcard)
throws DevFailed
objname - object name.wildcard - wildcard (* matches any charactere).
DevFailed
public DbDatum[] get_property(java.lang.String name,
java.lang.String[] propnames)
throws DevFailed
name - Object name.propnames - list of property names.
DevFailed
public DbDatum get_property(java.lang.String name,
java.lang.String propname)
throws DevFailed
name - Object name.propname - list of property names.
DevFailed
public DbDatum get_property(java.lang.String name,
java.lang.String propname,
boolean forced)
throws DevFailed
name - Object name.propname - list of property names.
DevFailed
public DbDatum[] get_property(java.lang.String name,
DbDatum[] properties)
throws DevFailed
name - Object name.properties - list of property DbDatum objects.
DevFailed
public void put_property(java.lang.String name,
DbDatum[] properties)
throws DevFailed
name - Object name.properties - Properties names and values array.
DevFailed
public void delete_property(java.lang.String name,
java.lang.String[] propnames)
throws DevFailed
name - Object name.propnames - Property names.
DevFailed
public void delete_property(java.lang.String name,
java.lang.String propname)
throws DevFailed
name - Object name.propname - Property names.
DevFailed
public void delete_property(java.lang.String name,
DbDatum[] properties)
throws DevFailed
name - Object name.properties - Property DbDatum objects.
DevFailed
public java.lang.String[] get_class_property_list(java.lang.String classname,
java.lang.String wildcard)
throws DevFailed
classname - device name.wildcard - propertie's wildcard (* matches any charactere).
DevFailed
public java.lang.String[] get_device_property_list(java.lang.String devname,
java.lang.String wildcard)
throws DevFailed
devname - device name.wildcard - propertie's wildcard (* matches any charactere).
DevFailed
public java.lang.String get_class_for_device(java.lang.String devname)
throws DevFailed
DevFailed
public java.lang.String[] get_class_inheritance_for_device(java.lang.String devname)
throws DevFailed
DevFailed
public DbDatum[] get_device_property(java.lang.String name,
java.lang.String[] propnames)
throws DevFailed
name - device name.propnames - list of property names.
DevFailed
public DbDatum get_device_property(java.lang.String name,
java.lang.String propname)
throws DevFailed
name - device name.propname - property name.
DevFailed
public DbDatum[] get_device_property(java.lang.String name,
DbDatum[] properties)
throws DevFailed
name - device name.properties - list of property DbDatum objects.
DevFailed
public void put_device_property(java.lang.String name,
DbDatum[] properties)
throws DevFailed
name - device name.properties - Properties names and values array.
DevFailed
public void delete_device_property(java.lang.String name,
java.lang.String[] propnames)
throws DevFailed
name - Device name.propnames - Property names.
DevFailed
public void delete_device_property(java.lang.String name,
java.lang.String propname)
throws DevFailed
name - Device name.propname - Property name.
DevFailed
public void delete_device_property(java.lang.String name,
DbDatum[] properties)
throws DevFailed
name - Device name.properties - Property DbDatum objects.
DevFailed
public java.lang.String[] get_device_attribute_list(java.lang.String devname)
throws DevFailed
devname - device name.
DevFailed
public DbAttribute[] get_device_attribute_property(java.lang.String devname,
java.lang.String[] attnames)
throws DevFailed
devname - device name.attnames - attribute names.
DevFailed
public DbAttribute get_device_attribute_property(java.lang.String devname,
java.lang.String attname)
throws DevFailed
devname - device name.attname - attribute name.
DevFailed
public void put_device_attribute_property(java.lang.String devname,
DbAttribute[] attr)
throws DevFailed
devname - device name.attr - attribute names, and properties (names and values).
DevFailed
public void put_device_attribute_property(java.lang.String devname,
DbAttribute attr)
throws DevFailed
devname - device name.attr - attribute name, and properties (names and values).
DevFailed
public void delete_device_attribute_property(java.lang.String devname,
DbAttribute attr)
throws DevFailed
devname - Device name.attr - attribute name, and properties (names).
DevFailed
public void delete_device_attribute_property(java.lang.String devname,
DbAttribute[] attr)
throws DevFailed
devname - Device name.attr - attribute names, and properties (names) in array.
DevFailed
public void delete_device_attribute_property(java.lang.String devname,
java.lang.String attname,
java.lang.String[] propnames)
throws DevFailed
devname - Device name.attname - Attribute name.propnames - Property names.
DevFailed
public void delete_device_attribute_property(java.lang.String devname,
java.lang.String attname,
java.lang.String propname)
throws DevFailed
devname - Device name.attname - Attribute name.propname - Property name.
DevFailed
public void delete_device_attribute(java.lang.String devname,
java.lang.String attname)
throws DevFailed
devname - Device name.attname - Attribute name.
DevFailed
public java.lang.String[] get_class_list(java.lang.String servname)
throws DevFailed
servname - server name
DevFailed
public DbDatum[] get_class_property(java.lang.String name,
java.lang.String[] propnames)
throws DevFailed
name - Class name.propnames - list of property names.
DevFailed
public DbDatum get_class_property(java.lang.String name,
java.lang.String propname)
throws DevFailed
name - Class name.propname - list of property names.
DevFailed
public DbDatum[] get_class_property(java.lang.String name,
DbDatum[] properties)
throws DevFailed
name - Class name.properties - list of property DbDatum objects.
DevFailed
public void put_class_property(java.lang.String name,
DbDatum[] properties)
throws DevFailed
name - Class name.properties - Properties names and values array.
DevFailed
public void delete_class_property(java.lang.String name,
java.lang.String[] propnames)
throws DevFailed
name - Class name.propnames - Property names.
DevFailed
public void delete_class_property(java.lang.String name,
java.lang.String propname)
throws DevFailed
name - Class name.propname - Property name.
DevFailed
public void delete_class_property(java.lang.String name,
DbDatum[] properties)
throws DevFailed
name - Class name.properties - Property DbDatum objects.
DevFailed
public java.lang.String[] get_class_attribute_list(java.lang.String classname,
java.lang.String wildcard)
throws DevFailed
classname - class name.wildcard - Wildcard char is '*' and matches wildvcard characters.
DevFailed
public DbAttribute get_class_attribute_property(java.lang.String classname,
java.lang.String attname)
throws DevFailed
classname - class name.attname - attribute name
DevFailed
public DbAttribute[] get_class_attribute_property(java.lang.String classname,
java.lang.String[] attnames)
throws DevFailed
classname - Class name.attnames - list of attribute names.
DevFailed
public void put_class_attribute_property(java.lang.String classname,
DbAttribute[] attr)
throws DevFailed
classname - Class name.attr - DbAttribute objects containing attribute names, property names
and property values.
DevFailed
public void put_class_attribute_property(java.lang.String classname,
DbAttribute attr)
throws DevFailed
classname - Class name.attr - DbAttribute object containing attribute name, property names
and property values.
DevFailed
public void delete_class_attribute_property(java.lang.String name,
java.lang.String attname,
java.lang.String propname)
throws DevFailed
name - Class name.propname - Property names.
DevFailed
public void delete_class_attribute_property(java.lang.String name,
java.lang.String attname,
java.lang.String[] propnames)
throws DevFailed
name - Class name.attname - attribute name.propnames - Property names.
DevFailed
public java.lang.String[] get_device_exported(java.lang.String wildcard)
throws DevFailed
wildcard - Wildcard char is '*' and matches wildvcard characters.
DevFailed
public java.lang.String[] get_device_exported_for_class(java.lang.String classname)
throws DevFailed
classname - class name to query the exported devices.
DevFailed
public java.lang.String[] get_device_alias_list(java.lang.String wildcard)
throws DevFailed
wildcard - Wildcard char is '*' and matches wildvcard characters.
DevFailed
public java.lang.String get_device_alias(java.lang.String devname)
throws DevFailed
devname - device's name.
DevFailed
public java.lang.String get_alias_device(java.lang.String alias)
throws DevFailed
alias - The device name.alias
DevFailed
public void put_device_alias(java.lang.String devname,
java.lang.String aliasname)
throws DevFailed
devname - device name.aliasname - alias name.
DevFailed
public void delete_device_alias(java.lang.String alias)
throws DevFailed
alias - device alias name.
DevFailed
public java.lang.String[] get_attribute_alias_list(java.lang.String wildcard)
throws DevFailed
wildcard - Wildcard char is '*' and matches wildvcard characters.
DevFailed
public java.lang.String get_attribute_alias(java.lang.String attname)
throws DevFailed
attname - The attribute name.
DevFailed
public void put_attribute_alias(java.lang.String attname,
java.lang.String aliasname)
throws DevFailed
attname - attribute name.aliasname - alias name.
DevFailed
public void delete_attribute_alias(java.lang.String alias)
throws DevFailed
alias - device alias name.
DevFailed
public java.lang.String[] getDevices(java.lang.String wildcard)
throws DevFailed
DevFailed
public DbEventImportInfo import_event(java.lang.String channel_name)
throws DevFailed
channel_name - The event name.
DevFailed
public DbHistory[] get_device_property_history(java.lang.String devname,
java.lang.String propname)
throws DevFailed
devname - Device namepropname - Property name (can be wildcarded)
DevFailed - in case of failure
public DbHistory[] get_device_attribute_property_history(java.lang.String devname,
java.lang.String attname,
java.lang.String propname)
throws DevFailed
devname - Device nameattname - Attribute name (can be wildcarded)propname - Property name (can be wildcarded)
DevFailed - in case of failure
public DbHistory[] get_class_property_history(java.lang.String classname,
java.lang.String propname)
throws DevFailed
classname - Class namepropname - Property name (can be wildcarded)
DevFailed - in case of failure
public DbHistory[] get_class_attribute_property_history(java.lang.String classname,
java.lang.String attname,
java.lang.String propname)
throws DevFailed
classname - Class nameattname - Attribute name (can be wildcarded)propname - Property name (can be wildcarded)
DevFailed - in case of failure
public DbHistory[] get_property_history(java.lang.String objname,
java.lang.String propname)
throws DevFailed
objname - Object namepropname - Property name (can be wildcarded)
DevFailed - in case of failure
public java.lang.String[] getServices(java.lang.String servicename,
java.lang.String instname)
throws DevFailed
servicename - The service name.instname - The instance name (could be * for all instances).
DevFailed - in case of failure
public void registerService(java.lang.String serviceName,
java.lang.String instanceName,
java.lang.String devname)
throws DevFailed
serviceName - Service's nameinstanceName - Instance service's namedevname - Device's name
DevFailed
public void unregisterService(java.lang.String serviceName,
java.lang.String instanceName,
java.lang.String devname)
throws DevFailed
serviceName - Service's nameinstanceName - Instance service's namedevname - Device's name
DevFailedpublic int checkAccessControl(java.lang.String devname)
devname - Specified device name.
public boolean isCommandAllowed(java.lang.String classname,
java.lang.String cmd)
throws DevFailed
classname - Specified class name.cmd - Specified command name.
DevFailedpublic boolean isAccess_checked()
public void setAccess_checked(boolean access_checked)
public DevFailed getAccess_devfailed()
public void setAccess_devfailed(DevFailed access_devfailed)
public fr.esrf.TangoApi.AccessProxy getAccess_proxy()
public void setAccess_proxy(fr.esrf.TangoApi.AccessProxy access_proxy)
|
TANGO Java API ( TangORB-7.3.3.jar) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||