org.apache.lokahi.core.api.environment
Class EnvironmentModel
java.lang.Object
org.apache.lokahi.core.common.interfaces.LokahiModel<Environment>
org.apache.lokahi.core.api.environment.EnvironmentModel
public class EnvironmentModel
- extends LokahiModel<Environment>
- Version:
- $Id: EnvironmentModel.java,v 1.3 2006/03/07 20:18:46 drtobes Exp $
- Author:
- Stephen Toback
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvironmentModel
public EnvironmentModel()
addEnvironment
public void addEnvironment(User u,
Environment e,
Function f)
throws java.sql.SQLException,
TMCException
- Throws:
java.sql.SQLException
TMCException
deleteEnvironment
public void deleteEnvironment(User u,
Environment e,
Function f)
throws java.sql.SQLException,
TMCException
- Throws:
java.sql.SQLException
TMCException
updateEnvironment
public void updateEnvironment(User u,
Environment e,
Function f)
throws java.sql.SQLException,
TMCException
- Throws:
java.sql.SQLException
TMCException
viewEnvironment
public Environment viewEnvironment(int id)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
viewEnvironments
public java.util.Collection<Environment> viewEnvironments()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getObjects
public java.util.Collection<Environment> getObjects()
throws java.sql.SQLException
- Specified by:
getObjects
in class LokahiModel<Environment>
- Throws:
java.sql.SQLException
getObject
public Environment getObject(int id)
throws java.sql.SQLException
- Specified by:
getObject
in class LokahiModel<Environment>
- Throws:
java.sql.SQLException