public class LibraryItemFacade extends Facade
| Constructor and Description |
|---|
LibraryItemFacade(DAOFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
int |
countAll() |
void |
create(LibraryItem item) |
void |
delete(LibraryItem item) |
LibraryItem[] |
findAll() |
LibraryItem |
findById(int libraryItem) |
java.lang.String[] |
getKnownCastings() |
java.lang.String[] |
getKnownCategories() |
void |
update(LibraryItem item) |
public LibraryItemFacade(DAOFactory factory)
public void create(LibraryItem item) throws InternalException
InternalExceptionpublic void update(LibraryItem item) throws InternalException
InternalExceptionpublic void delete(LibraryItem item) throws InternalException
InternalExceptionpublic java.lang.String[] getKnownCategories()
throws InternalException
InternalExceptionpublic java.lang.String[] getKnownCastings()
throws InternalException
InternalExceptionpublic LibraryItem[] findAll() throws InternalException
InternalExceptionpublic LibraryItem findById(int libraryItem) throws InternalException, NoLibraryItemFoundException
public int countAll()
throws InternalException
InternalException