...
Business objects are java classes that implement the org.kuali.ricekfs.kns.bo.BusinessObject
interface. However, a majority of business objects extend org.kuali.ricekfs.kns.bo.PersistableBusinessObjectBase
, which implements org.kuali.ricekfs.kns.bo.PersistableBusinessObject
and org.kuali.ricekfs.kns.bo.BusinessObject
.
Tip |
---|
BOs extending |
...
Objects that extend org.kuali.ricekfs.kns.bo.BusinessObjectBase
must also implement the toStringMapper
method, which returns a map of the BO's fields to be used in toString
.
Tip |
---|
The reader should consult the |
...
Code Block | ||
---|---|---|
| ||
package org.kuali.kfs.coa.dataaccess.jdbc; import org.kuali.kfs.coa.dataaccess.AccountDao; import org.kuali.ricekfs.kns.dao.jdbc.PlatformAwareDaoBaseJdbc; public class AccountDaoJdbc extends PlatformAwareDaoBaseJdbc implements AccountDao{ public void updateAllAccountFiscalOfficers(String userId} { getSimpleJdbcTemplate().update("update CA_ACCOUNT_T set ACCT_FSC_OFC_UID = ?", userId); } } |
...