@Deprecated public class ClientEntry extends Entry
Modifier and Type | Field and Description |
---|---|
protected boolean |
partial
Deprecated.
|
Constructor and Description |
---|
ClientEntry(ClientAtomService service,
ClientCollection collection)
Deprecated.
|
ClientEntry(ClientAtomService service,
ClientCollection collection,
Entry entry,
boolean partial)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
Determines if entries are equal based on edit URI.
|
Content |
getContent()
Deprecated.
Convenience method to get first content object in content collection.
|
String |
getEditURI()
Deprecated.
Get the URI that can be used to edit the entry via HTTP PUT or DELETE.
|
void |
remove()
Deprecated.
Remove entry from server.
|
void |
setContent(Content c)
Deprecated.
Convenience method to set first content object in content collection.
|
void |
setContent(String contentString,
String type)
Deprecated.
Set content of entry.
|
void |
setCreated(Date d)
Deprecated.
Sets the entry created date (Atom 0.3 only)
|
void |
update()
Deprecated.
Update entry by posting new representation of entry to server.
|
clone, findRelatedLink, getAlternateLinks, getAuthors, getCategories, getContents, getContributors, getCreated, getForeignMarkup, getId, getIssued, getModified, getModule, getModules, getOtherLinks, getPublished, getRights, getSource, getSummary, getTitle, getTitleEx, getUpdated, getXmlBase, hashCode, isMediaEntry, setAlternateLinks, setAuthors, setCategories, setContents, setContributors, setForeignMarkup, setId, setIssued, setModified, setModules, setOtherLinks, setPublished, setRights, setSource, setSummary, setTitle, setTitleEx, setUpdated, setXmlBase, toString
public ClientEntry(ClientAtomService service, ClientCollection collection)
public ClientEntry(ClientAtomService service, ClientCollection collection, Entry entry, boolean partial) throws ProponoException
ProponoException
public void setContent(String contentString, String type)
contentString
- content string.type
- Must be "text" for plain text, "html" for escaped HTML, "xhtml" for XHTML or a
valid MIME content-type.public void setContent(Content c)
public Content getContent()
public boolean equals(Object o)
public void update() throws ProponoException
getEntry()
methods in com.rometools.rome.propono.atom.common.Collection
or com.rometools.rome.propono.atom.common.AtomService
.ProponoException
- If entry is a "partial" entry.public void remove() throws ProponoException
ProponoException
public String getEditURI()
public void setCreated(Date d)
Entry
setCreated
in class Entry
d
- the entry created date, null if none.Copyright © 2023. All rights reserved.