/** * Creates a value store using supplied source object. * * @param sourceObject * the source object to use * @return ValueStore new instance of a value store * @throws UnifyException * if an error occurs */ protected ValueStore createValueStore(Object sourceObject) throws UnifyException { return valueStoreFactory.getValueStore(sourceObject, 0); }
/** * Creates a value store using supplied storage object. * * @param storageObject * the storage object to use * @return ValueStore new instance of a value store * @throws UnifyException * if an error occurs */ protected ValueStore createValueStore(Object storageObject) throws UnifyException { return ((ValueStoreFactory) getComponent(ApplicationComponents.APPLICATION_VALUESTOREFACTORY)) .getValueStore(storageObject); }
/** * Creates a value store with index information using supplied storage object. * * @param storageObject * the storage object to use * @param dataIndex * the data index * @return ValueStore new instance of a value store * @throws UnifyException * if an error occurs */ protected ValueStore createValueStore(Object storageObject, int dataIndex) throws UnifyException { return ((ValueStoreFactory) getComponent(ApplicationComponents.APPLICATION_VALUESTOREFACTORY)) .getValueStore(storageObject, dataIndex); }
@Override public final void setPage(Page page) throws UnifyException { this.page = page; page.setValueStore(((ValueStoreFactory) getComponent(ApplicationComponents.APPLICATION_VALUESTOREFACTORY)) .getValueStore(this, -1)); onSetPage(); }
ValueStore itemStore = getValueStoreFactory().getValueStore(batchItem, 0); int createCount = 0; int updateCount = 0;
ValueStore itemStore = getValueStoreFactory().getValueStore(batchItem, 0); while (reader.readNextRecord(itemStore)) { Object batchId = null;