planetj.businessObjects
Interface IBusinessObjectManager


public interface IBusinessObjectManager

IPersistentDataManager is an interface for "Manager" objects that deal with IPersistantData objects.


Method Summary
 void add(Object object)
          Add an object to this manager
 void delete(Object object)
          Remove an object to this manager
 Vector getAllObjects()
          Return a Vector of all objects available for this given BusinessObjectManager class Example: DataElementManager.getAllObjects(); returns a Vector with all DataElements
 Object newBusinessObject()
          Return a particular instance of a BusinessObject Example: DataElementManager.newInstance() returns DataElement
 void resetObjectList()
          Reset the cached list of objects by nulling the cached Vector out
 Object selectObject(String sqlSuffix)
          Return a single business object given the sql suffix parmater Example: DataElementManager.selectObject("where x = 5");
 Vector selectObjects(String sqlSuffix)
          Return a Vector of all objects that satisfy the sqlSuffix Example: DataElementManager.getAllObjects(); returns a Vector with all DataElements
 void update(Object object)
          Update an object to this manager
 

Method Detail

add

public void add(Object object)
         throws Exception
Add an object to this manager

Exception

delete

public void delete(Object object)
            throws Exception
Remove an object to this manager

Exception

getAllObjects

public Vector getAllObjects()
                     throws Exception
Return a Vector of all objects available for this given BusinessObjectManager class Example: DataElementManager.getAllObjects(); returns a Vector with all DataElements

Exception

newBusinessObject

public Object newBusinessObject()
                         throws Exception
Return a particular instance of a BusinessObject Example: DataElementManager.newInstance() returns DataElement

Exception

resetObjectList

public void resetObjectList()
                     throws Exception
Reset the cached list of objects by nulling the cached Vector out

Exception

selectObject

public Object selectObject(String sqlSuffix)
                    throws Exception
Return a single business object given the sql suffix parmater Example: DataElementManager.selectObject("where x = 5");

Exception

selectObjects

public Vector selectObjects(String sqlSuffix)
                     throws Exception
Return a Vector of all objects that satisfy the sqlSuffix Example: DataElementManager.getAllObjects(); returns a Vector with all DataElements

Exception

update

public void update(Object object)
            throws Exception
Update an object to this manager

Exception