|
SMILA 1.0 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.DataSourceDao
public class DataSourceDao
A JPA Entity to store DataSource locked state.
Field Summary | |
---|---|
static java.lang.String |
NAMED_QUERY_DELETE_SOURCES
Constant for the named query DataSourceDao.deleteSources. |
static java.lang.String |
NAMED_QUERY_FIND_BY_SESSION_ID
Constant for the named query DataSourceDao.deleteBySource. |
static java.lang.String |
NAMED_QUERY_KILL_ALL_SESSIONS
Constant for the named query DataSourceDao.killAllSessions. |
static java.lang.String |
NAMED_QUERY_KILL_SESSION
Constant for the named query DataSourceDao.killSession. |
static java.lang.String |
NAMED_QUERY_PARAM_SESSION_ID
Constant for the entity attribute _sessionId. |
static java.lang.String |
NAMED_QUERY_SELECT_ALL
Constant for the named query DataSourceDao.selectAll. |
Constructor Summary | |
---|---|
protected |
DataSourceDao()
Default Constructor, used by JPA. |
|
DataSourceDao(java.lang.String dataSourceId,
java.lang.String sessionId)
Conversion Constructor. |
Method Summary | |
---|---|
java.lang.String |
getDataSourceId()
Returns the dataSourceId. |
java.lang.String |
getSessionId()
Returns sessionId if any exists. |
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_KILL_ALL_SESSIONS
public static final java.lang.String NAMED_QUERY_KILL_SESSION
public static final java.lang.String NAMED_QUERY_SELECT_ALL
public static final java.lang.String NAMED_QUERY_DELETE_SOURCES
public static final java.lang.String NAMED_QUERY_FIND_BY_SESSION_ID
public static final java.lang.String NAMED_QUERY_PARAM_SESSION_ID
Constructor Detail |
---|
protected DataSourceDao()
public DataSourceDao(java.lang.String dataSourceId, java.lang.String sessionId) throws java.io.IOException
dataSourceId
- the id of the data sourcesessionId
- the id of the session that locked this data source
java.io.IOException
- if any exception occursMethod Detail |
---|
public java.lang.String getDataSourceId()
public java.lang.String getSessionId()
|
SMILA 1.0 API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |