org.melati.poem
Interface Selectable

Package class diagram package Selectable
All Known Implementing Classes:
CapabilityTable, CapabilityTableBase, CategoryTable, CategoryTableBase, ChildTable, ChildTableBase, ColumnInfoTable, ColumnInfoTableBase, ContactCategoryTable, ContactCategoryTableBase, ContactsTable, ContactTable, ContactTableBase, GroupCapabilityTable, GroupCapabilityTableBase, GroupMembershipTable, GroupMembershipTableBase, GroupTable, GroupTableBase, JdbcTable, OdmgTable, ParentTable, ParentTableBase, PoemTable, SettingTable, SettingTableBase, TableCategoryTable, TableCategoryTableBase, TableInfoTable, TableInfoTableBase, UserTable, UserTableBase, ValueInfoTable, ValueInfoTableBase

public interface Selectable

An object on which selections can be performed.


Method Summary
 Persistent getObject(Integer troid)
          Get an object by its key.
 Enumeration selection()
          All the Objects.
 

Method Detail

getObject

Persistent getObject(Integer troid)
                     throws NoSuchRowPoemException
Get an object by its key.

Parameters:
troid - the Table Row ID
Returns:
the object referenced by the key
Throws:
NoSuchRowPoemException - if the key does not exist

selection

Enumeration selection()
                      throws SQLPoemException
All the Objects.

Returns:
an Enumeration of all Objects held
Throws:
SQLPoemException


Copyright © 2000-2010 PanEris. All Rights Reserved.