Class MediaItem
java.lang.Object
org.exoplatform.social.core.activity.model.MediaItem
The Class MediaItem represent MediaItem in opensocial.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the mime type.getTags()getTitle()getType()Gets the type.getUrl()Gets the url.voidsetAlbumId(String albumId) voidsetCreated(String created) voidsetDescription(String description) voidsetDuration(String duration) voidsetFileSize(String fileSize) voidvoidsetLanguage(String language) voidsetLastUpdated(String lastUpdated) voidsetMimeType(String mimeType) Sets the mime type.voidsetNumComments(String numComments) voidsetNumViews(String numViews) voidsetNumVotes(String numVotes) voidvoidsetStartTime(String startTime) voidsetTaggedPeople(String taggedPeople) voidvoidsetThumbnailUrl(String thumbnailUrl) voidvoidsetType(MediaItem.Type type) Sets the type.voidSets the url.
-
Constructor Details
-
MediaItem
public MediaItem()
-
-
Method Details
-
getMimeType
Gets the mime type.- Returns:
- the mime type
-
setMimeType
Sets the mime type.- Parameters:
mimeType- the new mime type
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getUrl
Gets the url.- Returns:
- the url
-
setUrl
Sets the url.- Parameters:
url- the new url
-
getThumbnailUrl
-
setThumbnailUrl
-
getAlbumId
-
setAlbumId
-
getCreated
-
setCreated
-
getDescription
-
setDescription
-
getDuration
-
setDuration
-
getFileSize
-
setFileSize
-
getId
-
setId
-
getLanguage
-
setLanguage
-
getLastUpdated
-
setLastUpdated
-
getNumComments
-
setNumComments
-
getNumViews
-
setNumViews
-
getNumVotes
-
setNumVotes
-
getRating
-
setRating
-
getStartTime
-
setStartTime
-
getTaggedPeople
-
setTaggedPeople
-
getTags
-
setTags
-
getTitle
-
setTitle
-