Modifier and Type | Class and Description |
---|---|
class |
GenericObject
A GenericObject is capable of representing any discrete event, object, piece of data/meta-data to be called ina RESTful and Stateless transaction.
|
Modifier and Type | Class and Description |
---|---|
class |
Comment
Comment
A {Topic + id} should be unique |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHierarchyDaoImpl<T extends IHierarchialReference>
Some common work horse
IHierarchialReference domain related common DAO method helpers |
interface |
HierarchyService<T extends IHierarchialReference>
Common service / DAO methods that are needed by Hierarchy implementations for Domain objects that
implement
IHierarchialReference
Since this implements ChangeGenerator ; it will also generate Events of TypeEvent Type as String} Hierarchical Entity OR Id of the Entity as Long |
Modifier and Type | Method and Description |
---|---|
static IHierarchialReference |
HierarchyHelper.getParent(Long parentId,
List hierarchy)
Do a DFS on the List-Tree and find the matching parent.
TODO: consider replace with method in DAO that will fetch this data directly? For Small trees this is fine, but for large data sets Tree traversal maybe more expensive than a database call. |
Modifier and Type | Method and Description |
---|---|
void |
HierarchyService.convert(IHierarchialReference entity,
Class to)
If we wish to transform an entity type we should perform the transformation and then the update.
|
void |
AbstractHierarchyDaoImpl.convert(IHierarchialReference entity,
Class to)
If we wish to transform an entity type we should perform the transformation and then the update.
|
Modifier and Type | Method and Description |
---|---|
void |
HierarchyContentSource.convert(IHierarchialReference entity,
Class to) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractContent<CA extends AbstractContentAttribute,CF extends AbstractContentFacet> |
class |
ContentDescriber
Describes Content and is identified by a unique identifier.
|
Modifier and Type | Method and Description |
---|---|
void |
ContentServiceImpl.convert(IHierarchialReference entity,
Class to)
Deprecated.
|
void |
GenericHierarchyContentServiceImpl.convert(IHierarchialReference entity,
Class to) |
Modifier and Type | Class and Description |
---|---|
class |
HierarchialDomainObject
A
MappedSuperclass implementation of IHierarchialReference objects. |
class |
HierarchialDomainObjectWithAttributes<E extends HierarchialDomainObjectWithAttributes,EA extends EntityAttribute<E>>
A generic
HierarchialDomainObject with EntityAttribute s |
Modifier and Type | Class and Description |
---|---|
class |
CartItem<T>
Item within the
Cart . |
Modifier and Type | Interface and Description |
---|---|
interface |
AreaType |
Modifier and Type | Class and Description |
---|---|
class |
AbstractArea |
class |
Area
Details about Area's; around payment & Shipping to them
|
class |
Region |
Modifier and Type | Class and Description |
---|---|
class |
SubOrder<O extends Order<I>,I extends OrderItem>
Special case of a
RelatedOrder that tracks its own SubOrder.partialAmount and SubOrder.previous and SubOrder.next .A SubOrder shares the same OrderItem of its RelatedOrder.getRoot() by overriding SubOrder.getItems() . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCategoryLookup<T extends IHierarchialReference>
Lookup a Category to get Category
IHierarchialReference by using any unique field in itThe AbstractCategoryLookup.transform(Object) accepts a value (some unique key), from which the parent object can be derived
This classs does not perform caching, rely on the class extending it to provide any caching ability |
class |
DefaultHierarchyLookupService<T extends IHierarchialReference,L extends AbstractCategoryLookup<T>> |
Modifier and Type | Class and Description |
---|---|
class |
CustomAutoNav<T extends IHierarchialReference>
A
HierarchyTypeAutoNav for ContentDescriptor
Accept any Query that produces a result set that Looks like the following, where NAME uniquely identifies the Tuple: TUPLE1: <Name1>,<Display Name 1>,<Parent Category Id/Name 1> TUPLE2: <Name2>,<Display Name 2>,<Parent Category Id/Name 2> TUPLE3: <Name3>,<Display Name 3>,<Parent Category Id/Name 3> etc.. |
class |
HierarchicalPageNavigableTransformer<T extends IHierarchialReference>
Takes a
HierarchialDomainObject or Object[name,hierarchy,...] or String[name,hierarchy,...] and determines if it should be Navigable or not
HierarchicalPageNavigableTransformer.levelMap specific Where each level will point to. |
class |
HierarchicalPagePathTransformer<T extends IHierarchialReference>
Takes a
HierarchialDomainObject or Object[name,hierarchy,...] or String[name,hierarchy,...] and gives a corresponding Path as output
HierarchicalPagePathTransformer.levelpathMap specific Where each level will point to. |
class |
HierarchyTypeAutoNav<T extends IHierarchialReference>
This service automatically converts all
IHierarchialReference hierarchy into MenuItem & AuthorizableMenuItem s and
insert/appends them to the menu & pageMenuMap (see navigation.xml) (Which page Item refers to which menu Item to determine current focused page/item). |
Modifier and Type | Class and Description |
---|---|
static class |
CustomAutoNav.CustomHierarchicalReference
Note: Menu
MenuItem.name s are case insensitive while comparing. |
Modifier and Type | Method and Description |
---|---|
static <T extends IHierarchialReference<I>,I> |
ModuleHelpers.hierarchyFilter(List<T> list,
boolean loadLeaves)
From a flat list creates a List of List
IHierarchialReference s (as nodes). |
Modifier and Type | Class and Description |
---|---|
class |
Organization
Represent any Organization (entity)
|
Modifier and Type | Class and Description |
---|---|
class |
Post
Blog Post
|
Modifier and Type | Method and Description |
---|---|
void |
ProductDao.convert(IHierarchialReference entity,
Class to)
If we wish to transform an entity type we should perform the transformation and then the update.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IProductReference
Ensure
Product & ProductReference have a common interface |
Modifier and Type | Class and Description |
---|---|
class |
Product
Master Object for
Product An entity with a default Inheritance.strategy() as InheritanceType.SINGLE_TABLE and a default DiscriminatorValue default |
class |
ProductReference
A light weight Object that would be used to pass back n forth the UI (specially in AJAX),
to allow passing a complete reference of the Product (without other details).
|
Modifier and Type | Method and Description |
---|---|
void |
ProductServiceImpl.convert(IHierarchialReference entity,
Class to) |
protected org.apache.lucene.facet.params.FacetSearchParams |
ProductIndexSearch.deriveFacetParams(IHierarchialReference... categories)
TODO: Add unit Test case.
|
protected org.apache.lucene.facet.search.FacetRequest |
ProductIndexSearch.deriveFacetRequest(IHierarchialReference category)
By default this method will use the
getHierarchy() code
to derive all the paths; hence its important each time any change in Hierarchy a Re-Index is done.
The strategy to create/derive the CategoryPath s should match DefaultHierarchyBasedCategoryBuilder.getCategoryPaths(java.util.List<H>)
TODO: Needs to be reviewed and upgraded |
Page<P> |
ProductIndexSearch.search(PageInfo pageInfo,
com.neurosys.spider.domain.SearchParams searchParams,
IHierarchialReference... categories) |
List<P> |
ProductIndexSearch.search(com.neurosys.spider.domain.SearchParams searchParams,
IHierarchialReference... categories) |
int |
ProductIndexSearch.searchResultSize(com.neurosys.spider.domain.SearchParams searchParams,
IHierarchialReference... categories) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractReference
Use a reference for the following reasons:
Light graph relations that support multiple
AbstractReference.getRelated() relations
Entities that do not want to carry contextual relation with them. |
class |
ActivityRef
Reference to an event or activity that has a physical or meta-physical presence. |
class |
AffiliateRef
This represents
Reference to an Affiliate org, or person |
class |
DataRef
Reference to Some data. |
class |
DesignationRef
This represents add the
DesignationRef s PersonRef s may have |
class |
OrganizationRef
This represents a
Reference to an Organization |
class |
PersonOrgRef
This represents references that can be a
PersonRef or an OrganizationRef . |
class |
PersonRef
This represents all people that we maintain ref-integrity with other entities.
A Reference to a PersonRef can have Reference.getParent() as OrganizationRef and Reference.getRelated() as DesignationRef |
class |
PlaceRef
Reference to a place , venue etc. |
class |
PointRef
Represents the
Reference of a PlaceRef with GeoLocation
of any Place.WARN : A PointRef should not have the same reference name as any order place |
class |
Reference |
class |
ThingRef
Reference to Some thing. |
Modifier and Type | Class and Description |
---|---|
class |
RelationLinksBuilder<H extends IHierarchialReference>
A
WebMarkupContainer that allows one to specify a bunch of Objects (typically Relations)
and display them as Link s in a delimited fashion. |
Modifier and Type | Class and Description |
---|---|
class |
HierarchyMultiParentBuilder<H extends IHierarchialReference> |
Modifier and Type | Method and Description |
---|---|
static <T extends IHierarchialReference<I>,I> |
HierarichicalUtils.constructTree(List<T> flatList,
Comparator<T> comparator,
T filterParent)
Construct a Tree of type List{children of type T |
child node is either a SubTree of type Tree or node T; first node represents the parent node in the sub-tree}
|
static <T extends IHierarchialReference<I>,I> |
HierarichicalUtils.fixBrokenTree(List<T> flatList)
Some nodes immediate parents may not be in data; but their ancestors maybe.
A break in immediate parent can cause issue; so if we are aware it can happen allow a way for a child to refer to its nearest ancestor as a parent. |
Copyright © 2018. All rights reserved.