Uses of Class
NTNU.IDATT1002.models.Tag
| Package | Description |
|---|---|
| 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 Tag in NTNU.IDATT1002.controllers.components.exploreAlbums
Constructor parameters in NTNU.IDATT1002.controllers.components.exploreAlbums with type arguments of type Tag Constructor Description TagsHBox(java.util.List<Tag> tags)Create HBox holding given tags and crete corresponding label. -
Uses of Tag in NTNU.IDATT1002.models
Methods in NTNU.IDATT1002.models that return types with arguments of type Tag Modifier and Type Method Description java.util.List<Tag>Album. getTags()java.util.List<Tag>Image. getTags()Methods in NTNU.IDATT1002.models with parameters of type Tag Modifier and Type Method Description voidImage. addTag(Tag tag)Method parameters in NTNU.IDATT1002.models with type arguments of type Tag Modifier and Type Method Description voidImage. addTags(java.util.ArrayList<Tag> tags)voidAlbum. setTags(java.util.List<Tag> tags)Constructors in NTNU.IDATT1002.models with parameters of type Tag Constructor Description Tag(Tag tag)Constructor thar takes in a tag object -
Uses of Tag in NTNU.IDATT1002.repository
Methods in NTNU.IDATT1002.repository that return Tag Modifier and Type Method Description TagTagRepository. findOrCreate(Tag tag)Retrieves a tag if found and creates it if not.Methods in NTNU.IDATT1002.repository with parameters of type Tag Modifier and Type Method Description TagTagRepository. findOrCreate(Tag tag)Retrieves a tag if found and creates it if not. -
Uses of Tag in NTNU.IDATT1002.service
Methods in NTNU.IDATT1002.service that return Tag Modifier and Type Method Description TagTagService. getSingleTag(Tag tag)Retrieve given tag.Methods in NTNU.IDATT1002.service that return types with arguments of type Tag Modifier and Type Method Description java.util.List<Tag>TagService. getOrCreateTags(java.util.List<Tag> tags)Gets or creates given tags in given list.static java.util.List<Tag>TagService. getTagsFromString(java.lang.String tagsAsString)Retrieves tags from text field and converts them to a list of tag objects.Methods in NTNU.IDATT1002.service with parameters of type Tag Modifier and Type Method Description TagTagService. getSingleTag(Tag tag)Retrieve given tag.Method parameters in NTNU.IDATT1002.service with type arguments of type Tag Modifier and Type Method Description 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.java.util.Optional<Image>ImageService. createImage(User user, java.io.File file, java.util.List<Tag> tags, java.lang.String title)Creates a new image from the input File Sets metadata to image by usingMetaDataExtractorSets a blob of image by usingImageUtilFinally sets user, path, title and tags to imagejava.util.List<Tag>TagService. getOrCreateTags(java.util.List<Tag> tags)Gets or creates given tags in given list.static java.lang.StringTagService. getTagsAsString(java.util.List<Tag> tags)Retrieves tags from list of tags and converts them to a concatenated string.