Uses of Class
edu.cnm.deepdive.picmegallery.model.entity.Photo
-
Packages that use Photo Package Description edu.cnm.deepdive.picmegallery.controller edu.cnm.deepdive.picmegallery.model.dao edu.cnm.deepdive.picmegallery.model.entity edu.cnm.deepdive.picmegallery.service -
-
Uses of Photo in edu.cnm.deepdive.picmegallery.controller
Methods in edu.cnm.deepdive.picmegallery.controller that return Photo Modifier and Type Method Description Photo
PhotoController. post(Photo photo, Event event)
Creates a new Photo in the PicMe database with the Event associated.Methods in edu.cnm.deepdive.picmegallery.controller that return types with arguments of type Photo Modifier and Type Method Description List<Photo>
PhotoController. getAllPhotosByUser(User user)
Gets the photos associated with a User.List<Photo>
EventController. getPhotos(long id, String passkey, org.springframework.security.core.Authentication auth)
This method gets the photos associated with an Event in the PicMe Database, for those who did not originate the Event.List<Photo>
EventController. getPhotos(long id, org.springframework.security.core.Authentication auth)
This method gets the photos associated with an Event in the PicMe Database, for the Event originator/creator.Methods in edu.cnm.deepdive.picmegallery.controller with parameters of type Photo Modifier and Type Method Description void
PhotoController. delete(Photo photo, long id)
Deletes a photo associated with a specific primary key.Photo
PhotoController. post(Photo photo, Event event)
Creates a new Photo in the PicMe database with the Event associated. -
Uses of Photo in edu.cnm.deepdive.picmegallery.model.dao
Methods in edu.cnm.deepdive.picmegallery.model.dao that return types with arguments of type Photo Modifier and Type Method Description Optional<Photo>
PhotoRepository. findPhotoByLatitudeAndLongitude(Double latitude, Double longitude)
Finds a photo using the location of where a photo was taken.Optional<Photo>
PhotoRepository. findPhotosByUploaded(Date uploaded)
Finds a Photo by the the time stamp that is created when a photo is uploaded.List<Photo>
PhotoRepository. findPhotosByUser(User user)
Finds the photos that are associated with a user.Methods in edu.cnm.deepdive.picmegallery.model.dao with parameters of type Photo Modifier and Type Method Description Optional<User>
UserRepository. findUserByPhotosContaining(Photo photo)
-
Uses of Photo in edu.cnm.deepdive.picmegallery.model.entity
Methods in edu.cnm.deepdive.picmegallery.model.entity that return types with arguments of type Photo Modifier and Type Method Description List<Photo>
Event. getPhotos()
Gets all the photos related to an event.List<Photo>
User. getPhotos()
Returns a list of photos associated with (uploaded by) the current user. -
Uses of Photo in edu.cnm.deepdive.picmegallery.service
Methods in edu.cnm.deepdive.picmegallery.service that return Photo Modifier and Type Method Description Photo
PhotoService. save(Photo photo, Event event)
Saves a new photo associated with a specific event into the PicMe database.Methods in edu.cnm.deepdive.picmegallery.service that return types with arguments of type Photo Modifier and Type Method Description List<Photo>
PhotoService. getAllPhotosByUser(User user)
Gets all the photos associated with a user.Methods in edu.cnm.deepdive.picmegallery.service with parameters of type Photo Modifier and Type Method Description void
PhotoService. delete(Photo photo, Long id)
Deletes a specific photo.Photo
PhotoService. save(Photo photo, Event event)
Saves a new photo associated with a specific event into the PicMe database.
-