HibernateRelationships |
|
Your trail: |
Difference between
version 68
and
version 67:
At line 270 added 1 line. |
|
At line 500 changed 1 line. |
Before any of these tests will compile, you need to create the DAO interface and implementation. |
!!DAO Interfaces |
At line 503 added 3 lines. |
Before any of these tests will compile, you need to create the DAO interfaces and then implementations. |
|
!WeblogDAO Interface |
At line 520 added 1 line. |
public List getEntries(Long weblogId); |
At line 524 added 1 line. |
!EntryDAO Interface |
At line 526 added 38 lines. |
[{Java2HtmlPlugin |
package org.appfuse.dao; |
|
import java.util.List; |
|
import org.appfuse.model.Entry; |
|
public interface EntryDAO { |
|
public Entry getEntry(Long entryId); |
public List getEntries(Entry entry); |
public void saveEntry(Entry entry); |
public void removeEntry(Long entryId); |
|
} |
}] |
|
!CategoryDAO Interface |
|
[{Java2HtmlPlugin |
|
package org.appfuse.dao; |
|
import java.util.List; |
|
import org.appfuse.model.Category; |
|
public interface CategoryDAO { |
|
public Category getCategory(Long categoryId); |
public List getCategories(Category category); |
public void saveCategory(Category category); |
public void removeCategory(Long categoryId); |
|
} |
|
}] |
|
Back to HibernateRelationships,
or to the Page History.
|