org.xcmis.restatom.collections
Class RelationshipsCollection

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.RelationshipsCollection
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 RelationshipsCollection
extends CmisObjectCollection

Version:
$Id: RelationshipsCollection.java 2722 2009-08-18 16:25:52Z 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
RelationshipsCollection(org.xcmis.spi.Connection connection)
           
 
Method Summary
protected  void addFeedDetails(org.apache.abdera.model.Feed feed, org.apache.abdera.protocol.server.RequestContext request)
          
 Iterable<org.xcmis.spi.model.CmisObject> getEntries(org.apache.abdera.protocol.server.RequestContext request)
          
 String getTitle(org.apache.abdera.protocol.server.RequestContext request)
          
 org.apache.abdera.protocol.server.ResponseContext postEntry(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, 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

RelationshipsCollection

public RelationshipsCollection(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)


postEntry

public org.apache.abdera.protocol.server.ResponseContext postEntry(org.apache.abdera.protocol.server.RequestContext request)

Specified by:
postEntry in interface org.apache.abdera.protocol.server.CollectionAdapter
Overrides:
postEntry in class AbstractCmisCollection<org.xcmis.spi.model.CmisObject>

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

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


Copyright © 2011 eXo Platform SAS. All Rights Reserved.