package is.idega.idegaweb.member.isi.block.reports.data; public class WorkReportAccountKeyHomeImpl extends com.idega.data.IDOFactory implements WorkReportAccountKeyHome { protected Class getEntityInterfaceClass(){ return WorkReportAccountKey.class; } public WorkReportAccountKey create() throws javax.ejb.CreateException{ return (WorkReportAccountKey) super.createIDO(); } public WorkReportAccountKey findAccountKeyByName(java.lang.String p0)throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); Object pk = ((WorkReportAccountKeyBMPBean)entity).ejbFindAccountKeyByName(p0); this.idoCheckInPooledEntity(entity); return this.findByPrimaryKey(pk); } public WorkReportAccountKey findAccountKeyByNumber(java.lang.String p0)throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); Object pk = ((WorkReportAccountKeyBMPBean)entity).ejbFindAccountKeyByNumber(p0); this.idoCheckInPooledEntity(entity); return this.findByPrimaryKey(pk); } public java.util.Collection findAssetAccountKeys()throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); java.util.Collection ids = ((WorkReportAccountKeyBMPBean)entity).ejbFindAssetAccountKeys(); this.idoCheckInPooledEntity(entity); return this.getEntityCollectionForPrimaryKeys(ids); } public java.util.Collection findAssetAccountKeysWithoutSubKeys()throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); java.util.Collection ids = ((WorkReportAccountKeyBMPBean)entity).ejbFindAssetAccountKeysWithoutSubKeys(); this.idoCheckInPooledEntity(entity); return this.getEntityCollectionForPrimaryKeys(ids); } public java.util.Collection findDeptAccountKeys()throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); java.util.Collection ids = ((WorkReportAccountKeyBMPBean)entity).ejbFindDeptAccountKeys(); this.idoCheckInPooledEntity(entity); return this.getEntityCollectionForPrimaryKeys(ids); } public java.util.Collection findDeptAccountKeysWithoutSubKeys()throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); java.util.Collection ids = ((WorkReportAccountKeyBMPBean)entity).ejbFindDeptAccountKeysWithoutSubKeys(); this.idoCheckInPooledEntity(entity); return this.getEntityCollectionForPrimaryKeys(ids); } public java.util.Collection findExpensesAccountKeys()throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); java.util.Collection ids = ((WorkReportAccountKeyBMPBean)entity).ejbFindExpensesAccountKeys(); this.idoCheckInPooledEntity(entity); return this.getEntityCollectionForPrimaryKeys(ids); } public java.util.Collection findExpensesAccountKeysWithoutSubKeys()throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); java.util.Collection ids = ((WorkReportAccountKeyBMPBean)entity).ejbFindExpensesAccountKeysWithoutSubKeys(); this.idoCheckInPooledEntity(entity); return this.getEntityCollectionForPrimaryKeys(ids); } public java.util.Collection findIncomeAccountKeys()throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); java.util.Collection ids = ((WorkReportAccountKeyBMPBean)entity).ejbFindIncomeAccountKeys(); this.idoCheckInPooledEntity(entity); return this.getEntityCollectionForPrimaryKeys(ids); } public java.util.Collection findIncomeAccountKeysWithoutSubKeys()throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); java.util.Collection ids = ((WorkReportAccountKeyBMPBean)entity).ejbFindIncomeAccountKeysWithoutSubKeys(); this.idoCheckInPooledEntity(entity); return this.getEntityCollectionForPrimaryKeys(ids); } public WorkReportAccountKey findByPrimaryKey(Object pk) throws javax.ejb.FinderException{ return (WorkReportAccountKey) super.findByPrimaryKeyIDO(pk); } public java.lang.String getCreditTypeString(){ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); java.lang.String theReturn = ((WorkReportAccountKeyBMPBean)entity).ejbHomeGetCreditTypeString(); this.idoCheckInPooledEntity(entity); return theReturn; } public java.lang.String getDebetTypeString(){ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); java.lang.String theReturn = ((WorkReportAccountKeyBMPBean)entity).ejbHomeGetDebetTypeString(); this.idoCheckInPooledEntity(entity); return theReturn; } }