01: package org.outerj.daisy.sync.dao;
02:
03: import java.util.List;
04:
05: import org.outerj.daisy.repository.VariantKey;
06: import org.outerj.daisy.sync.Entity;
07: import org.outerj.daisy.sync.EntityNotFoundException;
08:
09: public interface InternalEntityDao {
10: void storeEntity(Entity entity);
11:
12: List<VariantKey> getEntityIds(String entityInternalName)
13: throws Exception;
14:
15: Entity getEntity(VariantKey variantKey)
16: throws EntityNotFoundException;
17:
18: Entity getEntity(String entityName, long externalId, String language)
19: throws Exception;
20: }
|