Rev 27 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 27 | Rev 34 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * @return List of all the users. In case of a problem, an empty list is
|
24 | * @return List of all the users. In case of a problem, an empty list is
|
25 | * returned.
|
25 | * returned.
|
26 | */
|
26 | */
|
27 | @SuppressWarnings("unchecked") |
27 | @SuppressWarnings("unchecked") |
28 | @Override |
28 | @Override |
29 | public List<RelationshipType> listRelationshipTypes() |
29 | public List<RelationshipType> getRelTypes() |
30 | {
|
30 | {
|
31 | 31 | ||
32 | List<RelationshipType> relType = null; |
32 | List<RelationshipType> relType = null; |
33 | 33 | ||
34 | try
|
34 | try
|
Line 98... | Line 98... | ||
98 | 98 | ||
99 | /**
|
99 | /**
|
100 | * Used to get a relationship type by ID
|
100 | * Used to get a relationship type by ID
|
101 | */
|
101 | */
|
102 | @Override |
102 | @Override |
103 | public RelationshipType listRelTypeById(int relTypeID) |
103 | public RelationshipType getRelTypeById(int relTypeID) |
104 | {
|
104 | {
|
105 | RelationshipType relType = null; |
105 | RelationshipType relType = null; |
106 | try
|
106 | try
|
107 | {
|
107 | {
|
108 | relType = (RelationshipType) session.get(RelationshipType.class, |
108 | relType = (RelationshipType) session.get(RelationshipType.class, |