◆ contains()
| static boolean org.turro.jpa.entity.EntityCollectionUtil.contains |
( |
Collection |
c, |
|
|
IDaoEntity |
o |
|
) |
| |
|
static |
Definition at line 42 of file EntityCollectionUtil.java.
43 Iterator it = c.iterator();
45 Object entity = it.next();
46 if((entity instanceof IDaoEntity) && Objects.equals(((IDaoEntity) entity).entityId(), o.entityId())) {
◆ iterate()
| static void org.turro.jpa.entity.EntityCollectionUtil.iterate |
( |
Collection |
c, |
|
|
IFilter |
filter |
|
) |
| |
|
static |
◆ remove()
| static boolean org.turro.jpa.entity.EntityCollectionUtil.remove |
( |
Collection |
c, |
|
|
IDaoEntity |
o |
|
) |
| |
|
static |
Definition at line 30 of file EntityCollectionUtil.java.
31 Iterator it = c.iterator();
33 Object entity = it.next();
34 if((entity instanceof IDaoEntity) && Objects.equals(((IDaoEntity) entity).entityId(), o.entityId())) {
◆ removeEmpties()
| static void org.turro.jpa.entity.EntityCollectionUtil.removeEmpties |
( |
Collection |
c | ) |
|
|
static |
Definition at line 60 of file EntityCollectionUtil.java.
61 Iterator it = c.iterator();
63 Object obj = it.next();
64 if((obj instanceof IDaoEntity) && ((IDaoEntity) obj).isEmpty()) {
◆ removeNews()
| static void org.turro.jpa.entity.EntityCollectionUtil.removeNews |
( |
Collection |
c | ) |
|
|
static |
Definition at line 70 of file EntityCollectionUtil.java.
71 Iterator it = c.iterator();
73 Object obj = it.next();
74 if((obj instanceof IDaoEntity) && ((IDaoEntity) obj).isNew()) {
◆ replace()
| static boolean org.turro.jpa.entity.EntityCollectionUtil.replace |
( |
Collection |
c, |
|
|
IDaoEntity |
o |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: