public class HibPerspectiveDaoImpl extends com.jamasoftware.contour.data.util.hibernate4.HibernateDaoSupport implements PerspectiveDao
Constructor and Description |
---|
HibPerspectiveDaoImpl() |
public List<Perspective> getPerspectiveList(int scope, int refId, int perspectiveTypeId, boolean activeOnly)
getPerspectiveList
in interface PerspectiveDao
public PerspectiveConfig getPerspectiveConfig(Integer perspectiveId, Integer projectId, Integer scope, Integer refId, boolean matchWildcards)
getPerspectiveConfig
in interface PerspectiveDao
public List<Integer> getPerspectiveConfigsForProjects(List<Integer> projectIds)
getPerspectiveConfigsForProjects
in interface PerspectiveDao
public void savePerspectiveConfig(PerspectiveConfig perspConfig)
savePerspectiveConfig
in interface PerspectiveDao
public void deletePerspectiveConfig(PerspectiveConfig perspConfig)
deletePerspectiveConfig
in interface PerspectiveDao
public List<Perspective_View> getPerspectiveViewList(int perspectiveId, boolean activeOnly)
getPerspectiveViewList
in interface PerspectiveDao
public List<Perspective_Role> getPerspectiveRoleList(int perspectiveId)
getPerspectiveRoleList
in interface PerspectiveDao
public List<Perspective_Role> getDefaultPerspectiveList()
public List<Perspective_Role> getPerspectiveListForRoles(Set<Role> roles)
getPerspectiveListForRoles
in interface PerspectiveDao
public Perspective getPerspective(int id)
getPerspective
in interface PerspectiveDao
public void savePerspective(Perspective perspective)
savePerspective
in interface PerspectiveDao
public void deleteViewListForPerspective(int perspectiveId)
deleteViewListForPerspective
in interface PerspectiveDao
public void savePerspectiveViewList(List<Perspective_View> perspViewList)
savePerspectiveViewList
in interface PerspectiveDao
public void deleteRoleListForPerspective(int perspectiveId, Integer scope, Integer refId)
deleteRoleListForPerspective
in interface PerspectiveDao
public void savePerspectiveRoleList(List<Perspective_Role> perspRoleList, Integer scope, Integer refId)
savePerspectiveRoleList
in interface PerspectiveDao
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.