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