| java.lang.Object |
| ↳ |
com.restfb.types.FacebookType |
| |
↳ |
com.restfb.types.NamedFacebookType |
| |
|
↳ |
org.mule.module.facebook.types.Photo |
Summary
| Nested Classes |
|
class |
Photo.Image |
Represents the Image Graph
API type. |
|
class |
Photo.Tag |
Represents the Tag Graph
API type. |
|
[Expand]
Inherited Constants |
From class
com.restfb.types.NamedFacebookType
|
From class
com.restfb.types.FacebookType
|
|
[Expand]
Inherited Fields |
From class
com.restfb.types.NamedFacebookType
|
From class
com.restfb.types.FacebookType
|
private
String |
id |
|
|
private
FacebookType.Metadata |
metadata |
|
|
private
String |
type |
|
|
| Public Constructors |
|
|
Photo()
Default constructor
|
|
|
Photo(CategorizedFacebookType from, String picture, String source, Integer height, Integer width, String link, String icon, Integer position, String createdTime, String updatedTime, List<Photo.Tag> tags, List<Comment> comments, Long likes, List<Photo.Image> images)
|
| Public Methods |
|
List<Comment>
|
getComments()
All of the comments on this photo.
|
|
Date
|
getCreatedTime()
The time the photo was initially published.
|
|
CategorizedFacebookType
|
getFrom()
An object containing the name and ID of the user who posted the photo.
|
|
Integer
|
getHeight()
The height of the photo, in pixels.
|
|
String
|
getIcon()
The icon-sized source of the photo.
|
|
List<Photo.Image>
|
getImages()
The 4 different stored representations of the photo.
|
|
Long
|
getLikes()
Users who like the photo.
|
|
String
|
getLink()
A link to the photo on Facebook.
|
|
String
|
getPicture()
The album-sized view of the photo.
|
|
Integer
|
getPosition()
The position of this photo in the album.
|
|
String
|
getSource()
The full-sized source of the photo.
|
|
List<Photo.Tag>
|
getTags()
An array containing the users and their positions in this photo.
|
|
Date
|
getUpdatedTime()
The last time the photo or its caption was updated.
|
|
Integer
|
getWidth()
The width of the photo, in pixels.
|
|
[Expand]
Inherited Methods |
From class
com.restfb.types.NamedFacebookType
|
From class
com.restfb.types.FacebookType
|
boolean
|
equals(Object arg0)
|
|
String
|
getId()
|
|
FacebookType.Metadata
|
getMetadata()
|
|
String
|
getType()
|
|
int
|
hashCode()
|
|
String
|
toString()
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Constants
private
static
final
long
serialVersionUID
Constant Value:
1
(0x0000000000000001)
Fields
private
List<Comment>
comments
private
String
createdTime
private
CategorizedFacebookType
from
private
String
updatedTime
Public Constructors
public
Photo
(CategorizedFacebookType from, String picture, String source, Integer height, Integer width, String link, String icon, Integer position, String createdTime, String updatedTime, List<Photo.Tag> tags, List<Comment> comments, Long likes, List<Photo.Image> images)
Parameters
| from
| |
| picture
| |
| source
| |
| height
| |
| width
| |
| link
| |
| icon
| |
| position
| |
| createdTime
| |
| updatedTime
| |
| tags
| |
| comments
| |
| likes
| |
| images
| |
Public Methods
public
List<Comment>
getComments
()
All of the comments on this photo.
Returns
- All of the comments on this photo.
public
Date
getCreatedTime
()
The time the photo was initially published.
Returns
- The time the photo was initially published.
public
CategorizedFacebookType
getFrom
()
An object containing the name and ID of the user who posted the photo.
Returns
- An object containing the name and ID of the user who posted the
photo.
public
Integer
getHeight
()
The height of the photo, in pixels.
Returns
- The height of the photo, in pixels.
public
String
getIcon
()
The icon-sized source of the photo.
Returns
- The icon-sized source of the photo.
public
List<Photo.Image>
getImages
()
The 4 different stored representations of the photo.
Returns
- The 4 different stored representations of the photo.
public
Long
getLikes
()
Users who like the photo.
Returns
- Users who like the photo.
public
String
getLink
()
A link to the photo on Facebook.
Returns
- A link to the photo on Facebook.
public
String
getPicture
()
The album-sized view of the photo.
Returns
- The album-sized view of the photo.
public
Integer
getPosition
()
The position of this photo in the album.
Returns
- The position of this photo in the album.
public
String
getSource
()
The full-sized source of the photo.
Returns
- The full-sized source of the photo.
public
List<Photo.Tag>
getTags
()
An array containing the users and their positions in this photo. The x and
y coordinates are percentages from the left and top edges of the photo,
respectively.
Returns
- An array containing the users and their positions in this photo.
The x and y coordinates are percentages from the left and top edges
of the photo, respectively.
public
Date
getUpdatedTime
()
The last time the photo or its caption was updated.
Returns
- The last time the photo or its caption was updated.
public
Integer
getWidth
()
The width of the photo, in pixels.
Returns
- The width of the photo, in pixels.