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
InternalException
LibraryItem[] findAll() throws InternalException
InternalException
LibraryItem findById(int libraryItem) throws InternalException, NoLibraryItemFoundException
void update(LibraryItem libraryItem) throws InternalException
InternalException
void updateBooking(LibraryItem libraryItem) throws InternalException
InternalException
void delete(LibraryItem libraryItem) throws InternalException
InternalException
java.lang.String[] getCategories() throws InternalException
InternalException
java.lang.String[] getCastings() throws InternalException
InternalException
int countAll() throws InternalException
InternalException