Package | Description |
---|---|
org.josef.demo.jpa |
Demo of Java Persistence API (JPA).
|
org.josef.ejb |
Enterprise Java Bean Components.
|
org.josef.ejb.crud |
CRUD Service Component.
|
org.josef.jpa |
JPA (Java Persistence API) related classes.
|
org.josef.jpa.audit |
JPA Audit Trail classes.
|
org.josef.web.jsf.bean.crud |
Java Server Faces Managed Beans that provide CRUD functionality.
|
org.josef.web.jsf.util |
Java Server Faces Utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
Car
Car entity.
|
class |
CarDetail
CarDetail entity which has a one to one relation with
Car . |
class |
Element
Element entity.
|
class |
HtmlTag
Html Tag Entity.
|
class |
Moon
Moon entity.
|
class |
NobelPrize
NobelPrize entity.
|
class |
NobelPrizeCategory
NobelPrizeCategory entity.
|
class |
NobelPrizeLaureate
NobelPrizeLaureate entity.
|
class |
Planet
Planet entity.
|
class |
Scientist
Scientist entity.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CrudActions<T extends Persistable>
Interface to be implemented by classes that support CRUD (Create, Read,
Update and Delete) actions on an Entity.
|
interface |
CrudChildActions<T extends Persistable>
Interface to be implemented by classes that support CRUD (Create, Read,
Update and Delete) actions on an Entity.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCrudChildControllerBean<T extends Persistable>
Controller that support CRUD (Create, Read, Update Delete) actions on a JPA
Entity that is a Child of another JPA Entity.
|
class |
AbstractCrudControllerBean<T extends Persistable>
Controller that support CRUD (Create, Read, Update Delete) actions on a JPA
Entity.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEntity
Ultimate base class for JPA Entities.
|
class |
AbstractEntityIdentifiedById
Ultimate base class for JPA Entity classes that are identified by an ID.
|
class |
AbstractEntityIdentifiedByObjectId
Ultimate base class for JPA Entities that are identified by an Object ID.
|
Modifier and Type | Method and Description |
---|---|
static void |
EntityManagerHelper.detach(Persistable persistable)
Detaches the supplied persistable by removing it from the persistence context.
|
Modifier and Type | Method and Description |
---|---|
static javax.persistence.Query |
EntityManagerHelper.createNativeQuery(String query,
Class<? extends Persistable> type)
Creates a native Query with resulting object of the supplied type.
|
static List<String> |
JpaUtil.getColumns(Class<? extends Persistable> persistableClass)
Gets all the columns that are defined within the supplied
persistableClass (or one of its super classes).
|
static CompareField[] |
JpaUtil.getCompareFields(Class<? extends Persistable> persistableClass)
Gets all the possible fields that can be compared upon in the supplied
persistableClass (or one of its super classes).
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAuditTrailEntityIdentifiedById
Ultimate base class for JPA Entities that are identified by an ID and
maintain audit trail data.
|
class |
AbstractAuditTrailEntityIdentifiedByObjectId
Ultimate base class for JPA Entities that are identified by an Object ID and
maintain audit trail data.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCrudEntityBean<T extends Persistable>
Super class for JSF Beans that perform CRUD actions (including searching and
sorting) on JPA Entities using a
MultiFieldComparator . |
class |
AbstractCrudManyToManyEntityBean<T extends Persistable>
Short description.
|
class |
AbstractCrudManyToManyEntityUsingEntityManagerBean<T extends Persistable>
Short description.
|
class |
AbstractCrudManyToManyEntityUsingFacadeBean<T extends Persistable>
Short description.
|
class |
AbstractCrudManyToManyEntityUsingSessionBean<T extends Persistable>
Short description.
|
class |
AbstractCrudManyToOneEntityBean<T extends Persistable>
Super class for JSF Beans that perform CRUD actions (including searching and
sorting) on JPA Entities that are on the Many side of a many-to-one relation.
|
class |
AbstractCrudManyToOneEntityUsingEntityManagerBean<T extends Persistable>
Super class for JSF Beans that perform CRUD actions (including searching and
sorting) on a single JPA Entity, that is part of a many-to-one relation, by
directly using an Entity Manager.
|
class |
AbstractCrudManyToOneEntityUsingFacadeBean<T extends Persistable>
Short description.
|
class |
AbstractCrudManyToOneEntityUsingSessionBean<T extends Persistable>
Super class for JSF Beans that perform CRUD actions (including searching and
sorting) on a single JPA Entity, that is part of a many-to-one relation, by
using a Stateless Session Bean that implements the
CrudChildActions
interface. |
class |
AbstractCrudSingleEntityBean<T extends Persistable>
Super class for JSF Beans that maintain a single JPA Entity.
|
class |
AbstractCrudSingleEntityUsingEntityManagerBean<T extends Persistable>
Super class for JSF Beans that perform CRUD actions (including searching and
sorting) on a single JPA Entity, by directly using an Entity Manager.
|
class |
AbstractCrudSingleEntityUsingFacadeBean<T extends Persistable>
Super class for JSF Beans that perform CRUD actions (including searching and
sorting) on JPA Entities, by using a Facade, implemented as a Stateless
Session Bean.
|
class |
AbstractCrudSingleEntityUsingSessionBean<T extends Persistable>
Super class for JSF Beans that perform CRUD actions (including searching and
sorting) on JPA Entities, by using a Stateless Session Bean that implements
the
CrudActions interface. |
Modifier and Type | Method and Description |
---|---|
static List<javax.faces.model.SelectItem> |
JsfJpaUtil.asSelectItems(List<? extends Persistable> persistables,
String labelProperty)
Creates items of type
SelectItem from the supplied List of
persistables , using reflection. |
Copyright © 2008–2018. All rights reserved.