com.ibm.di.connector.ccmdb.provider
Class ActciRelationProvider
java.lang.Object
com.ibm.di.connector.ccmdb.provider.ActciRelationProvider
public class ActciRelationProvider
- extends java.lang.Object
This class is responsible for reading and writing instances of relationships.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActciRelationProvider
protected ActciRelationProvider(CCMDBActualCIProvider provider)
- Parameters:
provider
-
select
public java.util.List<CIRelation> select(CIRelationDefinition definition)
throws java.sql.SQLException
- Parameters:
definition
-
- Returns:
- List
- Throws:
java.sql.SQLException
select
public java.util.List<CIRelation> select(SQLQuery query,
CIRelationDefinition definition)
throws java.sql.SQLException
- Parameters:
query
- definition
-
- Returns:
- List
- Throws:
java.sql.SQLException
save
public boolean save(CIRelation relation)
throws java.sql.SQLException,
DataProcessingException
- Parameters:
relation
-
- Returns:
- boolean
- Throws:
java.sql.SQLException
CCMDBException
DataProcessingException
update
public boolean update(CIRelation relation)
throws java.sql.SQLException,
DataProcessingException
- Parameters:
relation
-
- Returns:
- boolean
- Throws:
java.sql.SQLException
DataProcessingException
delete
public boolean delete(CIRelation relation)
throws java.sql.SQLException,
DataProcessingException
- Parameters:
relation
-
- Returns:
- boolean
- Throws:
java.sql.SQLException
DataProcessingException
load
public void load(CIRelation relation)
throws java.sql.SQLException
- Parameters:
relation
-
- Throws:
java.sql.SQLException
deleteRelation
protected int deleteRelation(CIRelation relation)
throws java.sql.SQLException
- Parameters:
relation
-
- Throws:
java.sql.SQLException
saveRelation
protected void saveRelation(CIRelation relation,
boolean check,
boolean skip)
throws java.sql.SQLException,
DataProcessingException
- Parameters:
relation
- check
-
- Throws:
java.sql.SQLException
DataProcessingException
getProvider
public CCMDBActualCIProvider getProvider()