org.apache.lokahi.core.api.file
Class FileModel
java.lang.Object
org.apache.lokahi.core.common.interfaces.LokahiModel<File>
org.apache.lokahi.core.api.file.FileModel
public class FileModel
- extends LokahiModel<File>
- Version:
- $Id: FileModel.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 |
FileModel
public FileModel()
addFile
public void addFile(User u,
File fi,
Function f)
throws AuthorizationException,
TMCIllegalArgumentException,
java.sql.SQLException,
java.io.IOException
- Throws:
AuthorizationException
TMCIllegalArgumentException
java.sql.SQLException
java.io.IOException
deleteFile
public void deleteFile(User u,
File fi,
Function f)
throws java.sql.SQLException,
AuthorizationException,
TMCIllegalArgumentException
- Throws:
java.sql.SQLException
AuthorizationException
TMCIllegalArgumentException
updateFile
public void updateFile(User u,
File fi,
Function f)
throws AuthorizationException,
TMCIllegalArgumentException,
java.sql.SQLException,
java.io.IOException
- Throws:
AuthorizationException
TMCIllegalArgumentException
java.sql.SQLException
java.io.IOException
viewFile
public File viewFile(int id)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
viewFiles
public java.util.Collection<File> viewFiles()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getObjects
public java.util.Collection<File> getObjects()
throws java.sql.SQLException
- Specified by:
getObjects
in class LokahiModel<File>
- Throws:
java.sql.SQLException
getObject
public File getObject(int id)
throws java.sql.SQLException
- Specified by:
getObject
in class LokahiModel<File>
- Throws:
java.sql.SQLException