Uses of Class
NTNU.IDATT1002.models.Album
| Package | Description |
|---|---|
| NTNU.IDATT1002.controllers |
Controllers providing interaction with views and services.
|
| NTNU.IDATT1002.controllers.components.exploreAlbums | |
| NTNU.IDATT1002.models |
Provides the model classes for the entities in this application.
|
| NTNU.IDATT1002.repository |
DAO classes defined as repositories for persisting data.
|
| NTNU.IDATT1002.service |
Service classes providing high level behaviour,
connecting the controllers with the business logic.
|
-
Uses of Album in NTNU.IDATT1002.controllers
Methods in NTNU.IDATT1002.controllers that return types with arguments of type Album Modifier and Type Method Description protected PageableService<Album>ExploreAlbums. getService()Return anAlbumServiceto use inPaginatedContent.Method parameters in NTNU.IDATT1002.controllers with type arguments of type Album Modifier and Type Method Description java.util.List<javafx.scene.layout.HBox>ExploreAlbums. computeRootAlbumsContainerChildren(java.util.List<Album> albums)Create aHBoxof albumHBoxchildren to add to a root container.javafx.scene.layout.VBoxSearch. computeRootAlbumsContainerChildren(javafx.collections.ObservableList<Album> listOfAlbums, int start, int end)Create aVBoxof albumHBoxchildren to add to a root container.java.util.List<javafx.scene.layout.HBox>ExploreAlbums. getContentsFrom(Page<Album> page)Uses computeRooAlbumsContainer to return a list og Hboxes with Page as parameter the getContent() gives us the specific content for the page we need -
Uses of Album in NTNU.IDATT1002.controllers.components.exploreAlbums
Constructors in NTNU.IDATT1002.controllers.components.exploreAlbums with parameters of type Album Constructor Description AlbumHBox(Album album)Create the HBox for a single album with a placeholder for a preview image to be added later.AlbumTextVBox(Album album)Create VBox holding the text fields of given album. -
Uses of Album in NTNU.IDATT1002.models
Methods in NTNU.IDATT1002.models that return types with arguments of type Album Modifier and Type Method Description java.util.List<Album>Image. getAlbums()Methods in NTNU.IDATT1002.models with parameters of type Album Modifier and Type Method Description voidImage. addAlbum(Album album)Add this image in the given album. -
Uses of Album in NTNU.IDATT1002.repository
Methods in NTNU.IDATT1002.repository that return types with arguments of type Album Modifier and Type Method Description java.util.List<Album>AlbumRepository. findAllByTags(java.lang.String tag)java.util.List<Album>AlbumRepository. findAllByTitle(java.lang.String title)Find all albums by given title.java.util.List<Album>AlbumRepository. findAllByUsername(java.lang.String username)Retrieves all albums of the user with the given username. -
Uses of Album in NTNU.IDATT1002.service
Methods in NTNU.IDATT1002.service that return types with arguments of type Album Modifier and Type Method Description java.util.Optional<Album>AlbumService. addImage(Album album, Image image)Add given image to given album.java.util.Optional<Album>AlbumService. createAlbum(java.lang.String title, java.lang.String description, User user, java.util.List<Tag> tags, java.util.List<Image> images)Create a new album with all fields populated.java.util.Optional<Album>AlbumService. createEmptyAlbum(java.lang.String title, java.lang.String description, User user, java.util.List<Tag> tags)Retrieves all albums created by the given user by username.Page<Album>AlbumService. findAll(PageRequest pageRequest)Retrieve paginated results specified by givenPageRequest.java.util.Optional<Album>AlbumService. getAlbumById(java.lang.Long albumId)java.util.List<Album>AlbumService. getAlbumsByUser(java.lang.String user)Takes in a string and searched through all albums username.java.util.List<Album>AlbumService. getAllAlbums()Retrieves all albums.java.util.List<Album>AlbumService. removeDuplicates(java.util.List<Album> albums)Removes all duplicate elements in given list.java.util.List<Album>AlbumService. searchResult(java.lang.String query)Takes in a string and searched through all album by tags, username and title to find results.Methods in NTNU.IDATT1002.service with parameters of type Album Modifier and Type Method Description java.util.Optional<Album>AlbumService. addImage(Album album, Image image)Add given image to given album.java.util.Optional<Image>AlbumService. findPreviewImage(Album album)Find a single image as an album preview.Method parameters in NTNU.IDATT1002.service with type arguments of type Album Modifier and Type Method Description java.util.List<Album>AlbumService. removeDuplicates(java.util.List<Album> albums)Removes all duplicate elements in given list.Constructors in NTNU.IDATT1002.service with parameters of type Album Constructor Description PdfDocument(Album album, java.lang.String DESTINATION_FILE)