| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CollectionDao
DAO for Collection objects.
| Method Summary | |
|---|---|
 java.util.List<Collection> | 
findCollectionsForUser(java.lang.Long userId)
Find all collections owned by a given user.  | 
 Collection | 
getCollectionForMediaItem(java.lang.Long mediaItemId)
Get the collection a MediaItem is in.  | 
 Collection | 
getCollectionWithItems(java.lang.Long collectionId)
Get an Collection with it's items fully populated.  | 
| Methods inherited from interface magoffin.matt.dao.GenericDao | 
|---|
delete, get, store | 
| Method Detail | 
|---|
java.util.List<Collection> findCollectionsForUser(java.lang.Long userId)
userId - the ID of the user to find the collections for
Collection getCollectionForMediaItem(java.lang.Long mediaItemId)
mediaItemId - the ID of the media item
Collection getCollectionWithItems(java.lang.Long collectionId)
collectionId - the ID of the collection
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||