◆ EntityCollections()
org.turro.jpa.entity.EntityCollections.EntityCollections |
( |
Collection< IDaoEntity > |
values | ) |
|
|
protected |
◆ contains()
boolean org.turro.jpa.entity.EntityCollections.contains |
( |
IDaoEntity |
o | ) |
|
Definition at line 49 of file EntityCollections.java.
50 return super.contains(e -> Objects.equals(e.entityId(), o.entityId()));
◆ entities()
static EntityCollections org.turro.jpa.entity.EntityCollections.entities |
( |
Collection |
values | ) |
|
|
static |
Definition at line 62 of file EntityCollections.java.
63 return new EntityCollections(CollectionUtil.from((Collection<Object>) values).<Collection<IDaoEntity>>cast());
EntityCollections(Collection< IDaoEntity > values)
◆ remove()
boolean org.turro.jpa.entity.EntityCollections.remove |
( |
IDaoEntity |
entity | ) |
|
Definition at line 30 of file EntityCollections.java.
31 if(entity ==
null)
return false;
32 return super.remove(e -> {
33 return !e.isNew() && Objects.equals(e.entityId(), entity.entityId());
◆ removeEmpties()
boolean org.turro.jpa.entity.EntityCollections.removeEmpties |
( |
| ) |
|
◆ removeNews()
boolean org.turro.jpa.entity.EntityCollections.removeNews |
( |
| ) |
|
◆ replace()
boolean org.turro.jpa.entity.EntityCollections.replace |
( |
IDaoEntity |
o | ) |
|
The documentation for this class was generated from the following file: