|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPlugins
This is a handle to the page of data associated with the Plugins component.
The plugins component allows you to store any number of tables containing name/value pairs. If required, you could store
multiple data items in each value by packing them into a String and using a separator character between items.
| Field Summary |
|---|
| Fields inherited from interface com.azalient.api.a.tables.IModule |
|---|
NONE |
| Fields inherited from interface com.azalient.api.a.tables.IPage |
|---|
ZERO |
| Method Summary | |
|---|---|
Object |
getProperty(String tableName,
String property)
Get the data value of the given property in the given table. |
Object |
getProperty(String tableName,
String propertyName,
Object defaultValue)
Get the data value of the given property in the given table. |
boolean |
getPropertyB(String tableName,
String propertyName)
Get the data value of the given property in the given table as a boolean |
boolean |
getPropertyB(String tableName,
String propertyName,
boolean b)
Get the data value of the given property in the given table as a boolean, or if the property is not found, return the given value as a convenience |
double |
getPropertyD(String tableName,
String propertyName)
Get the data value of the given property in the given table as a double |
double |
getPropertyD(String tableName,
String propertyName,
double d)
Get the data value of the given property in the given table as a double, or if the property is not found, return the given value as a convenience |
int |
getPropertyI(String tableName,
String propertyName)
Get the data value of the given property in the given table as an integer. |
int |
getPropertyI(String tableName,
String propertyName,
int v)
Get the data value of the given property in the given table as an integer, or if the property is not found, return the given value as a convenience |
String[] |
getPropertyNames(String tableName)
An array of the names of all properties in the given table |
String |
getPropertyS(String tableName,
String propertyName)
Get the data value of the given property in the given table as a String |
String |
getPropertyS(String tableName,
String propertyName,
String s)
Get the data value of the given property in the given table as a String, or if the property is not found, return the given value as a convenience |
UTime |
getPropertyT(String tableName,
String propertyName)
Get the data value of the given property in the given table as a UTime |
UTime |
getPropertyT(String tableName,
String propertyName,
UTime t)
Get the data value of the given property in the given table as a UTime Object, or if the property is not found, return the given value as a convenience |
void |
setProperty(String tableName,
String propertyName,
Object value)
Store a property (a name/value pair) in a table of the given name |
| Methods inherited from interface com.azalient.api.a.tables.IModule |
|---|
addTable, baseName, childModules, destroy, open, open, pageName, pageType, parentModule, rename, save, save, table, verify |
| Methods inherited from interface com.azalient.api.a.tables.IPage |
|---|
baseName, pageName, pageType |
| Method Detail |
|---|
void setProperty(String tableName,
String propertyName,
Object value)
tableName - The name of the table - to make it unique, a recommended convention is to prefix the Plugin class namepropertyName - The name of the propertyvalue - The value of the property, which can have one of the following types:
String[] getPropertyNames(String tableName)
Object getProperty(String tableName,
String property)
Object getProperty(String tableName,
String propertyName,
Object defaultValue)
int getPropertyI(String tableName,
String propertyName)
int getPropertyI(String tableName,
String propertyName,
int v)
double getPropertyD(String tableName,
String propertyName)
double getPropertyD(String tableName,
String propertyName,
double d)
boolean getPropertyB(String tableName,
String propertyName)
boolean getPropertyB(String tableName,
String propertyName,
boolean b)
String getPropertyS(String tableName,
String propertyName)
String getPropertyS(String tableName,
String propertyName,
String s)
UTime getPropertyT(String tableName,
String propertyName)
UTime
UTime getPropertyT(String tableName,
String propertyName,
UTime t)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||