|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.ccmdb.AbstractDataHandler
com.ibm.di.connector.ccmdb.ActualCIDataHandler
public class ActualCIDataHandler
An implementation of AbstrcatDataHander that is designed to work with Actual CIs.
Field Summary |
---|
Fields inherited from class com.ibm.di.connector.ccmdb.AbstractDataHandler |
---|
ALL, ctx |
Constructor Summary | |
---|---|
ActualCIDataHandler()
|
Method Summary | |
---|---|
boolean |
addEntry(Entry entry)
Inserts an instance of selected artifact type into the data store. |
Entry |
getNextEntry()
This method returns a single entry object for a selected artifact instance, searched as per criteria. |
Entry |
getSchema()
Returns the schema that is based on selected artifact type and class name. |
void |
init(ExecutionContext context)
|
boolean |
removeEntry(Entry entry)
Removes an instance of selected artifact type from the data store. |
void |
selectEntries()
This method will fetch instances of selected artifact type. |
void |
setSearchCriteria(SearchCriteria criteria)
Sets the search criteria used in select operation. |
boolean |
updateEntry(Entry entry)
Updates an instance of selected artifact type in the database. |
Methods inherited from class com.ibm.di.connector.ccmdb.AbstractDataHandler |
---|
getClassifications |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActualCIDataHandler()
Method Detail |
---|
public void init(ExecutionContext context)
init
in class AbstractDataHandler
context
- the executionContext instance associated with the current execution.public Entry getSchema() throws CCMDBException
AbstractDataHandler
getSchema
in class AbstractDataHandler
CCMDBException
- if a problem occurs.public Entry getNextEntry() throws CCMDBException
AbstractDataHandler
getNextEntry
in class AbstractDataHandler
CCMDBException
- if a problem occurs.public void setSearchCriteria(SearchCriteria criteria) throws CCMDBException
AbstractDataHandler
setSearchCriteria
in class AbstractDataHandler
criteria
- SearchCriteria object provided by CE
CCMDBException
- if a problem occurs.public void selectEntries() throws CCMDBException
AbstractDataHandler
selectEntries
in class AbstractDataHandler
CCMDBException
- if a problem occurs.public boolean addEntry(Entry entry) throws CCMDBException
AbstractDataHandler
addEntry
in class AbstractDataHandler
entry
- the Entry to be added.
CCMDBException
- if a problem occurs.public boolean removeEntry(Entry entry) throws CCMDBException
AbstractDataHandler
removeEntry
in class AbstractDataHandler
entry
- the Entry to be deleted.
CCMDBException
- if a problem occurs.public boolean updateEntry(Entry entry) throws CCMDBException
AbstractDataHandler
updateEntry
in class AbstractDataHandler
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 |