|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jtheque.films.services.impl.utils.DataUtils
public final class DataUtils
An utility class for Data.
| Method Summary | ||
|---|---|---|
static
|
getDataByTemporaryId(int id,
Iterable<T> collection)
Return the data with the searched temporary id in the collection. |
|
static org.jtheque.primary.od.able.Lending |
getLendingForFilm(Film film,
Iterable<org.jtheque.primary.od.able.Lending> collection)
Return the lending for the specified film. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T extends org.jtheque.primary.od.able.Data> T getDataByTemporaryId(int id,
Iterable<T> collection)
T - The specialized type of Data.id - The id searched.collection - The collection in which we must search.
null if we doesn't find it.
public static org.jtheque.primary.od.able.Lending getLendingForFilm(Film film,
Iterable<org.jtheque.primary.od.able.Lending> collection)
film - The film for which we want the lending.collection - The collection of lendings.
null if we don't find one.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||