|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.abdera.protocol.server.impl.AbstractCollectionAdapter
org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<T>
org.xcmis.restatom.collections.AbstractCmisCollection<org.xcmis.spi.model.TypeDefinition>
org.xcmis.restatom.collections.CmisTypeCollection
public abstract class CmisTypeCollection
| Field Summary |
|---|
| Fields inherited from class org.xcmis.restatom.collections.AbstractCmisCollection |
|---|
ANONYMOUS, SYSTEM |
| Constructor Summary | |
|---|---|
CmisTypeCollection(org.xcmis.spi.Connection connection)
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
addEntryDetails(org.apache.abdera.protocol.server.RequestContext request,
org.apache.abdera.model.Entry entry,
org.apache.abdera.i18n.iri.IRI feedIri,
org.xcmis.spi.model.TypeDefinition type)
|
void |
deleteEntry(java.lang.String typeId,
org.apache.abdera.protocol.server.RequestContext request)
Delete entry. |
java.lang.String |
getAuthor(org.apache.abdera.protocol.server.RequestContext request)
|
org.xcmis.spi.model.TypeDefinition |
getEntry(java.lang.String typeId,
org.apache.abdera.protocol.server.RequestContext request)
|
java.lang.String |
getId(org.apache.abdera.protocol.server.RequestContext request)
|
java.lang.String |
getId(org.xcmis.spi.model.TypeDefinition entry)
|
java.lang.String |
getName(org.xcmis.spi.model.TypeDefinition entry)
|
java.lang.String |
getTitle(org.apache.abdera.protocol.server.RequestContext request)
|
java.lang.String |
getTitle(org.xcmis.spi.model.TypeDefinition entry)
|
protected java.lang.String |
getTypeChildrenLink(java.lang.String typeId,
org.apache.abdera.protocol.server.RequestContext request)
Get link to AtomPub Document that describes direct descendants type for specified type id. |
protected java.lang.String |
getTypeDescendantsLink(java.lang.String typeId,
org.apache.abdera.protocol.server.RequestContext request)
Get link to AtomPub Document that describes all descendants type for specified type id. |
java.util.Date |
getUpdated(org.xcmis.spi.model.TypeDefinition entry)
|
org.apache.abdera.protocol.server.ResponseContext |
postEntry(org.apache.abdera.protocol.server.RequestContext request)
|
| 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, addFeedDetails, addMediaContent, buildGetMediaResponse, createMediaEntry, createNonMediaEntry, deleteEntry, deleteMedia, deleteMedia, getAuthors, getContentType, getEntries, 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, createFeedBase, 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 |
|---|
public CmisTypeCollection(org.xcmis.spi.Connection connection)
| Method Detail |
|---|
public java.lang.String getAuthor(org.apache.abdera.protocol.server.RequestContext request)
throws org.apache.abdera.protocol.server.context.ResponseContextException
getAuthor in class org.apache.abdera.protocol.server.impl.AbstractCollectionAdapterorg.apache.abdera.protocol.server.context.ResponseContextException
public org.xcmis.spi.model.TypeDefinition getEntry(java.lang.String typeId,
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<org.xcmis.spi.model.TypeDefinition>org.apache.abdera.protocol.server.context.ResponseContextException
public java.lang.String getId(org.xcmis.spi.model.TypeDefinition entry)
throws org.apache.abdera.protocol.server.context.ResponseContextException
getId in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<org.xcmis.spi.model.TypeDefinition>org.apache.abdera.protocol.server.context.ResponseContextExceptionpublic java.lang.String getId(org.apache.abdera.protocol.server.RequestContext request)
getId in class org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter
public java.lang.String getName(org.xcmis.spi.model.TypeDefinition entry)
throws org.apache.abdera.protocol.server.context.ResponseContextException
getName in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<org.xcmis.spi.model.TypeDefinition>org.apache.abdera.protocol.server.context.ResponseContextException
public java.lang.String getTitle(org.xcmis.spi.model.TypeDefinition entry)
throws org.apache.abdera.protocol.server.context.ResponseContextException
getTitle in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<org.xcmis.spi.model.TypeDefinition>org.apache.abdera.protocol.server.context.ResponseContextExceptionpublic java.lang.String getTitle(org.apache.abdera.protocol.server.RequestContext request)
public java.util.Date getUpdated(org.xcmis.spi.model.TypeDefinition entry)
throws org.apache.abdera.protocol.server.context.ResponseContextException
getUpdated in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<org.xcmis.spi.model.TypeDefinition>org.apache.abdera.protocol.server.context.ResponseContextExceptionpublic org.apache.abdera.protocol.server.ResponseContext postEntry(org.apache.abdera.protocol.server.RequestContext request)
postEntry in interface org.apache.abdera.protocol.server.CollectionAdapterpostEntry in class AbstractCmisCollection<org.xcmis.spi.model.TypeDefinition>
protected java.lang.String addEntryDetails(org.apache.abdera.protocol.server.RequestContext request,
org.apache.abdera.model.Entry entry,
org.apache.abdera.i18n.iri.IRI feedIri,
org.xcmis.spi.model.TypeDefinition type)
throws org.apache.abdera.protocol.server.context.ResponseContextException
addEntryDetails in class org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter<org.xcmis.spi.model.TypeDefinition>org.apache.abdera.protocol.server.context.ResponseContextException
protected java.lang.String getTypeChildrenLink(java.lang.String typeId,
org.apache.abdera.protocol.server.RequestContext request)
id.
typeId - type idrequest - request context
id
protected java.lang.String getTypeDescendantsLink(java.lang.String typeId,
org.apache.abdera.protocol.server.RequestContext request)
id.
typeId - type idrequest - request context
id
public void deleteEntry(java.lang.String typeId,
org.apache.abdera.protocol.server.RequestContext request)
throws org.apache.abdera.protocol.server.context.ResponseContextException
deleteEntry in class AbstractCmisCollection<org.xcmis.spi.model.TypeDefinition>typeId - the type idrequest - the request
org.apache.abdera.protocol.server.context.ResponseContextException - the response context exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||