|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.connectivity.deltaindexing.jpa.impl.DeltaIndexingDao
public class DeltaIndexingDao
A JPA Entity to store DataSource locked state.
| Field Summary | |
|---|---|
static java.lang.String |
NAMED_QUERY_COUNT_ENTRIES
Constant for the named query DeltaIndexingDao.countEntries. |
static java.lang.String |
NAMED_QUERY_COUNT_ENTRIES_BY_SOURCE
Constant for the named query DeltaIndexingDao.countEntriesBySource. |
static java.lang.String |
NAMED_QUERY_DELETE_ALL
Constant for the named query DeltaIndexingDao.deleteAll. |
static java.lang.String |
NAMED_QUERY_DELETE_BY_SOURCE
Constant for the named query DeltaIndexingDao.deleteBySource. |
static java.lang.String |
NAMED_QUERY_FIND_OBSOLETE_IDS_BY_SOURCE
Constant for the named query DeltaIndexingDao.findObsoleteIdsBySource. |
static java.lang.String |
NAMED_QUERY_FIND_SUB_COMPOUNDS
Constant for the named query DeltaIndexingDao.findSubCompounds. |
static java.lang.String |
NAMED_QUERY_PARAM_PARENT_ID_HASH
Constant for the entity attribute _parentIdHash. |
static java.lang.String |
NAMED_QUERY_PARAM_SOURCE
Constant for the entity attribute _source. |
static java.lang.String |
NAMED_QUERY_RESET_FLAGS
Constant for the named query DeltaIndexingDao.resetFlags. |
| Constructor Summary | |
|---|---|
protected |
DeltaIndexingDao()
Default Constructor, used by JPA. |
|
DeltaIndexingDao(Id id,
java.lang.String hash,
boolean isCompound,
boolean visited)
Conversion Constructor. |
| Method Summary | |
|---|---|
java.lang.String |
getDataSourceId()
Returns the data source id. |
java.lang.String |
getHash()
Returns the delta indexing hash. |
java.lang.String |
getIdHash()
Returns the id hash value. |
java.lang.String |
getParentIdHash()
Returns the parent id hash value. |
boolean |
isCompound()
Returns if this delta indexing entry is a compound or not. |
boolean |
isModified()
Returns if this delta indexing entry was modified or not. |
boolean |
isVisited()
Returns if this delta indexing entry was visited or not. |
void |
modifyAndVisit()
Sets both the modified and visited flag. |
Id |
toId()
Converts this DeltaIndexingDao into a Id object. |
void |
visit()
Sets the visited flag to true. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAMED_QUERY_FIND_OBSOLETE_IDS_BY_SOURCE
public static final java.lang.String NAMED_QUERY_FIND_SUB_COMPOUNDS
public static final java.lang.String NAMED_QUERY_DELETE_BY_SOURCE
public static final java.lang.String NAMED_QUERY_DELETE_ALL
public static final java.lang.String NAMED_QUERY_RESET_FLAGS
public static final java.lang.String NAMED_QUERY_COUNT_ENTRIES
public static final java.lang.String NAMED_QUERY_COUNT_ENTRIES_BY_SOURCE
public static final java.lang.String NAMED_QUERY_PARAM_SOURCE
public static final java.lang.String NAMED_QUERY_PARAM_PARENT_ID_HASH
| Constructor Detail |
|---|
protected DeltaIndexingDao()
public DeltaIndexingDao(Id id,
java.lang.String hash,
boolean isCompound,
boolean visited)
throws java.io.IOException
id - the record idhash - the delta indexing hashisCompound - boolean flag if the record is a compound or notvisited - a boolean flag whether this id was already visited or not
java.io.IOException - if any error occurs| Method Detail |
|---|
public Id toId()
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException - if any exception occurs
java.lang.ClassNotFoundException - if any exception occurspublic java.lang.String getIdHash()
public java.lang.String getHash()
public java.lang.String getDataSourceId()
public boolean isCompound()
public java.lang.String getParentIdHash()
public boolean isVisited()
public boolean isModified()
public void visit()
public void modifyAndVisit()
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||