com.ibm.di.connector.ccmdb.provider
Class ActciRelationProvider

java.lang.Object
  extended by 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.


Constructor Summary
protected ActciRelationProvider(CCMDBActualCIProvider provider)
           
 
Method Summary
 boolean delete(CIRelation relation)
           
protected  int deleteRelation(CIRelation relation)
           
 CCMDBActualCIProvider getProvider()
           
 void load(CIRelation relation)
           
 boolean save(CIRelation relation)
           
protected  void saveRelation(CIRelation relation, boolean check, boolean skip)
           
 java.util.List<CIRelation> select(CIRelationDefinition definition)
           
 java.util.List<CIRelation> select(SQLQuery query, CIRelationDefinition definition)
           
 boolean update(CIRelation relation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.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()