se.cambio.cds.model.rule.dao
Class StandardSQLRuleDAO

Package class diagram package StandardSQLRuleDAO
java.lang.Object
  extended by se.cambio.cds.model.rule.dao.StandardSQLRuleDAO
All Implemented Interfaces:
SQLRuleDAO

public class StandardSQLRuleDAO
extends Object
implements SQLRuleDAO

Author:
iago.corbal

Constructor Summary
StandardSQLRuleDAO()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardSQLRuleDAO

public StandardSQLRuleDAO()
Method Detail

search

public RuleDTO search(Connection connection,
                      String idRule)
               throws InternalErrorException,
                      ModelException
Specified by:
search in interface SQLRuleDAO
Throws:
InternalErrorException
ModelException

searchAllIds

public Collection<String> searchAllIds(Connection connection)
                                throws InternalErrorException,
                                       ModelException
Specified by:
searchAllIds in interface SQLRuleDAO
Throws:
InternalErrorException
ModelException

add

public void add(Connection connection,
                RuleDTO ruleDTO)
         throws InternalErrorException,
                ModelException
Specified by:
add in interface SQLRuleDAO
Throws:
InternalErrorException
ModelException

remove

public void remove(Connection connection,
                   String idRule)
            throws InternalErrorException,
                   ModelException
Specified by:
remove in interface SQLRuleDAO
Throws:
InternalErrorException
ModelException

removeByGuideId

public void removeByGuideId(Connection connection,
                            Integer idGuide)
                     throws InternalErrorException,
                            ModelException
Specified by:
removeByGuideId in interface SQLRuleDAO
Throws:
InternalErrorException
ModelException


Copyright © 2013 Cambio. All Rights Reserved.