Class Album

    • Constructor Detail

    • Method Detail

      • getFrom

        public From 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​(From from)
        An object containing the ID and name of the profile who posted this album.
      • getDescription

        public String getDescription()
        The description of the album.
        Returns:
        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

        public Boolean 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.
      • 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.
      • getPicture

        public ProfilePictureSource 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.