Last change
on this file since 3451 was
3451,
checked in by George.Georgovassilis@mpi.nl, 11 years ago
|
#360 Fixes for shha lux16 environment and renaming of DAO interfaces and implementations
|
File size:
1.0 KB
|
Line | |
---|
1 | package clarin.cmdi.componentregistry.persistence.impl; |
---|
2 | |
---|
3 | import clarin.cmdi.componentregistry.model.ComponentDescription; |
---|
4 | import clarin.cmdi.componentregistry.persistence.ComponentDescriptionDao; |
---|
5 | |
---|
6 | import java.util.List; |
---|
7 | |
---|
8 | import org.springframework.stereotype.Repository; |
---|
9 | |
---|
10 | /** |
---|
11 | * Serves components |
---|
12 | * @author Twan Goosen <twan.goosen@mpi.nl> |
---|
13 | * @author George.Georgovassilis@mpi.nl |
---|
14 | */ |
---|
15 | @Repository |
---|
16 | public class ComponentDescriptionDaoImpl extends |
---|
17 | AbstractDescriptionDaoImpl<ComponentDescription> implements |
---|
18 | ComponentDescriptionDao { |
---|
19 | |
---|
20 | public ComponentDescriptionDaoImpl() { |
---|
21 | super(ComponentDescription.class); |
---|
22 | } |
---|
23 | |
---|
24 | @Override |
---|
25 | protected String getTableName() { |
---|
26 | return TABLE_COMPONENT_DESCRIPTION; |
---|
27 | } |
---|
28 | |
---|
29 | @Override |
---|
30 | protected String getCMDIdColumn() { |
---|
31 | return "component_id"; |
---|
32 | } |
---|
33 | |
---|
34 | @Override |
---|
35 | protected String getCommentsForeignKeyColumn() { |
---|
36 | return "component_description_id"; |
---|
37 | } |
---|
38 | |
---|
39 | public List<ComponentDescription> getPublicComponentDescriptions() { |
---|
40 | return getPublicDescriptions(); |
---|
41 | } |
---|
42 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.