se.cambio.cds.model.rule.dao
Interface SQLRuleDAO

Package class diagram package SQLRuleDAO
All Known Implementing Classes:
StandardSQLRuleDAO

public interface SQLRuleDAO

Author:
iago.corbal

Method Summary
 void add(Connection connection, RuleDTO ruleDTO)
           
 void remove(Connection connection, String idRule)
           
 void removeByGuideId(Connection connection, Integer idGuide)
           
 RuleDTO search(Connection connection, String idRule)
           
 Collection<String> searchAllIds(Connection connection)
           
 

Method Detail

search

RuleDTO search(Connection connection,
               String idRule)
               throws InternalErrorException,
                      ModelException
Throws:
InternalErrorException
ModelException

searchAllIds

Collection<String> searchAllIds(Connection connection)
                                throws InternalErrorException,
                                       ModelException
Throws:
InternalErrorException
ModelException

add

void add(Connection connection,
         RuleDTO ruleDTO)
         throws InternalErrorException,
                ModelException
Throws:
InternalErrorException
ModelException

remove

void remove(Connection connection,
            String idRule)
            throws InternalErrorException,
                   ModelException
Throws:
InternalErrorException
ModelException

removeByGuideId

void removeByGuideId(Connection connection,
                     Integer idGuide)
                     throws InternalErrorException,
                            ModelException
Throws:
InternalErrorException
ModelException


Copyright © 2013 Cambio. All Rights Reserved.