org.xcmis.restatom.collections
Class TypesChildrenCollection

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.TypeDefinition>
              extended by org.xcmis.restatom.collections.CmisTypeCollection
                  extended by org.xcmis.restatom.collections.TypesChildrenCollection
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 TypesChildrenCollection
extends CmisTypeCollection

Version:
$Id: TypesChildrenCollection.java 2487 2009-07-31 14:14:34Z andrew00x $
Author:
Andrey Parfonov

Constructor Summary
TypesChildrenCollection()
          Instantiates a new types children collection.
 
Method Summary
protected  void addFeedDetails(org.apache.abdera.model.Feed feed, org.apache.abdera.protocol.server.RequestContext request)
          
protected  org.apache.abdera.model.Feed createFeedBase(org.apache.abdera.protocol.server.RequestContext request)
          
 Iterable<org.xcmis.spi.model.TypeDefinition> 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.CmisTypeCollection
addEntryDetails, deleteEntry, getAuthor, getEntry, getId, getId, getName, getTitle, getTypeChildrenLink, getTypeDescendantsLink, getUpdated, postEntry
 
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, deleteMedia, deleteMedia, getAuthors, getContentType, getEntry, getEntryFromCollectionProvider, getFeed, getFeedIriForEntry, getLink, getLink, getMedia, getMediaName, getMediaStream, getQueryParameters, getSummary, headEntry, headMedia, isMediaEntry, postMedia, postMedia, putEntry, putMedia, putMedia
 
Methods inherited from class org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter
asCollectionElement, buildHeadEntryResponse, buildPostMediaEntryResponse, compensate, createErrorResponse, end, extensionRequest, getAccepts, getCategories, getCategoriesInfo, getEntryFromRequest, getHref, getHref, getResourceName, optionsEntry, optionsMedia, setHref, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypesChildrenCollection

public TypesChildrenCollection()
Instantiates a new types children collection.

Method Detail

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.TypeDefinition>
Throws:
org.apache.abdera.protocol.server.context.ResponseContextException

getEntries

public Iterable<org.xcmis.spi.model.TypeDefinition> 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.TypeDefinition>
Throws:
org.apache.abdera.protocol.server.context.ResponseContextException

getTitle

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

Specified by:
getTitle in interface org.apache.abdera.protocol.server.CollectionInfo
Overrides:
getTitle in class CmisTypeCollection

createFeedBase

protected org.apache.abdera.model.Feed createFeedBase(org.apache.abdera.protocol.server.RequestContext request)
                                               throws org.apache.abdera.protocol.server.context.ResponseContextException

Overrides:
createFeedBase in class org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter
Throws:
org.apache.abdera.protocol.server.context.ResponseContextException


Copyright © 2010 eXo Platform SAS. All Rights Reserved.