|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.mobile.abstraction.ContentAbstraction
public class ContentAbstraction
Constructor Summary | |
---|---|
ContentAbstraction()
|
Method Summary | |
---|---|
static java.util.HashMap |
abstractifyContentItem(com.endeca.content.ContentItem ci,
int numLinks,
AbstractionContext context)
Converts the specified content item to a form suitable for serialization. |
static java.util.ArrayList |
abstractifyContentItemList(com.endeca.content.ContentItemList list,
int numLinks,
AbstractionContext context)
Converts the specified list of content items to a form suitable for serialization. |
static java.util.ArrayList |
abstractifyDimensionList(com.endeca.navigation.DimensionList dims,
AbstractionContext context)
Converts the specified list of dimensions to a form suitable for serialization. |
static java.util.HashMap |
abstractifyMetaInfo(com.endeca.content.ene.NavigationRecords navrecs,
int numLinks,
AbstractionContext context)
Converts metadata regarding the records in a NavigationRecords object to a
form suitable for serialization. |
static java.util.HashMap |
abstractifyNavigationRecords(com.endeca.content.ene.NavigationRecords navrecs,
int numLinks,
AbstractionContext context)
Converts the specified NavigationRecords object to a form suitable for
serialization. |
static java.util.HashMap |
abstractifyProperty(com.endeca.content.Property p,
int numLinks,
AbstractionContext context)
Converts the specified property to a form suitable for serialization. |
static java.util.ArrayList |
abstractifyPropertyList(java.util.List propertyList,
int numLinks,
AbstractionContext context)
Converts the specified list of properties to a form suitable for serialization. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentAbstraction()
Method Detail |
---|
public static java.util.HashMap abstractifyContentItem(com.endeca.content.ContentItem ci, int numLinks, AbstractionContext context)
ci
- The content itemnumLinks
- The number of page links to return as metadata for any record lists
found within the given content itemcontext
- The context of the current request
public static java.util.ArrayList abstractifyContentItemList(com.endeca.content.ContentItemList list, int numLinks, AbstractionContext context)
list
- The listnumLinks
- The number of page links to return as metadata for any record lists
found within the given content itemscontext
- The context of the current request
public static java.util.ArrayList abstractifyPropertyList(java.util.List propertyList, int numLinks, AbstractionContext context)
propertyList
- The listnumLinks
- The number of page links to return as metadata for any record lists
found within the given propertiescontext
- The context of the current request
public static java.util.HashMap abstractifyProperty(com.endeca.content.Property p, int numLinks, AbstractionContext context)
p
- The propertynumLinks
- The number of page links to return as metadata for any record lists
found within the given propertycontext
- The context of the current request
public static java.util.ArrayList abstractifyDimensionList(com.endeca.navigation.DimensionList dims, AbstractionContext context)
RefinementsByGroupAbstraction
with the exception that the results of
this method do not include representations of dimension groups.
dims
- The listcontext
- The context of the current request
public static java.util.HashMap abstractifyNavigationRecords(com.endeca.content.ene.NavigationRecords navrecs, int numLinks, AbstractionContext context)
NavigationRecords
object to a form suitable for
serialization. This method produces the same sort of results as are produced by the
ResultSetMetaInfoAbstraction
and either the RecordsAbstraction
or the AggRecordsAbstraction
, as appropriate.
navrecs
- The object to convertnumLinks
- The number of page links to return as metadata for the records
contained in the objectcontext
- The context of the current request
public static java.util.HashMap abstractifyMetaInfo(com.endeca.content.ene.NavigationRecords navrecs, int numLinks, AbstractionContext context)
NavigationRecords
object to a
form suitable for serialization. This method produces the same sort of results as
are produced by the ResultSetMetaInfoAbstraction
with the exception that
this method leaves out compute time and key properties.
navrecs
- The object from which to extract the metadatanumLinks
- The number of page links to return for the objectcontext
- The context of the current request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |