org.kuali.hr.time.roles.dao
Class TkRoleDaoSpringOjbImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
org.kuali.hr.time.roles.dao.TkRoleDaoSpringOjbImpl
- All Implemented Interfaces:
- TkRoleDao, org.kuali.rice.core.framework.persistence.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean
public class TkRoleDaoSpringOjbImpl
- extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
- implements TkRoleDao
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
List<TkRole> |
findAllRoles(String principalId,
Date asOfDate)
|
List<TkRole> |
findInActiveRoles(String principalId,
Date asOfDate,
String roleName,
Long workArea,
String department,
String chart)
Returns a list of inactive roles matching the specified criteria. |
List<TkRole> |
findPositionRoles(String positionNumber,
Date asOfDate,
String roleName,
Long workArea,
String department,
String chart)
|
List<TkRole> |
findRoles(String principalId,
Date asOfDate,
String roleName,
Long workArea,
String department,
String chart)
Returns a list of roles matching the specified criteria. |
TkRole |
getInactiveRolesByPosition(String positionNumber)
|
List<TkRole> |
getPositionRolesForWorkArea(Long workArea,
Date asOfDate)
|
TkRole |
getRole(String tkRoleId)
|
TkRole |
getRolesByPosition(String positionNumber)
|
void |
saveOrUpdateRole(TkRole role)
A role to update/save |
void |
saveOrUpdateRoles(List<TkRole> roles)
A list of roles to save. |
Methods inherited from class org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb |
getDbPlatform, setDbPlatform |
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport |
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TkRoleDaoSpringOjbImpl
public TkRoleDaoSpringOjbImpl()
findAllRoles
public List<TkRole> findAllRoles(String principalId,
Date asOfDate)
findPositionRoles
public List<TkRole> findPositionRoles(String positionNumber,
Date asOfDate,
String roleName,
Long workArea,
String department,
String chart)
- Specified by:
findPositionRoles
in interface TkRoleDao
- Returns:
findRoles
public List<TkRole> findRoles(String principalId,
Date asOfDate,
String roleName,
Long workArea,
String department,
String chart)
- Description copied from interface:
TkRoleDao
- Returns a list of roles matching the specified criteria. Nulls are valid
as parameters, see parameter comments.
- Specified by:
findRoles
in interface TkRoleDao
- Parameters:
principalId
- (optional - null is allowed)asOfDate
- The effective date (required)roleName
- (optional - null is allowed)workArea
- (optional - null is allowed)department
- (optional - null is allowed)chart
- (optional - null is allowed)
- Returns:
- A List of roles matching the specified parameters.
findInActiveRoles
public List<TkRole> findInActiveRoles(String principalId,
Date asOfDate,
String roleName,
Long workArea,
String department,
String chart)
- Description copied from interface:
TkRoleDao
- Returns a list of inactive roles matching the specified criteria. Nulls are valid
as parameters, see parameter comments.
- Specified by:
findInActiveRoles
in interface TkRoleDao
- Parameters:
principalId
- (optional - null is allowed)asOfDate
- The effective date (required)roleName
- (optional - null is allowed)workArea
- (optional - null is allowed)department
- (optional - null is allowed)chart
- (optional - null is allowed)
- Returns:
- A List of roles matching the specified parameters.
saveOrUpdateRole
public void saveOrUpdateRole(TkRole role)
- Description copied from interface:
TkRoleDao
- A role to update/save
- Specified by:
saveOrUpdateRole
in interface TkRoleDao
saveOrUpdateRoles
public void saveOrUpdateRoles(List<TkRole> roles)
- Description copied from interface:
TkRoleDao
- A list of roles to save.
- Specified by:
saveOrUpdateRoles
in interface TkRoleDao
getRole
public TkRole getRole(String tkRoleId)
- Specified by:
getRole
in interface TkRoleDao
getRolesByPosition
public TkRole getRolesByPosition(String positionNumber)
- Specified by:
getRolesByPosition
in interface TkRoleDao
getInactiveRolesByPosition
public TkRole getInactiveRolesByPosition(String positionNumber)
- Specified by:
getInactiveRolesByPosition
in interface TkRoleDao
getPositionRolesForWorkArea
public List<TkRole> getPositionRolesForWorkArea(Long workArea,
Date asOfDate)
- Specified by:
getPositionRolesForWorkArea
in interface TkRoleDao
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.