Class ActciRelationProvider
- java.lang.Object
-
- com.ibm.di.connector.ccmdb.provider.ActciRelationProvider
-
public class ActciRelationProvider extends java.lang.ObjectThis class is responsible for reading and writing instances of relationships.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedActciRelationProvider(CCMDBActualCIProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandelete(CIRelation relation)protected intdeleteRelation(CIRelation relation)CCMDBActualCIProvidergetProvider()voidload(CIRelation relation)booleansave(CIRelation relation)protected voidsaveRelation(CIRelation relation, boolean check, boolean skip)java.util.List<CIRelation>select(CIRelationDefinition definition)java.util.List<CIRelation>select(SQLQuery query, CIRelationDefinition definition)booleanupdate(CIRelation relation)
-
-
-
Constructor Detail
-
ActciRelationProvider
protected ActciRelationProvider(CCMDBActualCIProvider provider)
- Parameters:
provider-
-
-
Method Detail
-
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.SQLExceptionCCMDBExceptionDataProcessingException
-
update
public boolean update(CIRelation relation) throws java.sql.SQLException, DataProcessingException
- Parameters:
relation-- Returns:
- boolean
- Throws:
java.sql.SQLExceptionDataProcessingException
-
delete
public boolean delete(CIRelation relation) throws java.sql.SQLException, DataProcessingException
- Parameters:
relation-- Returns:
- boolean
- Throws:
java.sql.SQLExceptionDataProcessingException
-
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.SQLExceptionDataProcessingException
-
getProvider
public CCMDBActualCIProvider getProvider()
-
-