public DeleteEntityByPropertyAction(final EntityAdapter<?> adapter, final String... properties) { checkNotNull(adapter); this.query = String.format("DELETE FROM %s WHERE %s", adapter.getTypeName(), QueryUtils.buildPredicate(properties)); }
public ReadEntityByPropertyAction(final EntityAdapter<T> adapter, final String... properties) { this.adapter = checkNotNull(adapter); this.query = String.format("SELECT FROM %s WHERE %s", adapter.getTypeName(), QueryUtils.buildPredicate(properties)); }
public UpdateEntityByPropertyAction(final EntityAdapter<T> adapter, final String... properties) { this.adapter = checkNotNull(adapter); this.query = String.format("SELECT FROM %s WHERE %s", adapter.getTypeName(), QueryUtils.buildPredicate(properties)); }
public BrowseEntitiesByPropertyAction(final IterableEntityAdapter<T> adapter, final String... properties) { this.adapter = checkNotNull(adapter); this.query = String.format("SELECT FROM %s WHERE %s", adapter.getTypeName(), QueryUtils.buildPredicate(properties)); }