|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
org.kuali.kfs.coa.dataaccess.impl.AccountDelegateDaoOjb
public class AccountDelegateDaoOjb
This class is the OJB implementation of the AccountDelegateDao.
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
AccountDelegateDaoOjb()
|
Method Summary | |
---|---|
Iterator<AccountDelegate> |
getAccountDelegationsForPerson(String principalId,
boolean primary)
Retrieves all active account delegates which reference the given user |
org.kuali.rice.kns.service.DateTimeService |
getDateTimeService()
Gets the dateTimeService attribute. |
String |
getLockingDocumentNumber(String lockingRepresentation,
String documentNumber)
Retrieves the Document Number of any AccountDelegate locking this record. |
boolean |
isPrincipalInAnyWayShapeOrFormPrimaryAccountDelegate(String principalId)
Determines if the given principal is an active delegate for any non-closed account |
boolean |
isPrincipalInAnyWayShapeOrFormSecondaryAccountDelegate(String principalId)
Determines if the given principal is an active delegate for any non-closed account |
protected boolean |
queryPrincipalIsAccountDelegate(String principalId,
boolean primary)
Determines if any non-closed accounts exist where the principal id is an account delegate |
void |
setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
Sets the dateTimeService attribute value. |
Methods inherited from class org.kuali.rice.kns.dao.impl.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 |
Constructor Detail |
---|
public AccountDelegateDaoOjb()
Method Detail |
---|
public String getLockingDocumentNumber(String lockingRepresentation, String documentNumber)
AccountDelegateDao
getLockingDocumentNumber
in interface AccountDelegateDao
lockingRepresentation
- String representation of the MaintanceLock to check against.documentNumber
- the document number being checked against.
AccountDelegateDao.getLockingDocumentNumber(java.lang.String, java.lang.String)
public Iterator<AccountDelegate> getAccountDelegationsForPerson(String principalId, boolean primary)
AccountDelegateDao
getAccountDelegationsForPerson
in interface AccountDelegateDao
principalId
- a principal ID of the person to find account delegations forprimary
- whether the account delegates returned should be primary or not
org.kuali.kfs.coa.dataaccess.AccountDelegateDao#getAccountDelegationsForPerson(java.lang.String)
public boolean isPrincipalInAnyWayShapeOrFormPrimaryAccountDelegate(String principalId)
AccountDelegateDao
isPrincipalInAnyWayShapeOrFormPrimaryAccountDelegate
in interface AccountDelegateDao
principalId
- the principal ID to check primary account delegations for
AccountDelegateDao.isPrincipalInAnyWayShapeOrFormPrimaryAccountDelegate(java.lang.String)
public boolean isPrincipalInAnyWayShapeOrFormSecondaryAccountDelegate(String principalId)
AccountDelegateDao
isPrincipalInAnyWayShapeOrFormSecondaryAccountDelegate
in interface AccountDelegateDao
principalId
- the principal ID to check secondary account delegations for
AccountDelegateDao.isPrincipalInAnyWayShapeOrFormSecondaryAccountDelegate(java.lang.String)
protected boolean queryPrincipalIsAccountDelegate(String principalId, boolean primary)
principalId
- the principal id to checkprimary
- whether to check primary delegations (if true) or secondary delegations (if false)
public org.kuali.rice.kns.service.DateTimeService getDateTimeService()
public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
dateTimeService
- The dateTimeService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |