Index

A B C D E F G H I L M N O P Q R S T U V 
All Classes|All Packages

A

AbstractRepository<T,​ID> - Class in NTNU.IDATT1002.repository
Abstract Entity Repository Abstract Class.
AbstractRepository(EntityManager) - Constructor for class NTNU.IDATT1002.repository.AbstractRepository
Constructor to inject EntityManager dependency.
acceptDrop(DragEvent) - Method in class NTNU.IDATT1002.controllers.Upload
Method that decides if something can be dropped The method is called whenever something is hoovered over the drag-drop pane
addAlbum(Album) - Method in class NTNU.IDATT1002.models.Image
Add this image in the given album.
addColumn(ImageColumn) - Method in class NTNU.IDATT1002.controllers.components.explore.ImageRow
Add given ImageColumn and increase count.
addImage(Album, Image) - Method in class NTNU.IDATT1002.service.AlbumService
Add given image to given album.
addImage(Image) - Method in class NTNU.IDATT1002.models.Album
Add given image to this album.
addOnMouseClickedEventHandlerToComponent(Node, EventHandler<? super MouseEvent>) - Method in class NTNU.IDATT1002.controllers.components.exploreAlbums.AlbumHBox
Add an event handler for mouse click on given node.
addOnMouseClickedEventHandlerToComponent(Node, EventHandler<? super MouseEvent>) - Method in class NTNU.IDATT1002.controllers.components.exploreAlbums.ImageHBox
 
addTabListeners() - Method in class NTNU.IDATT1002.controllers.Search
Method that updates next and previous buttons disable-properties based on the active tab.
addTag(Tag) - Method in class NTNU.IDATT1002.models.Image
 
addTags(ArrayList<Tag>) - Method in class NTNU.IDATT1002.models.Image
 
Album - Class in NTNU.IDATT1002.models
Class Album representing an album.
Album() - Constructor for class NTNU.IDATT1002.models.Album
 
album_desc_field - Variable in class NTNU.IDATT1002.controllers.CreateAlbum
 
ALBUM_FIND_BY_TAGS - Static variable in class NTNU.IDATT1002.repository.AlbumRepository
 
ALBUM_FIND_BY_TITLE - Static variable in class NTNU.IDATT1002.repository.AlbumRepository
 
ALBUM_FIND_BY_USERNAME - Static variable in class NTNU.IDATT1002.repository.AlbumRepository
Mapping to @NamedQuery 'find all albums by username, tags, and title' defined in Album
ALBUM_FIND_PREVIEW_IMAGE - Static variable in class NTNU.IDATT1002.repository.AlbumRepository
 
album_tag_field - Variable in class NTNU.IDATT1002.controllers.CreateAlbum
 
album_title_field - Variable in class NTNU.IDATT1002.controllers.CreateAlbum
 
AlbumDocument - Interface in NTNU.IDATT1002.service
Album Document Interface.
AlbumHBox - Class in NTNU.IDATT1002.controllers.components.exploreAlbums
HBox for holding an albums text components (AlbumTextVBox) and an preview StyledImageView.
AlbumHBox(Album) - Constructor for class NTNU.IDATT1002.controllers.components.exploreAlbums.AlbumHBox
Create the HBox for a single album with a placeholder for a preview image to be added later.
albumImagesContainer - Variable in class NTNU.IDATT1002.controllers.ViewAlbum
 
AlbumRepository - Class in NTNU.IDATT1002.repository
Album Repository.
AlbumRepository(EntityManager) - Constructor for class NTNU.IDATT1002.repository.AlbumRepository
Set the class type to Album
AlbumService - Class in NTNU.IDATT1002.service
Album Service.
AlbumService(EntityManager) - Constructor for class NTNU.IDATT1002.service.AlbumService
Inject entity manager instance to the repositories.
albumsPlaceholder - Variable in class NTNU.IDATT1002.controllers.Search
 
albumsTab - Variable in class NTNU.IDATT1002.controllers.Search
 
albumTextContainer - Variable in class NTNU.IDATT1002.controllers.ViewAlbum
 
AlbumTextVBox - Class in NTNU.IDATT1002.controllers.components.exploreAlbums
VBox for holding an albums' text components.
AlbumTextVBox(Album) - Constructor for class NTNU.IDATT1002.controllers.components.exploreAlbums.AlbumTextVBox
Create VBox holding the text fields of given album.
amountAlbums - Variable in class NTNU.IDATT1002.controllers.Search
 
amountImages - Variable in class NTNU.IDATT1002.controllers.Search
 
amountTotal - Variable in class NTNU.IDATT1002.controllers.Search
 
App - Class in NTNU.IDATT1002
 
App() - Constructor for class NTNU.IDATT1002.App
 
ApplicationState - Class in NTNU.IDATT1002.service
Class Application State.
ApplicationState() - Constructor for class NTNU.IDATT1002.service.ApplicationState
 
ascending() - Method in class NTNU.IDATT1002.repository.Sort
Return a Sort in ascending order.
Authentication - Class in NTNU.IDATT1002.utils
Handles the authentication logic for user login and signup
Authentication() - Constructor for class NTNU.IDATT1002.utils.Authentication
 

B

buttonLogin(ActionEvent) - Method in class NTNU.IDATT1002.controllers.Login
Method trying to login if login button is pressed
by(String) - Static method in class NTNU.IDATT1002.repository.Sort
Return a Sort by given field.

C

cancel(ActionEvent) - Method in class NTNU.IDATT1002.controllers.SignUp
 
chooseFile() - Method in class NTNU.IDATT1002.controllers.Upload
Method that opens file browser with an image filter.
closeEntityManagerFactory() - Static method in class NTNU.IDATT1002.Config
Close the EntityManager instance.
computeRootAlbumsContainerChildren(List<Album>) - Method in class NTNU.IDATT1002.controllers.ExploreAlbums
Create a HBox of album HBox children to add to a root container.
computeRootAlbumsContainerChildren(ObservableList<Album>, int, int) - Method in class NTNU.IDATT1002.controllers.Search
Create a VBox of album HBox children to add to a root container.
computeRootImagesContainerChildren(ObservableList<Image>, int, int) - Method in class NTNU.IDATT1002.controllers.Search
Create a VBox of image HBox children to add to a root container.
Config - Class in NTNU.IDATT1002
Application Configuration Singleton for parsing hibernate persistence properties and Google Maps API key.
confirm_password - Variable in class NTNU.IDATT1002.controllers.SignUp
 
convertToBytes(String) - Static method in class NTNU.IDATT1002.utils.ImageUtil
Convert the file on the given path to a byte array.
convertToFXImage(Image) - Static method in class NTNU.IDATT1002.utils.ImageUtil
Convert the given domain image to a javafx image which can be displayed by a controller.
create() - Method in interface NTNU.IDATT1002.service.AlbumDocument
Create the document.
create() - Method in class NTNU.IDATT1002.service.PdfDocument
Create a new pdf document.
create_album_button - Variable in class NTNU.IDATT1002.controllers.CreateAlbum
 
createAlbum(String, String, User, List<Tag>, List<Image>) - Method in class NTNU.IDATT1002.service.AlbumService
Create a new album with all fields populated.
createAlbum(ActionEvent) - Method in class NTNU.IDATT1002.controllers.CreateAlbum
Method that creates album based on the user input and checked images
CreateAlbum - Class in NTNU.IDATT1002.controllers
Controls the buttons and changeable elements on create_album.fxml, a page where you create albums
CreateAlbum() - Constructor for class NTNU.IDATT1002.controllers.CreateAlbum
Tells DataExchange that create album page was visited.
createAlbumButton - Variable in class NTNU.IDATT1002.controllers.ExploreAlbums
 
createAlbumPdf - Variable in class NTNU.IDATT1002.controllers.ViewAlbum
 
createAndShowResultsSelection() - Method in class NTNU.IDATT1002.controllers.PaginatedContent
Create and show a ComboBox selection holding the options for choosing the amount of results per page.
createEmptyAlbum(String, String, User, List<Tag>) - Method in class NTNU.IDATT1002.service.AlbumService
Retrieves all albums created by the given user by username.
createEntityManager() - Static method in class NTNU.IDATT1002.Config
Retrieve a new EntityManager instance.
createImage(User, File, List<Tag>, String) - Method in class NTNU.IDATT1002.service.ImageService
Creates a new image from the input File Sets metadata to image by using MetaDataExtractor Sets a blob of image by using ImageUtil Finally sets user, path, title and tags to image
createMap(GoogleMapView) - Method in class NTNU.IDATT1002.controllers.ImageMapFactory
Create a map from given GoogleMapView with default options.
createMarkers(List<Image>) - Method in class NTNU.IDATT1002.controllers.ImageMapFactory
Create markers from given images.
createPdf(ActionEvent) - Method in class NTNU.IDATT1002.controllers.ViewAlbum
Retrieve and display album document.
createSmallerMarkers(Image) - Static method in class NTNU.IDATT1002.utils.ImageUtil
Resizes and image to be suitable as markers on map.
createUser(String, String, String, String, String, String, Date, String) - Method in class NTNU.IDATT1002.service.UserService
Creates a new user and sets password on the new user

D

DataExchange - Class in NTNU.IDATT1002.controllers
Class for storing temporary variables between controllers, when the scene changes
DataExchange() - Constructor for class NTNU.IDATT1002.controllers.DataExchange
 
delete(T) - Method in class NTNU.IDATT1002.repository.AbstractRepository
Deletes the given entity.
delete(T) - Method in interface NTNU.IDATT1002.repository.Repository
Deletes the given entity.
deleteById(ID) - Method in class NTNU.IDATT1002.repository.AbstractRepository
Deletes an entity with the given id.
deleteById(ID) - Method in interface NTNU.IDATT1002.repository.Repository
Deletes an entity with the given id.
descending() - Method in class NTNU.IDATT1002.repository.Sort
Return a Sort in descending order.
DescriptionHBox - Class in NTNU.IDATT1002.controllers.components.exploreAlbums
HBox for holding a description.
DescriptionHBox(String) - Constructor for class NTNU.IDATT1002.controllers.components.exploreAlbums.DescriptionHBox
Create HBox holding given description and corresponding label.
doBeforePageExit() - Method in class NTNU.IDATT1002.controllers.Map
Close outgoing requests when exiting the page.
doBeforePageExit() - Method in class NTNU.IDATT1002.controllers.NavBarController
Actions to perform when exiting the page.
drag_drop - Variable in class NTNU.IDATT1002.controllers.Upload
 
droppedFiles(DragEvent) - Method in class NTNU.IDATT1002.controllers.Upload
Method that stores the dropped files

E

empty() - Static method in class NTNU.IDATT1002.repository.Sort
Return a Sort which does not sort by any field.
emptyPageLog() - Method in class NTNU.IDATT1002.controllers.DataExchange
Method that empties the array of visited pages.
enterLogin(KeyEvent) - Method in class NTNU.IDATT1002.controllers.Login
Method that registers a keyevent and tries to login if keyevent is entered
enterSearch(KeyEvent) - Method in class NTNU.IDATT1002.controllers.NavBarController
Method that calls the search method when the Enter key is pressed while the search field is in focus
entityClass - Variable in class NTNU.IDATT1002.repository.AbstractRepository
The type of class which implementations of this class is to operate on.
entityManager - Variable in class NTNU.IDATT1002.repository.AbstractRepository
 
equals(Object) - Method in class NTNU.IDATT1002.models.Album
Check if this and given entity are equal.
equals(Object) - Method in class NTNU.IDATT1002.models.Image
 
equals(Object) - Method in class NTNU.IDATT1002.models.Tag
 
equals(Object) - Method in class NTNU.IDATT1002.models.User
 
error_msg - Variable in class NTNU.IDATT1002.controllers.Login
 
ex - Static variable in class NTNU.IDATT1002.App
 
Explore - Class in NTNU.IDATT1002.controllers
Controls the buttons and changeable elements on explore.fxml, a page where you explore images.
Explore() - Constructor for class NTNU.IDATT1002.controllers.Explore
Tell PaginatedContent which fields to sort Images by.
ExploreAlbums - Class in NTNU.IDATT1002.controllers
Controls the buttons and changeable elements on explore_albums.fxml, a page where you explore albums.
ExploreAlbums() - Constructor for class NTNU.IDATT1002.controllers.ExploreAlbums
Tell PaginatedContent which fields to sort Albums by.

F

fileContainer - Variable in class NTNU.IDATT1002.controllers.CreateAlbum
 
FIND_TAG_BY_NAME - Static variable in class NTNU.IDATT1002.repository.TagRepository
Mapping to @NamedQuery 'find all albums by users username' defined in Image
findAll() - Method in class NTNU.IDATT1002.repository.AbstractRepository
Retrieves all instances of the class type.
findAll() - Method in interface NTNU.IDATT1002.repository.Repository
Retrieves all instances of the type.
findAll(PageRequest) - Method in class NTNU.IDATT1002.repository.PagingAndSortingRepository
Find all entities specified by given PageRequest.
findAll(PageRequest) - Method in class NTNU.IDATT1002.service.AlbumService
Retrieve paginated results specified by given PageRequest.
findAll(PageRequest) - Method in class NTNU.IDATT1002.service.ImageService
Retrieve paginated results specified by given PageRequest.
findAll(PageRequest) - Method in interface NTNU.IDATT1002.service.PageableService
Find all entities on page matching given PageRequest.
findAllByQueryString(String) - Method in class NTNU.IDATT1002.repository.ImageRepository
Find all images based on a string.
findAllByTags(String) - Method in class NTNU.IDATT1002.repository.AlbumRepository
 
findAllByTitle(String) - Method in class NTNU.IDATT1002.repository.AlbumRepository
Find all albums by given title.
findAllByUsername(String) - Method in class NTNU.IDATT1002.repository.AlbumRepository
Retrieves all albums of the user with the given username.
findAllByUsername(String) - Method in class NTNU.IDATT1002.repository.ImageRepository
Retrieves all albums of the user with the given username.
findById(ID) - Method in class NTNU.IDATT1002.repository.AbstractRepository
Retrieves an entity with the given id.
findById(ID) - Method in interface NTNU.IDATT1002.repository.Repository
Retrieves an entity with the given id.
findById(Long) - Method in class NTNU.IDATT1002.service.ImageService
Retrieves a image with given id
findId(MouseEvent) - Method in class NTNU.IDATT1002.controllers.Search
It takes a clicked element within an container and finds the fx:id of the main parent
findOrCreate(Metadata) - Method in class NTNU.IDATT1002.repository.MetadataRepository
Retrieves a tag if found and creates it if not.
findOrCreate(Tag) - Method in class NTNU.IDATT1002.repository.TagRepository
Retrieves a tag if found and creates it if not.
findPreviewImage(Long) - Method in class NTNU.IDATT1002.repository.AlbumRepository
Find a single preview image from album with given id.
findPreviewImage(Album) - Method in class NTNU.IDATT1002.service.AlbumService
Find a single image as an album preview.
format(Metadata, String) - Static method in class NTNU.IDATT1002.utils.MetadataStringFormatter
Format given metadata by given delimiter.

G

GeoLocation - Class in NTNU.IDATT1002.models
Creates table Geolocation
GeoLocation() - Constructor for class NTNU.IDATT1002.models.GeoLocation
 
GeoLocation(String, String) - Constructor for class NTNU.IDATT1002.models.GeoLocation
Creates constructor for geolocation that takes in each parameter
GeoLocatioRepository - Class in NTNU.IDATT1002.repository
GeoLocation Repository.
GeoLocatioRepository(EntityManager) - Constructor for class NTNU.IDATT1002.repository.GeoLocatioRepository
Set the class type to GeoLocation
getAlbumById(Long) - Method in class NTNU.IDATT1002.service.AlbumService
 
getAlbumImageView() - Method in class NTNU.IDATT1002.controllers.components.exploreAlbums.AlbumHBox
 
getAlbums() - Method in class NTNU.IDATT1002.models.Image
 
getAlbumsByUser(String) - Method in class NTNU.IDATT1002.service.AlbumService
Takes in a string and searched through all albums username.
getAlbumTitleHBox() - Method in class NTNU.IDATT1002.controllers.components.exploreAlbums.AlbumHBox
 
getAllAlbums() - Method in class NTNU.IDATT1002.service.AlbumService
Retrieves all albums.
getAllImages() - Method in class NTNU.IDATT1002.service.ImageService
Retrieves all images.
getAllNodes(Parent) - Static method in class NTNU.IDATT1002.controllers.UploadImages
 
getAperture() - Method in class NTNU.IDATT1002.models.Metadata
 
getAperture(File) - Static method in class NTNU.IDATT1002.utils.MetaDataExtractor
Method for getting aperture information
getApiKey() - Method in class NTNU.IDATT1002.controllers.DataExchange
 
getBirthDate() - Method in class NTNU.IDATT1002.models.User
 
getCallingCode() - Method in class NTNU.IDATT1002.models.User
 
getCamera() - Method in class NTNU.IDATT1002.models.Metadata
 
getCamera(File) - Static method in class NTNU.IDATT1002.utils.MetaDataExtractor
Gets the camera Make and Model of the camera used to take the photo
getChosenAlbumId() - Method in class NTNU.IDATT1002.controllers.DataExchange
 
getChosenImg() - Method in class NTNU.IDATT1002.controllers.DataExchange
 
getContent() - Method in class NTNU.IDATT1002.repository.Page
Return the content for this Page.
getContentsFrom(Page<Album>) - Method in class NTNU.IDATT1002.controllers.ExploreAlbums
Uses computeRooAlbumsContainer to return a list og Hboxes with Page as parameter the getContent() gives us the specific content for the page we need
getContentsFrom(Page<Image>) - Method in class NTNU.IDATT1002.controllers.Explore
Aggregate given Page's content to ImageRows and ImageColumns respectively.
getContentsFrom(Page<T>) - Method in class NTNU.IDATT1002.controllers.PaginatedContent
 
getCreatedAt() - Method in class NTNU.IDATT1002.models.Album
 
getCurrentUser() - Static method in class NTNU.IDATT1002.service.ApplicationState
Retrieve the current logged in user if present, or retrieve an anonymous user.
getDefaultFont() - Method in class NTNU.IDATT1002.controllers.DataExchange
 
getDescription() - Method in class NTNU.IDATT1002.models.Album
 
getDocument() - Method in interface NTNU.IDATT1002.service.AlbumDocument
Get the created document.
getDocument() - Method in class NTNU.IDATT1002.service.PdfDocument
 
getDocument(Long) - Method in class NTNU.IDATT1002.service.AlbumService
Create and return a new document for the album with the given id.
getEmail() - Method in class NTNU.IDATT1002.models.User
 
getEntityManager() - Method in class NTNU.IDATT1002.controllers.DataExchange
 
getExtension(String) - Method in class NTNU.IDATT1002.controllers.Upload
Method that finds the extension of a file
getFileDimension() - Method in class NTNU.IDATT1002.models.Metadata
 
getFileDimension(File) - Static method in class NTNU.IDATT1002.utils.MetaDataExtractor
Method for getting file dimension
getFileSize() - Method in class NTNU.IDATT1002.models.Metadata
 
getFileSize(File) - Static method in class NTNU.IDATT1002.utils.MetaDataExtractor
Method for getting file size
getFileType() - Method in class NTNU.IDATT1002.models.Metadata
 
getFileType(File) - Static method in class NTNU.IDATT1002.utils.MetaDataExtractor
Method for getting file type information
getFirstName() - Method in class NTNU.IDATT1002.models.User
 
getFocalLength() - Method in class NTNU.IDATT1002.models.Metadata
 
getFocalLength(File) - Static method in class NTNU.IDATT1002.utils.MetaDataExtractor
Method for getting focal length information
getGeoApiContext() - Method in class NTNU.IDATT1002.controllers.DataExchange
 
getGeoLocation() - Method in class NTNU.IDATT1002.models.Image
Get Geo Location related to this image.
getGeoLocation() - Method in class NTNU.IDATT1002.models.Metadata
 
getGeoLocation(File) - Static method in class NTNU.IDATT1002.utils.MetaDataExtractor
Reads files' metadata and tries to extract metadata
getGeoLocationId() - Method in class NTNU.IDATT1002.models.GeoLocation
 
getGoogleApiKey() - Static method in class NTNU.IDATT1002.Config
 
getHash() - Method in class NTNU.IDATT1002.models.Login
 
getHostServices() - Method in class NTNU.IDATT1002.controllers.DataExchange
 
getId() - Method in class NTNU.IDATT1002.models.Album
 
getId() - Method in class NTNU.IDATT1002.models.Image
 
getImage() - Method in class NTNU.IDATT1002.models.Metadata
 
getImageFromUser(User) - Method in class NTNU.IDATT1002.service.ImageService
Finds each picture belonging to a specific user.
getImages() - Method in class NTNU.IDATT1002.models.Album
 
getImageTitleHBox() - Method in class NTNU.IDATT1002.controllers.components.exploreAlbums.ImageHBox
 
getImageView() - Method in class NTNU.IDATT1002.controllers.components.exploreAlbums.ImageHBox
 
getIso(File) - Static method in class NTNU.IDATT1002.utils.MetaDataExtractor
Method for getting iso information
getISO() - Method in class NTNU.IDATT1002.models.Metadata
 
getLastName() - Method in class NTNU.IDATT1002.models.User
 
getLastPageNumber() - Method in class NTNU.IDATT1002.repository.Page
Calculate and return the last page number.
getLatitude() - Method in class NTNU.IDATT1002.models.GeoLocation
 
getLens() - Method in class NTNU.IDATT1002.models.Metadata
 
getLens(File) - Static method in class NTNU.IDATT1002.utils.MetaDataExtractor
Method for getting lens information of the camera used
getLongitude() - Method in class NTNU.IDATT1002.models.GeoLocation
 
getMetadata() - Method in class NTNU.IDATT1002.models.Image
 
getMetadata(File) - Static method in class NTNU.IDATT1002.utils.MetaDataExtractor
 
getMetadataId() - Method in class NTNU.IDATT1002.models.Metadata
 
getMiscMetadata() - Method in class NTNU.IDATT1002.models.Metadata
 
getMiscMetadata(File) - Static method in class NTNU.IDATT1002.utils.MetaDataExtractor
Method for getting all the misceleneous metadata from an image.
getName() - Method in class NTNU.IDATT1002.models.Tag
 
getOrCreateTags(List<Tag>) - Method in class NTNU.IDATT1002.service.TagService
Gets or creates given tags in given list.
getOrder(CriteriaBuilder, Root<T>) - Method in class NTNU.IDATT1002.repository.Sort
Compose and return this Sort as an Order wrapped in an Optional which can be used when building queries with CriteriaQuery.
getPageFactory(Integer) - Method in class NTNU.IDATT1002.controllers.PaginatedContent
Define actions to take when user clicks on a new page.
getPageNumber() - Method in class NTNU.IDATT1002.repository.PageRequest
Return the page number for this request.
getPageRequest() - Method in class NTNU.IDATT1002.repository.Page
Return the PageRequest for this Page.
getPageSize() - Method in class NTNU.IDATT1002.repository.PageRequest
Return the page size for this request.
getPageTaskFor(int) - Method in class NTNU.IDATT1002.controllers.PaginatedContent
Return a Task for fetching and updating the current page with given page number and specified page size.
getPasswordSalt() - Method in class NTNU.IDATT1002.models.Login
 
getPhoneNumber() - Method in class NTNU.IDATT1002.models.User
 
getPhotoDate() - Method in class NTNU.IDATT1002.models.Metadata
 
getPhotoDate(File) - Static method in class NTNU.IDATT1002.utils.MetaDataExtractor
Method for getting date information
getRawImage() - Method in class NTNU.IDATT1002.models.Image
 
getSearchField() - Method in class NTNU.IDATT1002.controllers.DataExchange
 
getService() - Method in class NTNU.IDATT1002.controllers.Explore
Return an ImageService to use in PaginatedContent.
getService() - Method in class NTNU.IDATT1002.controllers.ExploreAlbums
Return an AlbumService to use in PaginatedContent.
getService() - Method in class NTNU.IDATT1002.controllers.PaginatedContent
 
getShutterSpeed() - Method in class NTNU.IDATT1002.models.Metadata
 
getShutterSpeed(File) - Static method in class NTNU.IDATT1002.utils.MetaDataExtractor
Method for getting shutterspeed information
getSingleTag(Tag) - Method in class NTNU.IDATT1002.service.TagService
Retrieve given tag.
getSort() - Method in class NTNU.IDATT1002.repository.PageRequest
Return the Sort .
getTagId() - Method in class NTNU.IDATT1002.models.Tag
 
getTags() - Method in class NTNU.IDATT1002.models.Album
 
getTags() - Method in class NTNU.IDATT1002.models.Image
 
getTagsAsString(List<Tag>) - Static method in class NTNU.IDATT1002.service.TagService
Retrieves tags from list of tags and converts them to a concatenated string.
getTagsFromString(String) - Static method in class NTNU.IDATT1002.service.TagService
Retrieves tags from text field and converts them to a list of tag objects.
getTitle() - Method in class NTNU.IDATT1002.controllers.components.exploreAlbums.AlbumTextVBox
 
getTitle() - Method in class NTNU.IDATT1002.controllers.components.exploreAlbums.ImageTextVBox
 
getTitle() - Method in class NTNU.IDATT1002.models.Album
 
getTitle() - Method in class NTNU.IDATT1002.models.Image
 
getTotal() - Method in class NTNU.IDATT1002.repository.Page
Return the current total size of data available.
getUpdatedAt() - Method in class NTNU.IDATT1002.models.Album
 
getUploadedAt() - Method in class NTNU.IDATT1002.models.Image
 
getUploadedFiles() - Method in class NTNU.IDATT1002.controllers.DataExchange
 
getUser() - Method in class NTNU.IDATT1002.models.Album
 
getUser() - Method in class NTNU.IDATT1002.models.Image
 
getUser() - Method in class NTNU.IDATT1002.models.Login
 
getUsername() - Method in class NTNU.IDATT1002.models.User
 
getUsers() - Method in class NTNU.IDATT1002.service.UserService
 
goToPrevious(ActionEvent) - Method in class NTNU.IDATT1002.controllers.NavBarController
If DataExchange has a previous page it changes to it.

H

hasLatLong() - Method in class NTNU.IDATT1002.models.GeoLocation
Verify that this geolocation has latitude and longitude different from 0.
hostServices - Variable in class NTNU.IDATT1002.controllers.DataExchange
 

I

Image - Class in NTNU.IDATT1002.models
 
Image() - Constructor for class NTNU.IDATT1002.models.Image
 
Image(byte[], Album, User, Metadata, String) - Constructor for class NTNU.IDATT1002.models.Image
 
IMAGE_FIND_BY_QUERY_STRING - Static variable in class NTNU.IDATT1002.repository.ImageRepository
 
IMAGE_FIND_BY_TAG - Static variable in class NTNU.IDATT1002.repository.ImageRepository
 
IMAGE_FIND_BY_USERNAME - Static variable in class NTNU.IDATT1002.repository.ImageRepository
Mapping to NamedQuery defined in Image
ImageColumn - Class in NTNU.IDATT1002.controllers.components.explore
Representing an individual column to present an image and other content.
ImageColumn(Image) - Constructor for class NTNU.IDATT1002.controllers.components.explore.ImageColumn
Create an ImageColumn containing given Image.
imageContainer - Variable in class NTNU.IDATT1002.controllers.ViewImage
 
ImageHBox - Class in NTNU.IDATT1002.controllers.components.exploreAlbums
HBox for holding an albums text components (ImageTextVBox) and an preview StyledImageView.
ImageHBox(Image) - Constructor for class NTNU.IDATT1002.controllers.components.exploreAlbums.ImageHBox
Create the HBox for a single image.
ImageMapFactory - Class in NTNU.IDATT1002.controllers
Class ImageMapFactory.
ImageMapFactory() - Constructor for class NTNU.IDATT1002.controllers.ImageMapFactory
 
imageMetadataField - Variable in class NTNU.IDATT1002.controllers.ViewImage
 
