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

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

public class SQLGenericRuleDAO
extends Object
implements GenericRuleDAO

Author:
iago.corbal

Constructor Summary
SQLGenericRuleDAO()
           
 
Method Summary
 void add(RuleDTO ruleDTO)
           
 void remove(String idRule)
           
 void removeByGuideId(Integer idGuide)
           
 RuleDTO search(String idRule)
           
 Collection<String> searchAllIds()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLGenericRuleDAO

public SQLGenericRuleDAO()
                  throws InternalErrorException
Throws:
InternalErrorException
Method Detail

search

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

searchAllIds

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

add

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

remove

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

removeByGuideId

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


Copyright © 2013 Cambio. All Rights Reserved.