public interface IEntry extends IAtom
Modifier and Type | Method and Description |
---|---|
boolean |
getCanEdit()
Returns
true if the entry can be modified by a client. |
IContent |
getContent()
Gets the content of this entry.
|
DateTime |
getEdited()
Get a
DateTime instance representing the last time this entry was
edited. |
ILink |
getEditLink()
Gets the edit link, which is the link to PUT an updated version of the
entry to.
|
ILink |
getMediaEditLink()
Gets the media-edit link, which is the link to PUT an updated version of
the media content to.
|
DateTime |
getPublished()
Get a
DateTime instance representing the time that this entry was
created. |
ILink |
getResumableEditMediaLink()
Gets the resumable-edit-media link, which is the link to PUT an updated
version of the media content to using Resumable Upload IO.
|
java.lang.String |
getSelectedFields()
Returns the set of selected fields for the entry if the entry contains a
partial representation or
null if it is a full representation. |
ITextConstruct |
getSummary()
Returns the atom:summary element of this entry.
|
void |
setCanEdit(boolean canEdit)
Sets whether the server allows this entry to be modified by the client.
|
void |
setEdited(DateTime edited)
Set the last time this entry was edited using the app:edited element.
|
void |
setPublished(DateTime published)
Sets the date of publishing for this entry.
|
void |
setSelectedFields(java.lang.String fields)
Sets the current fields selection for this partial entry.
|
addLink, getAuthors, getCategories, getEtag, getId, getKind, getLink, getLinks, getSelfLink, getTitle, getUpdated, getVersionId, removeLinks, removeLinks, setEtag, setId, setKind, setService, setUpdated, setVersionId
DateTime getEdited()
DateTime
instance representing the last time this entry was
edited. Represents the app:edited element.void setEdited(DateTime edited)
DateTime getPublished()
DateTime
instance representing the time that this entry was
created. Represents the atom:published element.void setPublished(DateTime published)
boolean getCanEdit()
true
if the entry can be modified by a client.void setCanEdit(boolean canEdit)
IContent getContent()
ITextConstruct getSummary()
ILink getEditLink()
ILink getMediaEditLink()
ILink getResumableEditMediaLink()
java.lang.String getSelectedFields()
null
if it is a full representation.void setSelectedFields(java.lang.String fields)
null
indicates the entry is not a partial entry.