ImageRepository - Class in NTNU.IDATT1002.repository
Image Repository.
ImageRepository(EntityManager) - Constructor for class NTNU.IDATT1002.repository.ImageRepository
Set the class type to Image
ImageRow - Class in NTNU.IDATT1002.controllers.components.explore
A container representing a row holding a certain amount of ImageColumns which can be used to display a number of elements at the same time.
ImageRow(int) - Constructor for class NTNU.IDATT1002.controllers.components.explore.ImageRow
Create a ImageRow with given capacity.
ImageService - Class in NTNU.IDATT1002.service
Image service
ImageService(EntityManager) - Constructor for class NTNU.IDATT1002.service.ImageService
Inject entity manager instance to the repositories.
imagesPlaceholder - Variable in class NTNU.IDATT1002.controllers.Search
 
imagesTab - Variable in class NTNU.IDATT1002.controllers.Search
 
imageTagsField - Variable in class NTNU.IDATT1002.controllers.ViewImage
 
ImageTextVBox - Class in NTNU.IDATT1002.controllers.components.exploreAlbums
VBox for holding an image's text components.
ImageTextVBox(Image) - Constructor for class NTNU.IDATT1002.controllers.components.exploreAlbums.ImageTextVBox
Create VBox holding the text fields of given imag.
imageTitleField - Variable in class NTNU.IDATT1002.controllers.ViewImage
 
ImageUtil - Class in NTNU.IDATT1002.utils
Image Util class for performing Image related utility operations, such as converting a file to a byte array and Image to Image.
ImageUtil() - Constructor for class NTNU.IDATT1002.utils.ImageUtil
 
initialize(URL, ResourceBundle) - Method in class NTNU.IDATT1002.controllers.CreateAlbum
Generates container for all images of current user with a checkbox.
initialize(URL, ResourceBundle) - Method in class NTNU.IDATT1002.controllers.Map
Initialize GoogleMapView and GeoApiContext with required API key.
initialize(URL, ResourceBundle) - Method in class NTNU.IDATT1002.controllers.PaginatedContent
Generate content and bindings, including the first page of all images.
initialize(URL, ResourceBundle) - Method in class NTNU.IDATT1002.controllers.Search
Generates content based on the search word.
initialize(URL, ResourceBundle) - Method in class NTNU.IDATT1002.controllers.UploadImages
Method that runs when the controller is loaded Sets the image url on the page to be the uploaded images url
initialize(URL, ResourceBundle) - Method in class NTNU.IDATT1002.controllers.ViewAlbum
Generates content on the page based on the current album id in DataExchange.
initialize(URL, ResourceBundle) - Method in class NTNU.IDATT1002.controllers.ViewImage
Generates content on the page based on current clicked image id in DataExchange
isActive() - Method in class NTNU.IDATT1002.models.User
 
isAdmin() - Method in class NTNU.IDATT1002.models.User
 
isCorrectPassword(String, String, String) - Static method in class NTNU.IDATT1002.utils.Authentication
Gets hash and salt from database with the salt Hashes input password with same algorithm and salt as when created Compares the expected hash and the new hash
isFull() - Method in class NTNU.IDATT1002.controllers.components.explore.ImageRow
Return whether this ImageRow has reached its capacity.
iterator() - Method in class NTNU.IDATT1002.repository.Page
Return an iterator for the page's content.

L

logger - Variable in class NTNU.IDATT1002.repository.AbstractRepository
 
login - Variable in class NTNU.IDATT1002.controllers.Login
 
login() - Method in class NTNU.IDATT1002.controllers.Login
Method that tries to log in to the page with the entered credentials.
logIn(String, String) - Method in class NTNU.IDATT1002.service.UserService
Logs a user in if correct credentials is given
Login - Class in NTNU.IDATT1002.controllers
Controls the buttons and changeable elements on login.fxml, the page where you log into the application
Login - Class in NTNU.IDATT1002.models
 
Login() - Constructor for class NTNU.IDATT1002.controllers.Login
 
Login() - Constructor for class NTNU.IDATT1002.models.Login
 
Login(User) - Constructor for class NTNU.IDATT1002.models.Login
 
Login(User, String, String) - Constructor for class NTNU.IDATT1002.models.Login
 
LoginRepository - Class in NTNU.IDATT1002.repository
Login Repository Implements Repository whick supports CRUD operations.
LoginRepository(EntityManager) - Constructor for class NTNU.IDATT1002.repository.LoginRepository
Set the class type to Login
logOut() - Static method in class NTNU.IDATT1002.service.UserService
 
logOut(ActionEvent) - Method in class NTNU.IDATT1002.controllers.NavBarController
Method for logging out user.

M

main(String[]) - Static method in class NTNU.IDATT1002.App
 
Main - Class in NTNU.IDATT1002.controllers
Controls the buttons and changeable elements on main.fxml, a page where you explore albums
Main() - Constructor for class NTNU.IDATT1002.controllers.Main
Tells DataExchange that main page is visited.
mainImageContainer - Variable in class NTNU.IDATT1002.controllers.ViewAlbum
 
mainImageTags - Variable in class NTNU.IDATT1002.controllers.ViewAlbum
 
mainImageTitle - Variable in class NTNU.IDATT1002.controllers.ViewAlbum
 
Map - Class in NTNU.IDATT1002.controllers
Controls the buttons and changeable elements on map.fxml, a page where you can find images by location
Map() - Constructor for class NTNU.IDATT1002.controllers.Map
Tell DataExchange that map page is visited.
mapInitialized() - Method in class NTNU.IDATT1002.controllers.Map
Create map an fetch images from the appropriate task and add individual markers for images.
Metadata - Class in NTNU.IDATT1002.models
Creates Metadata table
Metadata() - Constructor for class NTNU.IDATT1002.models.Metadata
 
Metadata(Metadata) - Constructor for class NTNU.IDATT1002.models.Metadata
 
metadata_pane - Variable in class NTNU.IDATT1002.controllers.CreateAlbum
 
MetaDataExtractor - Class in NTNU.IDATT1002.utils
Class MetaDataExtractor.
MetaDataExtractor() - Constructor for class NTNU.IDATT1002.utils.MetaDataExtractor
 
MetadataHBox - Class in NTNU.IDATT1002.controllers.components.exploreAlbums
HBox for holding metadata.
MetadataHBox(Metadata) - Constructor for class NTNU.IDATT1002.controllers.components.exploreAlbums.MetadataHBox
Create HBox holding given metadata and corresponding label.
MetadataRepository - Class in NTNU.IDATT1002.repository
Tag Repository.
MetadataRepository(EntityManager) - Constructor for class NTNU.IDATT1002.repository.MetadataRepository
Set the class type to Metadata
MetadataStringFormatter - Class in NTNU.IDATT1002.utils
Metadata String Formatter provides and interface for formatting metadata into a UI presentable string.
MetadataStringFormatter() - Constructor for class NTNU.IDATT1002.utils.MetadataStringFormatter
 
metadataText - Variable in class NTNU.IDATT1002.controllers.ViewAlbum
 
metadataVBox - Variable in class NTNU.IDATT1002.controllers.ViewAlbum
 

N

navBarAlbums - Variable in class NTNU.IDATT1002.controllers.NavBarController
 
NavBarController - Class in NTNU.IDATT1002.controllers
Class for controlling actions in the navigation bar
NavBarController() - Constructor for class NTNU.IDATT1002.controllers.NavBarController
 
navBarExplore - Variable in class NTNU.IDATT1002.controllers.NavBarController
 
