public class HibLookupTypeDaoImpl extends com.jamasoftware.contour.data.util.hibernate4.HibernateDaoSupport implements LookupTypeDao
Constructor and Description |
---|
HibLookupTypeDaoImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteLookupType(LookupType lookupType) |
LookupType |
getLookupType(Integer lookupTypeId) |
LookupType |
getLookupTypeByCategory(Integer category,
Integer scope,
Integer refId) |
List<LookupType> |
getLookupTypeList(Integer scope,
Integer refId)
Gets the list of lookup types for certain scope.
|
void |
saveLookupType(LookupType lookupType) |
public List<LookupType> getLookupTypeList(Integer scope, Integer refId)
LookupTypeDao
getLookupTypeList
in interface LookupTypeDao
scope
- either "organization" or "project"refId
- ID of project or organizationpublic LookupType getLookupType(Integer lookupTypeId)
getLookupType
in interface LookupTypeDao
public LookupType getLookupTypeByCategory(Integer category, Integer scope, Integer refId)
getLookupTypeByCategory
in interface LookupTypeDao
public void saveLookupType(LookupType lookupType)
saveLookupType
in interface LookupTypeDao
public void deleteLookupType(LookupType lookupType)
deleteLookupType
in interface LookupTypeDao
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.