|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.ccmdb.AbstractDataHandler
public abstract class AbstractDataHandler
This class declares methods for retrieving and modifying of data entries
based on the selected artifact type.
There is one implementation of this class for each artifact type.
Field Summary | |
---|---|
static String |
ALL
|
protected ExecutionContext |
ctx
|
Constructor Summary | |
---|---|
AbstractDataHandler()
|
Method Summary | |
---|---|
abstract boolean |
addEntry(Entry entry)
Inserts an instance of selected artifact type into the data store. |
List<String> |
getClassifications(String artifactType)
Returns a list of classification names for a specified artifact type. |
abstract Entry |
getNextEntry()
This method returns a single entry object for a selected artifact instance, searched as per criteria. |
abstract Entry |
getSchema()
Returns the schema that is based on selected artifact type and class name. |
void |
init(ExecutionContext context)
|
abstract boolean |
removeEntry(Entry entry)
Removes an instance of selected artifact type from the data store. |
abstract void |
selectEntries()
This method will fetch instances of selected artifact type. |
abstract void |
setSearchCriteria(SearchCriteria criteria)
Sets the search criteria used in select operation. |
abstract boolean |
updateEntry(Entry entry)
Updates an instance of selected artifact type in the database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ALL
protected ExecutionContext ctx
Constructor Detail |
---|
public AbstractDataHandler()
Method Detail |
---|
public void init(ExecutionContext context)
context
- the executionContext instance associated with the current execution.public List<String> getClassifications(String artifactType) throws CCMDBException
artifactType
- Artifact type name
CCMDBException
- if a problem occurs.public abstract void setSearchCriteria(SearchCriteria criteria) throws CCMDBException
criteria
- SearchCriteria object provided by CE
CCMDBException
- if a problem occurs.public abstract Entry getSchema() throws CCMDBException
CCMDBException
- if a problem occurs.public abstract void selectEntries() throws CCMDBException
CCMDBException
- if a problem occurs.public abstract Entry getNextEntry() throws CCMDBException
CCMDBException
- if a problem occurs.public abstract boolean addEntry(Entry entry) throws CCMDBException
entry
- the Entry to be added.
CCMDBException
- if a problem occurs.public abstract boolean removeEntry(Entry entry) throws CCMDBException
entry
- the Entry to be deleted.
CCMDBException
- if a problem occurs.public abstract boolean updateEntry(Entry entry) throws CCMDBException
entry
- The Entry to be updated.
CCMDBException
- if a problem occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |