public interface LibraryItemDAO
| Modifier and Type | Method and Description |
|---|---|
int |
countAll() |
LibraryItem |
create(LibraryItem libraryItem) |
void |
delete(LibraryItem libraryItem) |
LibraryItem[] |
findAll() |
LibraryItem |
findById(int libraryItem) |
java.lang.String[] |
getCastings() |
java.lang.String[] |
getCategories() |
void |
update(LibraryItem libraryItem) |
void |
updateBooking(LibraryItem libraryItem) |
LibraryItem create(LibraryItem libraryItem) throws InternalException
InternalExceptionLibraryItem[] findAll() throws InternalException
InternalExceptionLibraryItem findById(int libraryItem) throws InternalException, NoLibraryItemFoundException
void update(LibraryItem libraryItem) throws InternalException
InternalExceptionvoid updateBooking(LibraryItem libraryItem) throws InternalException
InternalExceptionvoid delete(LibraryItem libraryItem) throws InternalException
InternalExceptionjava.lang.String[] getCategories()
throws InternalException
InternalExceptionjava.lang.String[] getCastings()
throws InternalException
InternalExceptionint countAll()
throws InternalException
InternalException