Class Album

All Implemented Interfaces:
HasComments, HasCreatedTime, HasProfilePicture, Serializable

public class Album
extends NamedFacebookType
implements HasProfilePicture, HasComments, HasCreatedTime
Represents the Album Graph API type.
Since:
1.5
Author:
Mark Allen
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • fillPicture

      protected void fillPicture​(JsonMapper jsonMapper)
    • getFrom

      An object containing the ID and name of the profile who posted this album.
      Returns:
      An object containing the ID and name of the profile who posted this album.
    • setFrom

      public void setFrom​(CategorizedFacebookType from)
      An object containing the ID and name of the profile who posted this album.
    • getDescription

      The description of the album.
      Returns:
      The description of the album.
    • setDescription

      public void setDescription​(String description)
      The description of the album.
    • getLocation

      public String getLocation()
      The location of the album.
      Returns:
      The location of the album.
    • setLocation

      public void setLocation​(String location)
      The location of the album.
    • getLink

      public String getLink()
      A link to this album on Facebook.
      Returns:
      A link to this album on Facebook.
    • setLink

      public void setLink​(String link)
      A link to this album on Facebook.
    • getCount

      public Long getCount()
      The number of photos in this album.
      Returns:
      The number of photos in this album.
    • setCount

      public void setCount​(Long count)
      The number of photos in this album.
    • getCoverPhoto

      public Photo getCoverPhoto()
      The album cover photo ID.
      Returns:
      The album cover photo ID
    • setCoverPhoto

      public void setCoverPhoto​(Photo coverPhoto)
      The album cover photo ID.
    • getPrivacy

      public String getPrivacy()
      The privacy settings for the album.
      Returns:
      The privacy settings for the album.
    • setPrivacy

      public void setPrivacy​(String privacy)
      The privacy settings for the album.
    • getCanUpload

      Whether or not the user has permission to upload to this album.
      Returns:
      The can_upload setting for this album.
    • setCanUpload

      public void setCanUpload​(Boolean canUpload)
      Whether or not the user has permission to upload to this album.
    • getCreatedTime

      public Date getCreatedTime()
      The time the photo album was initially created.
      Specified by:
      getCreatedTime in interface HasCreatedTime
      Returns:
      The time the photo album was initially created.
    • setCreatedTime

      public void setCreatedTime​(Date createdTime)
      The time the photo album was initially created.
    • getUpdatedTime

      public Date getUpdatedTime()
      The last time the photo album was updated.
      Returns:
      The last time the photo album was updated.
    • setUpdatedTime

      public void setUpdatedTime​(Date updatedTime)
      The last time the photo album was updated.
    • getPlace

      public Place getPlace()
      The place associated with this album.
      Returns:
      The place associated with this album.
    • setPlace

      public void setPlace​(Place place)
      The place associated with this album.
    • getEvent

      public Event getEvent()
      The event associated with this album.
      Returns:
      The event associated with this album.
    • setEvent

      public void setEvent​(Event event)
      The event associated with this album.
    • getComments

      The comments for this album.
      Specified by:
      getComments in interface HasComments
      Returns:
      The comments for this album.
    • setComments

      public void setComments​(Comments comments)
      The comments for this album.
    • getPicture

      The album's picture, if provided. To force Facebook to fill the picture field you have to fetch the album with the fields=picture parameter, otherwise the picture is null.
      Specified by:
      getPicture in interface HasProfilePicture
      Returns:
      the album's picture as ProfilePictureSource object
    • setPicture

      public void setPicture​(ProfilePictureSource picture)
      The album's picture, if provided. To force Facebook to fill the picture field you have to fetch the album with the fields=picture parameter, otherwise the picture is null.
    • getLikes

      public Likes getLikes()
      People who like this.
      Returns:
      The likes on this album.
    • setLikes

      public void setLikes​(Likes likes)
      People who like this.