navBarLogo - Variable in class NTNU.IDATT1002.controllers.NavBarController
 
navBarLogOut - Variable in class NTNU.IDATT1002.controllers.NavBarController
 
navBarMap - Variable in class NTNU.IDATT1002.controllers.NavBarController
 
navBarSearch - Variable in class NTNU.IDATT1002.controllers.NavBarController
 
navBarSearchBtn - Variable in class NTNU.IDATT1002.controllers.NavBarController
 
navBarUpload - Variable in class NTNU.IDATT1002.controllers.NavBarController
 
newPage(String) - Method in class NTNU.IDATT1002.controllers.DataExchange
Method for adding new page to previousFXML list.
next() - Method in class NTNU.IDATT1002.repository.PageRequest
Return the succeeding PageRequest.
nextBtn - Variable in class NTNU.IDATT1002.controllers.Search
 
nextPageRequest() - Method in class NTNU.IDATT1002.repository.Page
Return the next PageRequest.
NTNU.IDATT1002 - package NTNU.IDATT1002
The projects root package.
NTNU.IDATT1002.controllers - package NTNU.IDATT1002.controllers
Controllers providing interaction with views and services.
NTNU.IDATT1002.controllers.components - package NTNU.IDATT1002.controllers.components
Application specific components extending the standard JavaFX library
NTNU.IDATT1002.controllers.components.explore - package NTNU.IDATT1002.controllers.components.explore
 
NTNU.IDATT1002.controllers.components.exploreAlbums - package NTNU.IDATT1002.controllers.components.exploreAlbums
 
NTNU.IDATT1002.models - package NTNU.IDATT1002.models
Provides the model classes for the entities in this application.
NTNU.IDATT1002.repository - package NTNU.IDATT1002.repository
DAO classes defined as repositories for persisting data.
NTNU.IDATT1002.service - package NTNU.IDATT1002.service
Service classes providing high level behaviour, connecting the controllers with the business logic.
NTNU.IDATT1002.utils - package NTNU.IDATT1002.utils
Project utilities.

O

of(int, int) - Static method in class NTNU.IDATT1002.repository.PageRequest
Create a PageRequest defined by given page number and page size.
of(int, int, Sort) - Static method in class NTNU.IDATT1002.repository.PageRequest
Create a PageRequest defined by given page number and page size, with Sort.
openPopUpImage(MouseEvent) - Method in class NTNU.IDATT1002.controllers.ViewAlbum
Makes a new stage and display the clicked image in max size
openPopUpImage(MouseEvent) - Method in class NTNU.IDATT1002.controllers.ViewImage
Makes a new stage and display the clicked image in max size
openPopUpMetadata(MouseEvent) - Method in class NTNU.IDATT1002.controllers.ViewAlbum
Makes a new stage and displays ALL metadata of the clicked image
openPopUpMetadata(MouseEvent) - Method in class NTNU.IDATT1002.controllers.ViewImage
Makes a new stage and displays ALL metadata of the clicked image

P

Page<T> - Class in NTNU.IDATT1002.repository
Provides operations for navigating between pages.
Page(List<T>, PageRequest, long) - Constructor for class NTNU.IDATT1002.repository.Page
Create a Page holding given content.
PageableService<T> - Interface in NTNU.IDATT1002.service
Interface for services that are pageable, ie offer paginated content.
pageChanged(Task<Page<T>>, VBox) - Method in class NTNU.IDATT1002.controllers.PaginatedContent
Define actions to take when the page changes.
PageRequest - Class in NTNU.IDATT1002.repository
Represents requests for requesting a Page from a paginated query.
PageRequest(int, int) - Constructor for class NTNU.IDATT1002.repository.PageRequest
 
PageRequest(int, int, Sort) - Constructor for class NTNU.IDATT1002.repository.PageRequest
 
pageRootContainer - Variable in class NTNU.IDATT1002.controllers.Search
 
pageSize - Variable in class NTNU.IDATT1002.controllers.PaginatedContent
 
pageSizeSelectionChanged(ComboBox<Integer>) - Method in class NTNU.IDATT1002.controllers.PaginatedContent
Action to take when user selected a new option in given ComboBox.
PaginatedContent<T> - Class in NTNU.IDATT1002.controllers
Controller class for serving paginated content.
PaginatedContent(String, String) - Constructor for class NTNU.IDATT1002.controllers.PaginatedContent
Initialize sort choice mapping to appropriate sort defined by given fields.
PagingAndSortingRepository<T,​ID> - Class in NTNU.IDATT1002.repository
Paging and Sorting Repository.
PagingAndSortingRepository(EntityManager) - Constructor for class NTNU.IDATT1002.repository.PagingAndSortingRepository
Password - Variable in class NTNU.IDATT1002.controllers.Login
 
PdfDocument - Class in NTNU.IDATT1002.service
Class PdfDocument.
PdfDocument(Album, String) - Constructor for class NTNU.IDATT1002.service.PdfDocument
 
previous() - Method in class NTNU.IDATT1002.repository.PageRequest
Return the preceding PageRequest.
previousBtn - Variable in class NTNU.IDATT1002.controllers.Search
 
previousPage() - Method in class NTNU.IDATT1002.controllers.DataExchange
Method for going back.
previousPageRequest() - Method in class NTNU.IDATT1002.repository.Page
Return the previous PageRequest.
progressBar - Variable in class NTNU.IDATT1002.controllers.Search
 
progressBarContainer - Variable in class NTNU.IDATT1002.controllers.Search
 

Q

queryAutocomplete(KeyEvent) - Method in class NTNU.IDATT1002.controllers.Map
Query for autocomplete predictions and bind them to the corresponding text field.

R

r - Static variable in class NTNU.IDATT1002.utils.Authentication
 
removeDuplicates(List<Album>) - Method in class NTNU.IDATT1002.service.AlbumService
Removes all duplicate elements in given list.
replaceAlbumImageViewWith(Image) - Method in class NTNU.IDATT1002.controllers.components.exploreAlbums.AlbumHBox
Replace the current image preview placeholder with given Image.
replaceImageViewWith(Image) - Method in class NTNU.IDATT1002.controllers.components.exploreAlbums.ImageHBox
Replace the current image placeholder with given Image.
Repository<T,​ID> - Interface in NTNU.IDATT1002.repository
Entity Repository Interface.
returnButton - Variable in class NTNU.IDATT1002.controllers.NavBarController
 
root - Variable in class NTNU.IDATT1002.controllers.UploadImages
 
rootAlbumsContainer - Variable in class NTNU.IDATT1002.controllers.Search
 
rootImagesContainer - Variable in class NTNU.IDATT1002.controllers.Search
 

S

save(T) - Method in class NTNU.IDATT1002.repository.AbstractRepository
Saves a given entity and returns the saved instance.
save(T) - Method in interface NTNU.IDATT1002.repository.Repository
Saves a given entity and returns the saved instance.
scrollpane - Variable in class NTNU.IDATT1002.controllers.UploadImages
 
scrollToTop() - Method in class NTNU.IDATT1002.controllers.PaginatedContent
Scroll view point to top animation.
search - Variable in class NTNU.IDATT1002.controllers.Map
 
