The registry glues object classes with user interface
Before using the ObjectRegistry for the first time it needs to be initialized using the fromSearch() method.
Public Member Functions | |
| ObjectRegistry (File schemaFile) | |
| ObjectRegistry (DBObject dbo) | |
| initializer: create ObjectRegistry entry | |
| String | getIcon () |
| return the name of an icon associated with this ObjectRegistry entry | |
| Vector | getClasses () |
| return the object classes associated with this ObjectRegistry entry | |
| String | getSchema () |
| return the name of the object editor schema associated with this ObjectRegistry entry | |
| boolean | isEditable () |
| returns true if entry is marked editable | |
| boolean | isCreateable () |
| returns true if entry is marked createable | |
| String | name () |
| return the name of this ObjectRegistry entry. | |
| String | getDisplayname () |
| return the display/menu name of this ObjectRegistry entry | |
| String | getDescription () |
| return the description of this ObjectRegistry entry | |
| Vector | getContext () |
| return a list of contexts this object class appears in | |
| DBObject | toDBObject () |
| convert ObjectRegistry object into a DBObject. | |
Static Public Member Functions | |
| static ObjectRegistry | getByName (String name) |
| find an object registry entry by its name | |
| static ObjectRegistry | getByClass (String objclass) |
| find an object registry entry by an objectclass. | |
| static ObjectRegistry | getByClass (Vector objclass) |
| find best matching object registry entry by object class list. | |
| static ObjectRegistry | getByDisplayname (String name) |
| find object registry entry by its displayname | |
| static void | fromSearch (Enumeration search) |
| initialize the ObjectRegistry. | |
| static Enumeration | getNewFromContext (final String context) |
| static Enumeration | getRegistered () |
|
|
|
|
|
initializer: create ObjectRegistry entry
|
|
|
initialize the ObjectRegistry. Read entries from a DBConnection.search() result and fill them into the memory-held database.
|
|
|
find best matching object registry entry by object class list.
|
|
|
find an object registry entry by an objectclass. (Trivial and not very useful - use getByClass(Vector) instead)
|
|
|
find object registry entry by its displayname
|
|
|
find an object registry entry by its name
|
|
|
return the object classes associated with this ObjectRegistry entry
|
|
|
return a list of contexts this object class appears in
|
|
|
return the description of this ObjectRegistry entry
|
|
|
return the display/menu name of this ObjectRegistry entry
|
|
|
return the name of an icon associated with this ObjectRegistry entry
|
|
|
|
|
|
|
|
|
return the name of the object editor schema associated with this ObjectRegistry entry
|
|
|
returns true if entry is marked createable
|
|
|
returns true if entry is marked editable
|
|
|
return the name of this ObjectRegistry entry.
|
|
|
convert ObjectRegistry object into a DBObject.
|
1.4.5