Assembla home | Assembla project page
 

Changeset 77

Show
Ignore:
Timestamp:
07/09/08 01:38:45 (5 months ago)
Author:
restamon
Message:

Look-up table service layer

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • core/trunk/pom.xml

    r73 r77  
    11<?xml version="1.0" encoding="UTF-8"?> 
    2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
     2<project 
     3  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" 
     4  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    35  <modelVersion>4.0.0</modelVersion> 
    46  <groupId>org.restafarian</groupId> 
     
    113115        <directory>src/test/resources</directory> 
    114116      </testResource> 
    115             <testResource> 
    116                 <directory>src/test/spring</directory> 
    117                 <includes> 
    118                     <include>**/*.xml</include> 
    119                 </includes> 
    120             </testResource> 
     117      <testResource> 
     118        <directory>src/test/spring</directory> 
     119        <includes> 
     120          <include>**/*.xml</include> 
     121        </includes> 
     122      </testResource> 
    121123    </testResources> 
    122124  </build> 
     
    210212      <version>1.2.9</version> 
    211213    </dependency> 
     214    <dependency> 
     215      <groupId>jmock</groupId> 
     216      <artifactId>jmock</artifactId> 
     217      <version>1.1.0</version> 
     218      <scope>test</scope> 
     219    </dependency> 
    212220  </dependencies> 
    213221 
  • core/trunk/src/main/java/org/restafarian/core/dao/LookupTableEntryDao.java

    r75 r77  
    1111 
    1212        /** 
    13          * <p>Returns all LookupTableEntrys in the database.</p> 
     13         * <p>Returns all LookupTableEntries in the database.</p> 
    1414         *  
    15          * @return all LookupTableEntrys in the database 
     15         * @return all LookupTableEntries in the database 
    1616         */ 
    1717    public List findAll(); 
    1818 
    1919        /** 
    20          * <p>Returns all LookupTableEntrys in the database that 
     20         * <p>Returns all LookupTableEntries in the database that 
    2121         * match the specified search criteria.</p> 
    2222         *  
    2323         * @param lookupTableEntry an example LookupTableEntry 
    24          * @return all LookupTableEntrys in the database that 
     24         * @return all LookupTableEntries in the database that 
    2525         * match the specified search criteria 
    2626         */ 
     
    2828 
    2929        /** 
    30          * <p>Returns all LookupTableEntrys in the database that 
     30         * <p>Returns all LookupTableEntries in the database that 
    3131         * match the specified search criteria.</p> 
    3232         *  
     
    3434         * @param propertyValue the search value for the specified 
    3535         * property 
    36          * @return all LookupTableEntrys in the database that 
     36         * @return all LookupTableEntries in the database that 
    3737         * match the specified search criteria 
    3838         */ 
  • core/trunk/src/test/java/org/restafarian/core/dao/LookupTableEntryDaoTest.java

    r75 r77  
    8585        } 
    8686 
    87         public void testRemoveLookupTableEntrys() throws Exception { 
     87        public void testRemoveLookupTableEntries() throws Exception { 
    8888                // remove testtable 
    8989                log.debug("removing lookupTableEntry test ..."); 
  • core/trunk/src/test/spring/context/applicationContext.xml

    r73 r77  
    2929    </tx:advice> 
    3030 
     31    <bean id="lookupTableManager" class="org.restafarian.core.service.impl.LookupTableManagerImpl"> 
     32        <property name="lookupTableDao" ref="lookupTableDao"/> 
     33    </bean> 
     34 
     35    <bean id="lookupTableEntryManager" class="org.restafarian.core.service.impl.LookupTableEntryManagerImpl"> 
     36        <property name="lookupTableEntryDao" ref="lookupTableEntryDao"/> 
     37    </bean> 
     38 
    3139</beans>