search() - Method in class NTNU.IDATT1002.controllers.NavBarController
Method that changes scene to Search page.
Search - Class in NTNU.IDATT1002.controllers
Controls the buttons and changeable elements on search.fxml, a page where you can search for images
Search() - Constructor for class NTNU.IDATT1002.controllers.Search
Tell DataExchange that search page was visited.
searchBtn - Variable in class NTNU.IDATT1002.controllers.Map
 
searchGeocodingAddress(ActionEvent) - Method in class NTNU.IDATT1002.controllers.Map
Search a Geocoding address with the current input in the address search text field.
searchResult(String) - Method in class NTNU.IDATT1002.service.AlbumService
Takes in a string and searched through all album by tags, username and title to find results.
searchResult(String) - Method in class NTNU.IDATT1002.service.ImageService
Searches images by tags and username, and merges the two list into one with all images uses removeDuplicates list to return a list with no duplicate images
searchWord - Variable in class NTNU.IDATT1002.controllers.Search
 
setAperture(String) - Method in class NTNU.IDATT1002.models.Metadata
 
setBirthDate(Date) - Method in class NTNU.IDATT1002.models.User
 
setCallingCode(String) - Method in class NTNU.IDATT1002.models.User
 
setCamera(String) - Method in class NTNU.IDATT1002.models.Metadata
 
setChosenAlbumId(Long) - Method in class NTNU.IDATT1002.controllers.DataExchange
 
setChosenImg(Long) - Method in class NTNU.IDATT1002.controllers.DataExchange
 
setCreatedAt(Date) - Method in class NTNU.IDATT1002.models.Album
 
setCurrentUser(User) - Static method in class NTNU.IDATT1002.service.ApplicationState
 
setDescription(String) - Method in class NTNU.IDATT1002.models.Album
 
setEmail(String) - Method in class NTNU.IDATT1002.models.User
 
setEntityClass(Class<T>) - Method in class NTNU.IDATT1002.repository.AbstractRepository
Set the type of class which this class is to operate on.
setFileDimension(String) - Method in class NTNU.IDATT1002.models.Metadata
 
setFileSize(String) - Method in class NTNU.IDATT1002.models.Metadata
 
setFileType(String) - Method in class NTNU.IDATT1002.models.Metadata
 
setFirstName(String) - Method in class NTNU.IDATT1002.models.User
 
setFocalLength(String) - Method in class NTNU.IDATT1002.models.Metadata
 
setGeoLocation(GeoLocation) - Method in class NTNU.IDATT1002.models.Metadata
 
setHash(String) - Method in class NTNU.IDATT1002.models.Login
 
setHostServices(HostServices) - Method in class NTNU.IDATT1002.controllers.DataExchange
 
setId(Long) - Method in class NTNU.IDATT1002.models.Album
 
setId(Long) - Method in class NTNU.IDATT1002.models.Image
 
setImage(Image) - Method in class NTNU.IDATT1002.models.Metadata
 
setImages(List<Image>) - Method in class NTNU.IDATT1002.models.Album
 
setISO(String) - Method in class NTNU.IDATT1002.models.Metadata
 
setLastName(String) - Method in class NTNU.IDATT1002.models.User
 
setLatitude(String) - Method in class NTNU.IDATT1002.models.GeoLocation
 
setLens(String) - Method in class NTNU.IDATT1002.models.Metadata
 
setLongitude(String) - Method in class NTNU.IDATT1002.models.GeoLocation
 
setMetadata(Metadata) - Method in class NTNU.IDATT1002.models.GeoLocation
 
setMetadata(Metadata) - Method in class NTNU.IDATT1002.models.Image
 
setMetadata(Metadata, File) - Static method in class NTNU.IDATT1002.utils.MetaDataExtractor
Sets all predefiner metadata on a metadata object
setMiscMetadata(String) - Method in class NTNU.IDATT1002.models.Metadata
 
setName(String) - Method in class NTNU.IDATT1002.models.Tag
 
setPassword(String) - Static method in class NTNU.IDATT1002.utils.Authentication
Hashes password with salt from getSalt method
setPasswordSalt(String) - Method in class NTNU.IDATT1002.models.Login
 
setPath(String) - Method in class NTNU.IDATT1002.models.Image
 
setPhoneNumber(String) - Method in class NTNU.IDATT1002.models.User
 
setPhotoDate(String) - Method in class NTNU.IDATT1002.models.Metadata
 
setRawImage(byte[]) - Method in class NTNU.IDATT1002.models.Image
 
setRoot(String) - Static method in class NTNU.IDATT1002.App
 
setSearchField(String) - Method in class NTNU.IDATT1002.controllers.DataExchange
 
setShutterSpeed(String) - Method in class NTNU.IDATT1002.models.Metadata
 
setTagId(Long) - Method in class NTNU.IDATT1002.models.Tag
 
setTags(List<Tag>) - Method in class NTNU.IDATT1002.models.Album
 
setTitle(String) - Method in class NTNU.IDATT1002.models.Album
 
setTitle(String) - Method in class NTNU.IDATT1002.models.Image
 
setUploadedFiles(List<File>) - Method in class NTNU.IDATT1002.controllers.DataExchange
 
setUser(User) - Method in class NTNU.IDATT1002.models.Album
 
setUser(User) - Method in class NTNU.IDATT1002.models.Image
 
setUser(User) - Method in class NTNU.IDATT1002.models.Login
 
setUsername(String) - Method in class NTNU.IDATT1002.models.User
 
signup - Variable in class NTNU.IDATT1002.controllers.Login
 
signup(ActionEvent) - Method in class NTNU.IDATT1002.controllers.SignUp
Method that changes scene if signup scheme is filled correctly to Login
SignUp - Class in NTNU.IDATT1002.controllers
Controls the buttons and changeable elements on signup.fxml, a page where you create a new user for the application
SignUp() - Constructor for class NTNU.IDATT1002.controllers.SignUp
 
signup_birthDate - Variable in class NTNU.IDATT1002.controllers.SignUp
 
signup_btn - Variable in class NTNU.IDATT1002.controllers.SignUp
 
signup_email - Variable in class NTNU.IDATT1002.controllers.SignUp
 
signup_firstName - Variable in class NTNU.IDATT1002.controllers.SignUp
 
signup_form - Variable in class NTNU.IDATT1002.controllers.SignUp
 
signup_lastName - Variable in class NTNU.IDATT1002.controllers.SignUp
 
signup_password - Variable in class NTNU.IDATT1002.controllers.SignUp
 
signup_phoneCode - Variable in class NTNU.IDATT1002.controllers.SignUp
 
signup_phoneNr - Variable in class NTNU.IDATT1002.controllers.SignUp
 
signup_username - Variable in class NTNU.IDATT1002.controllers.SignUp
 
Sort - Class in NTNU.IDATT1002.repository
Represents a part of a sorted PageRequest.
start(Stage) - Method in class NTNU.IDATT1002.App
 
