|
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_DELETE_ALL
Constant for the named query _dataSourceId.deleteAll. |
static java.lang.String |
NAMED_QUERY_DELETE_BY_SOURCE
Constant for the named query _dataSourceId.deleteBySource. |
static java.lang.String |
NAMED_QUERY_FIND_OBSOLETE_IDS_BY_SOURCE
Constant for the named query _dataSourceId.findBySource. |
static java.lang.String |
NAMED_QUERY_PARAM_SOURCE
Constant for the entity attribute _source. |
static java.lang.String |
NAMED_QUERY_UNVISIT_BY_SOURCE
Constant for the named query _dataSourceId.unvisitBySource. |
| Constructor Summary | |
|---|---|
protected |
DeltaIndexingDao()
Default Constructor, used by JPA. |
|
DeltaIndexingDao(Id id,
java.lang.String hash,
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. |
boolean |
isVisited()
Returns if this data source was visited or not. |
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_DELETE_BY_SOURCE
public static final java.lang.String NAMED_QUERY_DELETE_ALL
public static final java.lang.String NAMED_QUERY_UNVISIT_BY_SOURCE
public static final java.lang.String NAMED_QUERY_PARAM_SOURCE
| Constructor Detail |
|---|
protected DeltaIndexingDao()
public DeltaIndexingDao(Id id,
java.lang.String hash,
boolean visited)
throws java.io.IOException
id - the record idhash - the delta indexing hashvisited - 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 isVisited()
public void visit()
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||