org.xcmis.restatom.collections
Class ParentsCollection

java.lang.Object
  extended by org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter
      extended by org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<T>
          extended by org.xcmis.restatom.collections.AbstractCmisCollection<org.xcmis.spi.model.CmisObject>
              extended by org.xcmis.restatom.collections.CmisObjectCollection
                  extended by org.xcmis.restatom.collections.ParentsCollection
All Implemented Interfaces:
org.apache.abdera.protocol.server.CollectionAdapter, org.apache.abdera.protocol.server.CollectionInfo, org.apache.abdera.protocol.server.MediaCollectionAdapter, org.apache.abdera.protocol.server.Transactional

public class ParentsCollection
extends CmisObjectCollection

Version:
$Id: ParentsCollection.java 216 2010-02-12 17:19:50Z andrew00x $
Author:
Andrey Parfonov

Field Summary
 
Fields inherited from class org.xcmis.restatom.collections.CmisObjectCollection
SPACES_AIR_SPECIFIC_REFERER
 
Fields inherited from class org.xcmis.restatom.collections.AbstractCmisCollection
ANONYMOUS, SYSTEM
 
Constructor Summary
ParentsCollection(org.xcmis.spi.Connection connection)
           
 
Method Summary
protected  void addFeedDetails(org.apache.abdera.model.Feed feed, org.apache.abdera.protocol.server.RequestContext request)
          Adds the feed details.
 Iterable<org.xcmis.spi.model.CmisObject> getEntries(org.apache.abdera.protocol.server.RequestContext request)
          
 String getTitle(org.apache.abdera.protocol.server.RequestContext request)
          
 
Methods inherited from class org.xcmis.restatom.collections.CmisObjectCollection
addEntryDetails, convertMimeType, createFeedBase, deleteEntry, deleteMedia, deleteMedia, getACLLink, getAllowableActionsLink, getAllVersionsLink, getAuthor, getAuthors, getBaseObjectType, getBaseRenditionHref, getChildrenLink, getContentLink, getContentStream, getContentType, getCreationDate, getDescendantsLink, getEntry, getFolderTreeLink, getId, getId, getLastModificationDate, getMedia, getName, getObjectLink, getParentsLink, getPoliciesLink, getProperty, getRelationshipsLink, getResourceName, getSelfLink, getStreamId, getTitle, getUpdated, putEntry, putMedia, putMedia, updatePropertiesFromEntry
 
Methods inherited from class org.xcmis.restatom.collections.AbstractCmisCollection
addPageLinks, buildCreateEntryResponse, buildGetEntryResponse, buildGetFeedResponse, createErrorResponse, createErrorResponse, getBooleanParameter, getConnection, getContent, getIntegerParameter, getObjectTypeLink, getRepositoryId, getServiceLink, postEntry, postEntry, putEntry
 
Methods inherited from class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter
addContent, addMediaContent, buildGetMediaResponse, createMediaEntry, createNonMediaEntry, deleteEntry, getEntry, getEntryFromCollectionProvider, getFeed, getFeedIriForEntry, getLink, getLink, getMediaName, getMediaStream, getQueryParameters, getSummary, headEntry, headMedia, isMediaEntry, postMedia, postMedia
 
Methods inherited from class org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter
asCollectionElement, buildHeadEntryResponse, buildPostMediaEntryResponse, compensate, createErrorResponse, end, extensionRequest, getAccepts, getCategories, getCategoriesInfo, getEntryFromRequest, getHref, getHref, optionsEntry, optionsMedia, setHref, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParentsCollection

public ParentsCollection(org.xcmis.spi.Connection connection)
Method Detail

getEntries

public Iterable<org.xcmis.spi.model.CmisObject> getEntries(org.apache.abdera.protocol.server.RequestContext request)
                                                    throws org.apache.abdera.protocol.server.context.ResponseContextException

Specified by:
getEntries in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<org.xcmis.spi.model.CmisObject>
Throws:
org.apache.abdera.protocol.server.context.ResponseContextException

getTitle

public String getTitle(org.apache.abdera.protocol.server.RequestContext request)


addFeedDetails

protected void addFeedDetails(org.apache.abdera.model.Feed feed,
                              org.apache.abdera.protocol.server.RequestContext request)
                       throws org.apache.abdera.protocol.server.context.ResponseContextException
Adds the feed details.

Overrides:
addFeedDetails in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<org.xcmis.spi.model.CmisObject>
Parameters:
feed - the feed
request - the request
Throws:
org.apache.abdera.protocol.server.context.ResponseContextException - the response context exception


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.