stop() - Method in class NTNU.IDATT1002.App
Shut down GeoApiContext on application stop to gracefully close the connection.
StyledImageView - Class in NTNU.IDATT1002.controllers.components.exploreAlbums
ImageView for holding an image.
StyledImageView() - Constructor for class NTNU.IDATT1002.controllers.components.exploreAlbums.StyledImageView
Create an empty ImageView with default styling.
switchToAlbums(ActionEvent) - Method in class NTNU.IDATT1002.controllers.NavBarController
Method that changes scene to Albums page
switchToCreateAlbum(ActionEvent) - Method in class NTNU.IDATT1002.controllers.ExploreAlbums
Change scene to Create Album page.
switchToExplore(ActionEvent) - Method in class NTNU.IDATT1002.controllers.NavBarController
Method that changes scene to Explore page
switchToMain(MouseEvent) - Method in class NTNU.IDATT1002.controllers.NavBarController
Method that changes scene to Main page
switchToMap(ActionEvent) - Method in class NTNU.IDATT1002.controllers.NavBarController
Method that changes scene to Map page
switchToNext(ActionEvent) - Method in class NTNU.IDATT1002.controllers.Search
It finds out witch is current selected tab and if it is possible to load next content on that page.
switchToPrevious(ActionEvent) - Method in class NTNU.IDATT1002.controllers.Search
It finds out witch is current selected tab and if it is possible to load previous content on that page.
switchToSearch(ActionEvent) - Method in class NTNU.IDATT1002.controllers.NavBarController
Method that calls the search method when the search button is pressed
switchToSignup(ActionEvent) - Method in class NTNU.IDATT1002.controllers.Login
Method that changes scene to Sign Up page
switchToUpload(ActionEvent) - Method in class NTNU.IDATT1002.controllers.NavBarController
Method that changes scene to Upload page
switchToViewAlbum(MouseEvent) - Method in class NTNU.IDATT1002.controllers.ExploreAlbums
Open specific albums.
switchToViewAlbum(MouseEvent) - Method in class NTNU.IDATT1002.controllers.Search
Changes to view album page.
switchToViewImage(InputEvent) - Method in class NTNU.IDATT1002.controllers.Explore
Change scene to View Picture page for the image that was interacted with.
switchToViewImage(MouseEvent) - Method in class NTNU.IDATT1002.controllers.Search
Changes to view image page.

T

tabContainer - Variable in class NTNU.IDATT1002.controllers.Search
 
Tag - Class in NTNU.IDATT1002.models
Creates table named tag
Tag() - Constructor for class NTNU.IDATT1002.models.Tag
 
Tag(Long, String) - Constructor for class NTNU.IDATT1002.models.Tag
Constructor with tagId and name as parameters
Tag(String) - Constructor for class NTNU.IDATT1002.models.Tag
Contructor to set initial tag name.
Tag(Tag) - Constructor for class NTNU.IDATT1002.models.Tag
Constructor thar takes in a tag object
TagRepository - Class in NTNU.IDATT1002.repository
Tag Repository.
TagRepository(EntityManager) - Constructor for class NTNU.IDATT1002.repository.TagRepository
Set the class type to Tag
TagService - Class in NTNU.IDATT1002.service
Tag Service.
TagService(EntityManager) - Constructor for class NTNU.IDATT1002.service.TagService
Inject entity manager instance to the repositories.
TagsHBox - Class in NTNU.IDATT1002.controllers.components.exploreAlbums
HBox for holding tags of image or album.
TagsHBox(List<Tag>) - Constructor for class NTNU.IDATT1002.controllers.components.exploreAlbums.TagsHBox
Create HBox holding given tags and crete corresponding label.
TitleHBox - Class in NTNU.IDATT1002.controllers.components.exploreAlbums
HBox for holding an image-or album title.
TitleHBox(String) - Constructor for class NTNU.IDATT1002.controllers.components.exploreAlbums.TitleHBox
Create HBox holding given title and create a corresponding label.
toString() - Method in class NTNU.IDATT1002.models.Album
 
toString() - Method in class NTNU.IDATT1002.models.GeoLocation
 
toString() - Method in class NTNU.IDATT1002.models.Image
 
toString() - Method in class NTNU.IDATT1002.models.Login
 
toString() - Method in class NTNU.IDATT1002.models.Metadata
 
toString() - Method in class NTNU.IDATT1002.models.Tag
 
toString() - Method in class NTNU.IDATT1002.models.User
 
trim() - Method in class NTNU.IDATT1002.models.Tag
 

U

update(T) - Method in class NTNU.IDATT1002.repository.AbstractRepository
Updates a given entity and returns the updated instance.
update(T) - Method in interface NTNU.IDATT1002.repository.Repository
Updates a given entity and returns the updated instance.
updatePage() - Method in class NTNU.IDATT1002.controllers.PaginatedContent
Update view with the first page of results with index 0, in the background.
upload() - Method in class NTNU.IDATT1002.controllers.UploadImages
Method for uploading image to database with tags Image itself is not stored but URL is
Upload - Class in NTNU.IDATT1002.controllers
Controls the buttons and changeable elements on upload.fxml, a page where you select images to upload
Upload() - Constructor for class NTNU.IDATT1002.controllers.Upload
 
uploadBtn - Variable in class NTNU.IDATT1002.controllers.Main
 
uploadBtn - Variable in class NTNU.IDATT1002.controllers.Upload
 
uploadContainer - Variable in class NTNU.IDATT1002.controllers.UploadImages
 
UploadImages - Class in NTNU.IDATT1002.controllers
Controls the buttons and changeable elements on upload_images.fxml, a page where you add descriptions to your selected image
UploadImages() - Constructor for class NTNU.IDATT1002.controllers.UploadImages
 
User - Class in NTNU.IDATT1002.models
 
User() - Constructor for class NTNU.IDATT1002.models.User
 
User(String, String, String, String, String, String, Date) - Constructor for class NTNU.IDATT1002.models.User
 
UserHBox - Class in NTNU.IDATT1002.controllers.components.exploreAlbums
HBox for holding an albums' user.
UserHBox(User) - Constructor for class NTNU.IDATT1002.controllers.components.exploreAlbums.UserHBox
Create HBox holding given user and create a corresponding label.
Username - Variable in class NTNU.IDATT1002.controllers.Login
 
UserRepository - Class in NTNU.IDATT1002.repository
User Repository.
UserRepository(EntityManager) - Constructor for class NTNU.IDATT1002.repository.UserRepository
Set the class type to User
userService - Variable in class NTNU.IDATT1002.controllers.SignUp
 
UserService - Class in NTNU.IDATT1002.service
Works together with loginrepository and userrepository Combines authentication and connections to database through repositories
UserService(EntityManager) - Constructor for class NTNU.IDATT1002.service.UserService
Inject entity manager instance to the repositories

V

ViewAlbum - Class in NTNU.IDATT1002.controllers
Controls the buttons and changeable elements on view_album.fxml, a page where get a more detailed view of an album
ViewAlbum() - Constructor for class NTNU.IDATT1002.controllers.ViewAlbum
 
ViewImage - Class in NTNU.IDATT1002.controllers
Controls the buttons and changeable elements on view_.fxml, a page where get a more detailed view of a image
ViewImage() - Constructor for class NTNU.IDATT1002.controllers.ViewImage
 
viewOnMap(ActionEvent) - Method in class NTNU.IDATT1002.controllers.ViewAlbum
View image on the map
viewOnMapBtn - Variable in class NTNU.IDATT1002.controllers.ViewAlbum
 
A B C D E F G H I L M N O P Q R S T U V 
All Classes|All Packages