Interface CollectionInfo
-
- All Known Subinterfaces:
MultipartRelatedCollectionInfo
- All Known Implementing Classes:
AbstractCollectionAdapter,AbstractEntityCollectionAdapter,AbstractMultipartCollectionAdapter,BasicAdapter,FeedConfiguration,ManagedCollectionAdapter,SimpleCollectionInfo
@Deprecated public interface CollectionInfo
Deprecated.Legacy AEM 6.x API.Metadata interface used by WorkspaceManager and Provider implementations to construct Atompub Service Documents. The CollectionInfo interface provides information used to construct an app:collection element
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description org.apache.abdera.model.CollectionasCollectionElement(RequestContext request)Deprecated.Converts this to an instance of the FOM Collection interfaceString[]getAccepts(RequestContext request)Deprecated.Returns an array of MIME media types for the app:collection element's app:accept elements.CategoriesInfo[]getCategoriesInfo(RequestContext request)Deprecated.Return the collection of CategoriesInfo objects for the app:collection element's app:categories elements.StringgetHref(RequestContext request)Deprecated.Get the value of the app:collection element's href attribute.StringgetTitle(RequestContext request)Deprecated.Get the value of the app:collection element's atom:title element.
-
-
-
Method Detail
-
getHref
String getHref(RequestContext request)
Deprecated.Get the value of the app:collection element's href attribute. This must not be null
-
getTitle
String getTitle(RequestContext request)
Deprecated.Get the value of the app:collection element's atom:title element. This assumes that the title will be type="text". This must not be null;
-
getAccepts
String[] getAccepts(RequestContext request)
Deprecated.Returns an array of MIME media types for the app:collection element's app:accept elements. These tell a client which media types the collection will accept on a POST
-
getCategoriesInfo
CategoriesInfo[] getCategoriesInfo(RequestContext request)
Deprecated.Return the collection of CategoriesInfo objects for the app:collection element's app:categories elements. These tell a client which atom:category elements are defined for use in the collections atom:entries
-
asCollectionElement
org.apache.abdera.model.Collection asCollectionElement(RequestContext request)
Deprecated.Converts this to an instance of the FOM Collection interface
-
-