public class CustomerAdapter extends org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<Customer>
Constructor and Description |
---|
CustomerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
deleteEntry(String resourceName,
org.apache.abdera.protocol.server.RequestContext request) |
String |
getAuthor(org.apache.abdera.protocol.server.RequestContext request) |
List<org.apache.abdera.model.Person> |
getAuthors(Customer entry,
org.apache.abdera.protocol.server.RequestContext request) |
org.apache.abdera.protocol.server.ResponseContext |
getCategories(org.apache.abdera.protocol.server.RequestContext request) |
Object |
getContent(Customer entry,
org.apache.abdera.protocol.server.RequestContext request) |
Iterable<Customer> |
getEntries(org.apache.abdera.protocol.server.RequestContext request) |
Customer |
getEntry(String resourceName,
org.apache.abdera.protocol.server.RequestContext request) |
Customer |
getEntryFromId(String id,
org.apache.abdera.protocol.server.RequestContext request) |
String |
getId(Customer entry) |
String |
getId(org.apache.abdera.protocol.server.RequestContext request) |
String |
getName(Customer entry) |
String |
getTitle(Customer entry) |
String |
getTitle(org.apache.abdera.protocol.server.RequestContext request) |
Date |
getUpdated(Customer entry) |
Customer |
postEntry(String title,
org.apache.abdera.i18n.iri.IRI id,
String summary,
Date updated,
List<org.apache.abdera.model.Person> authors,
org.apache.abdera.model.Content content,
org.apache.abdera.protocol.server.RequestContext request) |
void |
putEntry(Customer entry,
String title,
Date updated,
List<org.apache.abdera.model.Person> authors,
String summary,
org.apache.abdera.model.Content content,
org.apache.abdera.protocol.server.RequestContext request) |
addContent, addEntryDetails, addFeedDetails, addMediaContent, buildGetMediaResponse, createMediaEntry, createNonMediaEntry, deleteEntry, deleteMedia, deleteMedia, getContentType, getEntry, getEntryFromCollectionProvider, getFeed, getFeedIriForEntry, getLink, getLink, getMedia, getMediaName, getMediaStream, getQueryParameters, getSummary, headEntry, headMedia, isMediaEntry, postEntry, postMedia, postMedia, putEntry, putMedia, putMedia
asCollectionElement, buildCreateEntryResponse, buildGetEntryResponse, buildGetFeedResponse, buildHeadEntryResponse, buildPostMediaEntryResponse, compensate, createErrorResponse, createFeedBase, end, extensionRequest, getAccepts, getCategoriesInfo, getEntryFromRequest, getHref, getHref, getResourceName, optionsEntry, optionsMedia, setHref, start
public String getId(org.apache.abdera.protocol.server.RequestContext request)
getId
in class org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter
public org.apache.abdera.protocol.server.ResponseContext getCategories(org.apache.abdera.protocol.server.RequestContext request)
getCategories
in interface org.apache.abdera.protocol.server.CollectionAdapter
getCategories
in class org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter
public Customer postEntry(String title, org.apache.abdera.i18n.iri.IRI id, String summary, Date updated, List<org.apache.abdera.model.Person> authors, org.apache.abdera.model.Content content, org.apache.abdera.protocol.server.RequestContext request) throws org.apache.abdera.protocol.server.context.ResponseContextException
postEntry
in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<Customer>
org.apache.abdera.protocol.server.context.ResponseContextException
public void deleteEntry(String resourceName, org.apache.abdera.protocol.server.RequestContext request) throws org.apache.abdera.protocol.server.context.ResponseContextException
deleteEntry
in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<Customer>
org.apache.abdera.protocol.server.context.ResponseContextException
public String getAuthor(org.apache.abdera.protocol.server.RequestContext request)
getAuthor
in class org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter
public List<org.apache.abdera.model.Person> getAuthors(Customer entry, org.apache.abdera.protocol.server.RequestContext request) throws org.apache.abdera.protocol.server.context.ResponseContextException
getAuthors
in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<Customer>
org.apache.abdera.protocol.server.context.ResponseContextException
public Object getContent(Customer entry, org.apache.abdera.protocol.server.RequestContext request)
getContent
in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<Customer>
public Iterable<Customer> getEntries(org.apache.abdera.protocol.server.RequestContext request)
getEntries
in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<Customer>
public Customer getEntry(String resourceName, org.apache.abdera.protocol.server.RequestContext request) throws org.apache.abdera.protocol.server.context.ResponseContextException
getEntry
in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<Customer>
org.apache.abdera.protocol.server.context.ResponseContextException
public Customer getEntryFromId(String id, org.apache.abdera.protocol.server.RequestContext request)
public String getId(Customer entry)
getId
in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<Customer>
public String getName(Customer entry)
getName
in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<Customer>
public String getTitle(org.apache.abdera.protocol.server.RequestContext request)
public String getTitle(Customer entry)
getTitle
in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<Customer>
public Date getUpdated(Customer entry)
getUpdated
in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<Customer>
public void putEntry(Customer entry, String title, Date updated, List<org.apache.abdera.model.Person> authors, String summary, org.apache.abdera.model.Content content, org.apache.abdera.protocol.server.RequestContext request) throws org.apache.abdera.protocol.server.context.ResponseContextException
putEntry
in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<Customer>
org.apache.abdera.protocol.server.context.ResponseContextException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.