org.apache.lokahi.core.api.instance
Class InstanceModel
java.lang.Object
org.apache.lokahi.core.common.interfaces.LokahiModel<Instance>
org.apache.lokahi.core.api.instance.InstanceModel
public class InstanceModel
- extends LokahiModel<Instance>
- Version:
- $Id: InstanceModel.java,v 1.3 2006/03/07 20:18:47 drtobes Exp $
- Author:
- Stephen Toback
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstanceModel
public InstanceModel()
addInstance
public void addInstance(User u,
Instance i,
Function f)
throws AuthorizationException,
TMCIllegalArgumentException,
java.sql.SQLException,
java.io.IOException
- Throws:
AuthorizationException
TMCIllegalArgumentException
java.sql.SQLException
java.io.IOException
deleteInstance
public void deleteInstance(User u,
Instance i,
Function f)
throws java.sql.SQLException,
AuthorizationException,
TMCIllegalArgumentException
- Throws:
java.sql.SQLException
AuthorizationException
TMCIllegalArgumentException
updateInstance
public void updateInstance(User u,
Instance i,
Function f)
throws AuthorizationException,
TMCIllegalArgumentException,
java.sql.SQLException,
java.io.IOException
- Throws:
AuthorizationException
TMCIllegalArgumentException
java.sql.SQLException
java.io.IOException
viewInstance
public Instance viewInstance(int id)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
viewInstances
public java.util.Collection<Instance> viewInstances()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getObjects
public java.util.Collection<Instance> getObjects()
throws java.sql.SQLException
- Specified by:
getObjects
in class LokahiModel<Instance>
- Throws:
java.sql.SQLException
getObject
public Instance getObject(int id)
throws java.sql.SQLException
- Specified by:
getObject
in class LokahiModel<Instance>
- Throws:
java.sql.SQLException