blob: 8c4db044913143c17a64e23f84d4adf82003f41e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Wed Sep 14 22:30:57 PDT 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
AbstractCollectionAdapter (Abdera2 Common Library 2.0-SNAPSHOT API)
</TITLE>
<META NAME="date" CONTENT="2011-09-14">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractCollectionAdapter (Abdera2 Common Library 2.0-SNAPSHOT API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractCollectionAdapter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractBaseRequestContext.html" title="class in org.apache.abdera2.common.protocol"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractMessage.html" title="class in org.apache.abdera2.common.protocol"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="AbstractCollectionAdapter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.abdera2.common.protocol</FONT>
<BR>
Class AbstractCollectionAdapter</H2>
<PRE>
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.abdera2.common.protocol.AbstractCollectionAdapter</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html" title="interface in org.apache.abdera2.common.protocol">CollectionAdapter</A>, <A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionInfo.html" title="interface in org.apache.abdera2.common.protocol">CollectionInfo</A>, <A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html" title="interface in org.apache.abdera2.common.protocol">MediaCollectionAdapter</A>, <A HREF="../../../../../org/apache/abdera2/common/protocol/Transactional.html" title="interface in org.apache.abdera2.common.protocol">Transactional</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public abstract class <B>AbstractCollectionAdapter</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html" title="interface in org.apache.abdera2.common.protocol">CollectionAdapter</A>, <A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html" title="interface in org.apache.abdera2.common.protocol">MediaCollectionAdapter</A>, <A HREF="../../../../../org/apache/abdera2/common/protocol/Transactional.html" title="interface in org.apache.abdera2.common.protocol">Transactional</A>, <A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionInfo.html" title="interface in org.apache.abdera2.common.protocol">CollectionInfo</A></DL>
</PRE>
<P>
Base CollectionAdapter implementation that provides a number of helper utility methods for adapter implementations.
<P>
<P>
<HR>
<P>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#AbstractCollectionAdapter()">AbstractCollectionAdapter</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt;
<BR>
S</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#buildHeadEntryResponse(org.apache.abdera2.common.protocol.RequestContext, java.lang.String, java.util.Date)">buildHeadEntryResponse</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;id,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;updated)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates the ResponseContext for a HEAD entry request.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#compensate(org.apache.abdera2.common.protocol.RequestContext, java.lang.Throwable)">compensate</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A>&nbsp;t)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called by the provider when a processing error occurs</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt;
<BR>
S</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#createErrorResponse(org.apache.abdera2.common.protocol.ResponseContextException)">createErrorResponse</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContextException.html" title="class in org.apache.abdera2.common.protocol">ResponseContextException</A>&nbsp;e)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a ResponseContext (or take it from the Exception) for an exception that occurred in the application.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt;
<BR>
S</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#deleteMedia(org.apache.abdera2.common.protocol.RequestContext)">deleteMedia</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Delete a media resource from the collection</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#end(org.apache.abdera2.common.protocol.RequestContext, org.apache.abdera2.common.protocol.ResponseContext)">end</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request,
<A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&nbsp;response)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called by the provider after dispatching the request to the adapter</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt;
<BR>
S</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#extensionRequest(org.apache.abdera2.common.protocol.RequestContext)">extensionRequest</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Any request that is not covered by the postEntry, deleteEntry, etc methods will be passed on to the
extensionRequest method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#getAuthor(org.apache.abdera2.common.protocol.RequestContext)">getAuthor</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#getHref()">getHref</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#getHref(org.apache.abdera2.common.protocol.RequestContext)">getHref</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the value of the app:collection element's href attribute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#getId(org.apache.abdera2.common.protocol.RequestContext)">getId</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt;
<BR>
S</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#getMedia(org.apache.abdera2.common.protocol.RequestContext)">getMedia</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a media resource</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#getResourceName(org.apache.abdera2.common.protocol.RequestContext)">getResourceName</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get's the name of the specific resource requested</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt;
<BR>
S</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#headItem(org.apache.abdera2.common.protocol.RequestContext)">headItem</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get metadata for an entry from the collection</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt;
<BR>
S</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#headMedia(org.apache.abdera2.common.protocol.RequestContext)">headMedia</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get metdata for a media resource</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt;
<BR>
S</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#optionsItem(org.apache.abdera2.common.protocol.RequestContext)">optionsItem</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get options for an entry from the collection</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt;
<BR>
S</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#optionsMedia(org.apache.abdera2.common.protocol.RequestContext)">optionsMedia</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a media resource's options.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt;
<BR>
S</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#postMedia(org.apache.abdera2.common.protocol.RequestContext)">postMedia</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a new media resource to the collection, resulting in the creation of a new Media Link Entry.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt;
<BR>
S</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#putMedia(org.apache.abdera2.common.protocol.RequestContext)">putMedia</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update a media resource</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#setHref(java.lang.String)">setHref</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;href)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html#start(org.apache.abdera2.common.protocol.RequestContext)">start</A></B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called by the provider before dispatching the request to the adapter</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.abdera2.common.protocol.CollectionAdapter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface org.apache.abdera2.common.protocol.<A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html" title="interface in org.apache.abdera2.common.protocol">CollectionAdapter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html#deleteItem(org.apache.abdera2.common.protocol.RequestContext)">deleteItem</A>, <A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html#getItem(org.apache.abdera2.common.protocol.RequestContext)">getItem</A>, <A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html#getItemList(org.apache.abdera2.common.protocol.RequestContext)">getItemList</A>, <A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html#postItem(org.apache.abdera2.common.protocol.RequestContext)">postItem</A>, <A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html#putItem(org.apache.abdera2.common.protocol.RequestContext)">putItem</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.abdera2.common.protocol.CollectionInfo"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface org.apache.abdera2.common.protocol.<A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionInfo.html" title="interface in org.apache.abdera2.common.protocol">CollectionInfo</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionInfo.html#getAccepts(org.apache.abdera2.common.protocol.RequestContext)">getAccepts</A>, <A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionInfo.html#getTitle(org.apache.abdera2.common.protocol.RequestContext)">getTitle</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="AbstractCollectionAdapter()"><!-- --></A><H3>
AbstractCollectionAdapter</H3>
<PRE>
public <B>AbstractCollectionAdapter</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getHref()"><!-- --></A><H3>
getHref</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getHref</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setHref(java.lang.String)"><!-- --></A><H3>
setHref</H3>
<PRE>
public void <B>setHref</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;href)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getHref(org.apache.abdera2.common.protocol.RequestContext)"><!-- --></A><H3>
getHref</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getHref</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionInfo.html#getHref(org.apache.abdera2.common.protocol.RequestContext)">CollectionInfo</A></CODE></B></DD>
<DD>Get the value of the app:collection element's href attribute. This must not be null
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionInfo.html#getHref(org.apache.abdera2.common.protocol.RequestContext)">getHref</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionInfo.html" title="interface in org.apache.abdera2.common.protocol">CollectionInfo</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="compensate(org.apache.abdera2.common.protocol.RequestContext, java.lang.Throwable)"><!-- --></A><H3>
compensate</H3>
<PRE>
public void <B>compensate</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A>&nbsp;t)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/Transactional.html#compensate(org.apache.abdera2.common.protocol.RequestContext, java.lang.Throwable)">Transactional</A></CODE></B></DD>
<DD>Called by the provider when a processing error occurs
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/Transactional.html#compensate(org.apache.abdera2.common.protocol.RequestContext, java.lang.Throwable)">compensate</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/Transactional.html" title="interface in org.apache.abdera2.common.protocol">Transactional</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="end(org.apache.abdera2.common.protocol.RequestContext, org.apache.abdera2.common.protocol.ResponseContext)"><!-- --></A><H3>
end</H3>
<PRE>
public void <B>end</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request,
<A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&nbsp;response)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/Transactional.html#end(org.apache.abdera2.common.protocol.RequestContext, org.apache.abdera2.common.protocol.ResponseContext)">Transactional</A></CODE></B></DD>
<DD>Called by the provider after dispatching the request to the adapter
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/Transactional.html#end(org.apache.abdera2.common.protocol.RequestContext, org.apache.abdera2.common.protocol.ResponseContext)">end</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/Transactional.html" title="interface in org.apache.abdera2.common.protocol">Transactional</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="start(org.apache.abdera2.common.protocol.RequestContext)"><!-- --></A><H3>
start</H3>
<PRE>
public void <B>start</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/Transactional.html#start(org.apache.abdera2.common.protocol.RequestContext)">Transactional</A></CODE></B></DD>
<DD>Called by the provider before dispatching the request to the adapter
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/Transactional.html#start(org.apache.abdera2.common.protocol.RequestContext)">start</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/Transactional.html" title="interface in org.apache.abdera2.common.protocol">Transactional</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="deleteMedia(org.apache.abdera2.common.protocol.RequestContext)"><!-- --></A><H3>
deleteMedia</H3>
<PRE>
public &lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt; S <B>deleteMedia</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html#deleteMedia(org.apache.abdera2.common.protocol.RequestContext)">MediaCollectionAdapter</A></CODE></B></DD>
<DD>Delete a media resource from the collection
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html#deleteMedia(org.apache.abdera2.common.protocol.RequestContext)">deleteMedia</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html" title="interface in org.apache.abdera2.common.protocol">MediaCollectionAdapter</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getMedia(org.apache.abdera2.common.protocol.RequestContext)"><!-- --></A><H3>
getMedia</H3>
<PRE>
public &lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt; S <B>getMedia</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html#getMedia(org.apache.abdera2.common.protocol.RequestContext)">MediaCollectionAdapter</A></CODE></B></DD>
<DD>Get a media resource
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html#getMedia(org.apache.abdera2.common.protocol.RequestContext)">getMedia</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html" title="interface in org.apache.abdera2.common.protocol">MediaCollectionAdapter</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="headMedia(org.apache.abdera2.common.protocol.RequestContext)"><!-- --></A><H3>
headMedia</H3>
<PRE>
public &lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt; S <B>headMedia</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html#headMedia(org.apache.abdera2.common.protocol.RequestContext)">MediaCollectionAdapter</A></CODE></B></DD>
<DD>Get metdata for a media resource
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html#headMedia(org.apache.abdera2.common.protocol.RequestContext)">headMedia</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html" title="interface in org.apache.abdera2.common.protocol">MediaCollectionAdapter</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="optionsMedia(org.apache.abdera2.common.protocol.RequestContext)"><!-- --></A><H3>
optionsMedia</H3>
<PRE>
public &lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt; S <B>optionsMedia</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html#optionsMedia(org.apache.abdera2.common.protocol.RequestContext)">MediaCollectionAdapter</A></CODE></B></DD>
<DD>Get a media resource's options.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html#optionsMedia(org.apache.abdera2.common.protocol.RequestContext)">optionsMedia</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html" title="interface in org.apache.abdera2.common.protocol">MediaCollectionAdapter</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="putMedia(org.apache.abdera2.common.protocol.RequestContext)"><!-- --></A><H3>
putMedia</H3>
<PRE>
public &lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt; S <B>putMedia</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html#putMedia(org.apache.abdera2.common.protocol.RequestContext)">MediaCollectionAdapter</A></CODE></B></DD>
<DD>Update a media resource
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html#putMedia(org.apache.abdera2.common.protocol.RequestContext)">putMedia</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html" title="interface in org.apache.abdera2.common.protocol">MediaCollectionAdapter</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="postMedia(org.apache.abdera2.common.protocol.RequestContext)"><!-- --></A><H3>
postMedia</H3>
<PRE>
public &lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt; S <B>postMedia</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html#postMedia(org.apache.abdera2.common.protocol.RequestContext)">MediaCollectionAdapter</A></CODE></B></DD>
<DD>Add a new media resource to the collection, resulting in the creation of a new Media Link Entry.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html#postMedia(org.apache.abdera2.common.protocol.RequestContext)">postMedia</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/MediaCollectionAdapter.html" title="interface in org.apache.abdera2.common.protocol">MediaCollectionAdapter</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="headItem(org.apache.abdera2.common.protocol.RequestContext)"><!-- --></A><H3>
headItem</H3>
<PRE>
public &lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt; S <B>headItem</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html#headItem(org.apache.abdera2.common.protocol.RequestContext)">CollectionAdapter</A></CODE></B></DD>
<DD>Get metadata for an entry from the collection
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html#headItem(org.apache.abdera2.common.protocol.RequestContext)">headItem</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html" title="interface in org.apache.abdera2.common.protocol">CollectionAdapter</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="optionsItem(org.apache.abdera2.common.protocol.RequestContext)"><!-- --></A><H3>
optionsItem</H3>
<PRE>
public &lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt; S <B>optionsItem</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html#optionsItem(org.apache.abdera2.common.protocol.RequestContext)">CollectionAdapter</A></CODE></B></DD>
<DD>Get options for an entry from the collection
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html#optionsItem(org.apache.abdera2.common.protocol.RequestContext)">optionsItem</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html" title="interface in org.apache.abdera2.common.protocol">CollectionAdapter</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getAuthor(org.apache.abdera2.common.protocol.RequestContext)"><!-- --></A><H3>
getAuthor</H3>
<PRE>
public abstract <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getAuthor</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)
throws <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContextException.html" title="class in org.apache.abdera2.common.protocol">ResponseContextException</A></PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContextException.html" title="class in org.apache.abdera2.common.protocol">ResponseContextException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getId(org.apache.abdera2.common.protocol.RequestContext)"><!-- --></A><H3>
getId</H3>
<PRE>
public abstract <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getId</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="buildHeadEntryResponse(org.apache.abdera2.common.protocol.RequestContext, java.lang.String, java.util.Date)"><!-- --></A><H3>
buildHeadEntryResponse</H3>
<PRE>
protected &lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt; S <B>buildHeadEntryResponse</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;id,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;updated)
throws <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContextException.html" title="class in org.apache.abdera2.common.protocol">ResponseContextException</A></PRE>
<DL>
<DD>Creates the ResponseContext for a HEAD entry request. By default, an EmptyResponseContext is returned. The Etag
header will be set.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContextException.html" title="class in org.apache.abdera2.common.protocol">ResponseContextException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="createErrorResponse(org.apache.abdera2.common.protocol.ResponseContextException)"><!-- --></A><H3>
createErrorResponse</H3>
<PRE>
protected &lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt; S <B>createErrorResponse</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContextException.html" title="class in org.apache.abdera2.common.protocol">ResponseContextException</A>&nbsp;e)</PRE>
<DL>
<DD>Create a ResponseContext (or take it from the Exception) for an exception that occurred in the application.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> -
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="getResourceName(org.apache.abdera2.common.protocol.RequestContext)"><!-- --></A><H3>
getResourceName</H3>
<PRE>
protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getResourceName</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</PRE>
<DL>
<DD>Get's the name of the specific resource requested
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="extensionRequest(org.apache.abdera2.common.protocol.RequestContext)"><!-- --></A><H3>
extensionRequest</H3>
<PRE>
public &lt;S extends <A HREF="../../../../../org/apache/abdera2/common/protocol/ResponseContext.html" title="interface in org.apache.abdera2.common.protocol">ResponseContext</A>&gt; S <B>extensionRequest</B>(<A HREF="../../../../../org/apache/abdera2/common/protocol/RequestContext.html" title="interface in org.apache.abdera2.common.protocol">RequestContext</A>&nbsp;request)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html#extensionRequest(org.apache.abdera2.common.protocol.RequestContext)">CollectionAdapter</A></CODE></B></DD>
<DD>Any request that is not covered by the postEntry, deleteEntry, etc methods will be passed on to the
extensionRequest method. This provides an Adapter with the ability to support Atompub protocol extensions.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html#extensionRequest(org.apache.abdera2.common.protocol.RequestContext)">extensionRequest</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/abdera2/common/protocol/CollectionAdapter.html" title="interface in org.apache.abdera2.common.protocol">CollectionAdapter</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractCollectionAdapter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractBaseRequestContext.html" title="class in org.apache.abdera2.common.protocol"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/abdera2/common/protocol/AbstractMessage.html" title="class in org.apache.abdera2.common.protocol"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/abdera2/common/protocol/AbstractCollectionAdapter.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="AbstractCollectionAdapter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2006-2011 <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>